From 011d68c4d63f5cab39862f05ff1ae9b799e11df3 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Thu, 5 Aug 2004 17:37:59 +0000 Subject: refactoring git-svn-id: http://piwigo.org/svn/trunk@469 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/page_tail.php | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'include') 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()); } // -- cgit v1.2.3