aboutsummaryrefslogtreecommitdiffstats
path: root/profile.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-05-13 10:02:06 +0000
committerz0rglub <z0rglub@piwigo.org>2003-05-13 10:02:06 +0000
commitb7b705f2685da04caa0be91debc2c66d279fddf5 (patch)
treee85fda5916493496acc30c396352507671d40632 /profile.php
parent0cc55ec468a8535c7bde3505a6449f07df7de654 (diff)
2003.05.13 user_add and user_modify added
git-svn-id: http://piwigo.org/svn/trunk@9 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'profile.php')
-rw-r--r--profile.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/profile.php b/profile.php
index 1f3d63828..b72e6db6a 100644
--- a/profile.php
+++ b/profile.php
@@ -152,12 +152,8 @@ $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'] );
-// user
-$vtp->setGlobalVar( $handle, 'page_style', $user['style'] );
-// structure
-$vtp->setGlobalVar( $handle, 'frame_start', get_frame_start() );
-$vtp->setGlobalVar( $handle, 'frame_begin', get_frame_begin() );
-$vtp->setGlobalVar( $handle, 'frame_end', get_frame_end() );
+
+initialize_template();
//----------------------------------------------------------------- form action
$url = './profile.php?cat='.$page['cat'].'&amp;expand='.$page['expand'];
if ( $page['cat'] == 'search' )
@@ -328,7 +324,7 @@ if ( in_array( 'maxheight', $infos ) )
if ( in_array( 'mail_address', $infos ) )
{
$vtp->addSession( $handle, 'line' );
- $vtp->setVar( $handle, 'line.name', $lang['reg_mail_address'] );
+ $vtp->setVar( $handle, 'line.name', $lang['mail_address'] );
$vtp->addSession( $handle, 'text' );
$vtp->setVar( $handle, 'text.name', 'mail_address' );
$vtp->setVar( $handle, 'text.value', $user['mail_address'] );