bef4b3e3aa
Creation of an unique include file (common.php) Creation of an unique define file (include/constants.php) Modification of the installation procedure git-svn-id: http://piwigo.org/svn/trunk@345 68402e56-0260-453c-a942-63ccdbb3a9ee
19 lines
No EOL
613 B
PHP
19 lines
No EOL
613 B
PHP
<?php
|
|
$handle = $vtp->Open( './template/'.$user['template'].'/footer.vtp' );
|
|
|
|
//------------------------------------------------------------- generation time
|
|
$time = get_elapsed_time( $t2, get_moment() );
|
|
$vtp->setGlobalVar( $handle, 'time', $time );
|
|
|
|
$vtp->setGlobalVar( $handle, 'generation_time', $lang['generation_time'] );
|
|
$vtp->setGlobalVar( $handle, 'version', $conf['version'] );
|
|
$vtp->setGlobalVar( $handle, 'site_url', $conf['site_url'] );
|
|
$vtp->setVarF( $handle, 'footer', './template/'.$user['template'].'/footer.htm' );
|
|
|
|
//
|
|
// Generate the page
|
|
//
|
|
|
|
$code = $vtp->Display( $handle, 0 );
|
|
echo $code;
|
|
?>
|