aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_tail.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-29 01:25:13 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-29 01:25:13 +0000
commitba4f23dd830eedad3de915b6443665ebeb29673c (patch)
tree968a466bc1337300140a59ad8f1c70da038b9783 /include/page_tail.php
parent4621be1005ddab4d3a380ab05a124f99f3e36bea (diff)
picture, footer and picture modify template migration
git-svn-id: http://piwigo.org/svn/trunk@2227 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/page_tail.php')
-rw-r--r--include/page_tail.php20
1 files changed, 5 insertions, 15 deletions
diff --git a/include/page_tail.php b/include/page_tail.php
index 57f884338..dcb9155a3 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -2,7 +2,7 @@
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
-// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | file : $Id$
// | last update : $Date$
@@ -31,19 +31,14 @@ $template->assign_vars(
array(
'VERSION' => $conf['show_version'] ? PHPWG_VERSION : '',
'PHPWG_URL' => PHPWG_URL,
-
- 'L_TITLE_MAIL' => urlencode(l10n('title_send_mail')),
));
//--------------------------------------------------------------------- contact
if (!is_a_guest())
{
- $template->assign_block_vars(
- 'contact',
- array(
- 'MAIL' => get_webmaster_mail_address()
- )
+ $template->assign(
+ 'CONTACT_MAIL', get_webmaster_mail_address()
);
}
@@ -71,16 +66,11 @@ if ($conf['show_queries'])
$debug_vars = array_merge($debug_vars, array('QUERIES_LIST' => $debug) );
}
-if ( !empty($debug_vars) )
-{
- $template->assign_block_vars('debug',$debug_vars );
-}
+$template->assign('debug', $debug_vars );
trigger_action('loc_end_page_tail');
//
// Generate the page
//
-$template->parse('tail');
-
-$template->p();
+$template->pparse('tail');
?>