aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-01-18 02:13:02 +0000
committergweltas <gweltas@piwigo.org>2004-01-18 02:13:02 +0000
commit00ac0f8d3e45c4fa8b25c646c2b162742038849a (patch)
tree94a3447e7ef57e2a37c667248be79e48066435e1 /register.php
parent64e1ebb49cfa1f329bedbe62841c995f335810d3 (diff)
Conformity with the XHTML 1.0 transitional standard
Creation of the following files : - template/default/header.php and template/default/footer.php to ensure a common standard - default.css to be CSS valid Obsolescence of the following files : - template/default/theme/conf.php - template/default/style.inc.php Custom galleries should reflect those changes. git-svn-id: http://piwigo.org/svn/branches/release-1_3@290 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'register.php')
-rw-r--r--register.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/register.php b/register.php
index 0d32ca9db..5d32458b9 100644
--- a/register.php
+++ b/register.php
@@ -42,11 +42,14 @@ if ( isset( $_POST['submit'] ) )
}
}
//----------------------------------------------------- template initialization
-$vtp = new VTemplate;
+//
+// Start output of page
+//
+$title= $lang['register_page_title'];
+include('include/page_header.php');
+
$handle = $vtp->Open( './template/'.$user['template'].'/register.vtp' );
// language
-$vtp->setGlobalVar( $handle, 'register_page_title',
- $lang['register_page_title'] );
$vtp->setGlobalVar( $handle, 'register_title', $lang['register_title'] );
$vtp->setGlobalVar( $handle, 'ident_guest_visit',$lang['ident_guest_visit'] );
$vtp->setGlobalVar( $handle, 'submit', $lang['submit'] );
@@ -102,4 +105,5 @@ $vtp->closeSession( $handle, 'line' );
//----------------------------------------------------------- html code display
$code = $vtp->Display( $handle, 0 );
echo $code;
+include('include/page_tail.php');
?> \ No newline at end of file