aboutsummaryrefslogtreecommitdiffstats
path: root/about.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-28 02:41:48 +0000
commitc73923204927f406d492491398980d3aa429c4eb (patch)
tree717f79ecab01b8d97c359c27406be6dd26ff8193 /about.php
parent618158aca4d99fe522b0f54d547442f17a5db148 (diff)
- migrate many templates to smarty
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'about.php')
-rw-r--r--about.php20
1 files changed, 6 insertions, 14 deletions
diff --git a/about.php b/about.php
index 7b55c3354..60897a971 100644
--- a/about.php
+++ b/about.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$
@@ -61,21 +61,13 @@ $template->set_filenames(
);
if ( isset($lang['Theme: '.$user['theme']]) )
{
- $template->assign_block_vars(
- 'theme',
- array(
- 'ABOUT' => l10n('Theme: '.$user['theme']),
- )
- );
+ $template->assign(
+ 'THEME_ABOUT',l10n('Theme: '.$user['theme'])
+ );
}
-$template->assign_vars(
- array(
- 'U_HOME' => make_index_url(),
- )
- );
-$template->assign_var('ABOUT_MESSAGE', load_language('about.html','','',true) );
+$template->assign('ABOUT_MESSAGE', load_language('about.html','','',true) );
-$template->parse('about');
+$template->pparse('about');
include(PHPWG_ROOT_PATH.'include/page_tail.php');
?>