Last change
on this file since 290 was
290,
checked in by gweltas, 21 years ago
|
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.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
850 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | // |
---|
4 | // Start output of page |
---|
5 | // |
---|
6 | $vtp = new VTemplate; |
---|
7 | $handle = $vtp->Open( './template/'.$user['template'].'/header.vtp' ); |
---|
8 | $vtp->setGlobalVar( $handle, 'charset', $lang['charset'] ); |
---|
9 | $vtp->setGlobalVar( $handle, 'style', './template/'.$user['template'].'/'.$user['template'].'.css'); |
---|
10 | |
---|
11 | // refresh |
---|
12 | if ( isset( $refresh ) && $refresh >0 && isset($url_link)) |
---|
13 | { |
---|
14 | $vtp->addSession( $handle, 'refresh' ); |
---|
15 | $vtp->setVar( $handle, 'refresh.time', $refresh ); |
---|
16 | $url = $url_link.'&slideshow='.$refresh; |
---|
17 | $vtp->setVar( $handle, 'refresh.url', add_session_id( $url ) ); |
---|
18 | $vtp->closeSession( $handle, 'refresh' ); |
---|
19 | } |
---|
20 | |
---|
21 | $vtp->setGlobalVar( $handle, 'title', $title ); |
---|
22 | $vtp->setVarF( $handle, 'header', './template/'.$user['template'].'/header.htm' ); |
---|
23 | |
---|
24 | // |
---|
25 | // Generate the page |
---|
26 | // |
---|
27 | |
---|
28 | $code = $vtp->Display( $handle, 0 ); |
---|
29 | echo $code; |
---|
30 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.