aboutsummaryrefslogtreecommitdiffstats
path: root/about.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-02-07 11:50:26 +0000
committergweltas <gweltas@piwigo.org>2004-02-07 11:50:26 +0000
commit65753539220ba870b738866c425c89d73753c727 (patch)
tree92e77bf4da8946d051f8d46176fbe1ead900c0d8 /about.php
parent1d9b840cf8421ad06d81035f209149eceb1b357f (diff)
Template modification
Split of the french language file git-svn-id: http://piwigo.org/svn/trunk@351 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'about.php')
-rw-r--r--about.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/about.php b/about.php
index 1ed3ae960..f9743c25d 100644
--- a/about.php
+++ b/about.php
@@ -27,17 +27,17 @@ include_once( $phpwg_root_path.'common.php' );
$title= $lang['about_page_title'];
include('include/page_header.php');
-$handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' );
+$template->set_filenames(array('about'=>'about.tpl'));
initialize_template();
-$tpl = array('about_title','about_message','about_return');
-templatize_array( $tpl, 'lang', $handle );
-$vtp->setVar( $handle, 'user_template', $user['template'] );
+$template->assign_vars(array(
+ 'PAGE_TITLE' => $title,
+ 'L_ABOUT' => $lang['about_message'],
+ 'L_RETURN' => $lang['about_return'],
+ 'U_RETURN' => add_session_id('./category.php?'.$_SERVER['QUERY_STRING'])
+ )
+ );
-$url = './category.php?'.$_SERVER['QUERY_STRING'];
-$vtp->setVar( $handle, 'back_url', add_session_id( $url ) );
-//----------------------------------------------------------- html code display
-$code = $vtp->Display( $handle, 0 );
-echo $code;
+$template->pparse('about');
include('include/page_tail.php');
?> \ No newline at end of file