diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-05-18 21:42:32 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-05-18 21:42:32 +0000 |
commit | aac81a8a382f7ec527e22d6dee959400d77e1a21 (patch) | |
tree | b51b5180e85326af0cfebf88bcad005ba93d5118 /profile.php | |
parent | 2c2af65b6a95e20ba9ca49139683d2d150edb1b6 (diff) |
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@14 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | profile.php | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/profile.php b/profile.php index 654497bce..c3ce554ca 100644 --- a/profile.php +++ b/profile.php @@ -1,9 +1,9 @@ <?php /*************************************************************************** - * profile.php is a part of PhpWebGallery * + * profile.php * * ------------------- * - * last update : Tuesday, July 16, 2002 * - * email : pierrick@z0rglub.com * + * application : PhpWebGallery 1.3 * + * author : Pierrick LE GALL <pierrick@z0rglub.com> * * * ***************************************************************************/ @@ -144,16 +144,10 @@ if ( isset( $_POST['submit'] ) ) //----------------------------------------------------- template initialization $vtp = new VTemplate; $handle = $vtp->Open( './template/'.$user['template'].'/profile.vtp' ); -// language -$vtp->setGlobalVar( $handle, 'customize_page_title', - $lang['customize_page_title'] ); -$vtp->setGlobalVar( $handle, 'customize_title', $lang['customize_title'] ); -$vtp->setGlobalVar( $handle, 'password', $lang['password'] ); -$vtp->setGlobalVar( $handle, 'new', $lang['new'] ); -$vtp->setGlobalVar( $handle, 'reg_confirm', $lang['reg_confirm'] ); -$vtp->setGlobalVar( $handle, 'submit', $lang['submit'] ); - initialize_template(); +$tpl = array( 'customize_page_title','customize_title','password','new', + 'reg_confirm','submit' ); +templatize_array( $tpl, 'lang', $handle ); //----------------------------------------------------------------- form action $url = './profile.php?cat='.$page['cat'].'&expand='.$page['expand']; if ( $page['cat'] == 'search' ) |