diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-08-05 17:37:59 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-08-05 17:37:59 +0000 |
commit | 011d68c4d63f5cab39862f05ff1ae9b799e11df3 (patch) | |
tree | cac310dd74ed3c1b96f2fd8c6cb8d0fbbe04f7d1 /include | |
parent | 496c0d3418a0302e4f006c6486829efa29632677 (diff) |
refactoring
git-svn-id: http://piwigo.org/svn/trunk@469 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/page_tail.php | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/include/page_tail.php b/include/page_tail.php index ac4df0a78..bf1c1d0e3 100644 --- a/include/page_tail.php +++ b/include/page_tail.php @@ -30,22 +30,23 @@ $template->set_filenames(array('tail'=>'footer.tpl')); $time = get_elapsed_time( $t2, get_moment() ); -$template->assign_vars(array( - 'TIME' => $time, - 'VERSION' => $conf['version'], - 'WEBMASTER'=>$conf['webmaster'], - 'MAIL'=>$conf['mail_webmaster'], - - 'L_GEN_TIME' => $lang['generation_time'], - 'L_SEND_MAIL' => $lang['send_mail'], - 'L_TITLE_MAIL' => $lang['title_send_mail'], - - 'U_SITE' => add_session_id( $conf['site_url'] ) - )); - +$template->assign_vars( + array( + 'TIME' => $time, + 'VERSION' => $conf['version'], + 'WEBMASTER'=>$conf['webmaster'], + 'MAIL'=>$conf['mail_webmaster'], + + 'L_GEN_TIME' => $lang['generation_time'], + 'L_SEND_MAIL' => $lang['send_mail'], + 'L_TITLE_MAIL' => $lang['title_send_mail'], + + 'U_SITE' => $conf['site_url'] + )); + if (DEBUG) { - $template->assign_block_vars('debug', array()); + $template->assign_block_vars('debug', array()); } // |