From 98b07a4a7fa1baff52800f70066f311768904430 Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 8 Oct 2007 23:46:09 +0000 Subject: - some code refactoring before upgrade to utf (only cosmetic at this point...) git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee --- about.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'about.php') diff --git a/about.php b/about.php index 5ac379ce5..7b55c3354 100644 --- a/about.php +++ b/about.php @@ -57,7 +57,6 @@ include(PHPWG_ROOT_PATH.'include/page_header.php'); $template->set_filenames( array( 'about'=>'about.tpl', - 'about_content' => get_language_filepath('about.html') ) ); if ( isset($lang['Theme: '.$user['theme']]) ) @@ -75,8 +74,8 @@ $template->assign_vars( ) ); -$template->assign_var_from_handle('ABOUT_MESSAGE', 'about_content'); - +$template->assign_var('ABOUT_MESSAGE', load_language('about.html','','',true) ); + $template->parse('about'); include(PHPWG_ROOT_PATH.'include/page_tail.php'); ?> -- cgit v1.2.3