piwigo/include/page_tail.php
gweltas bef4b3e3aa Merge of the 1.3.1 release
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
2004-02-02 00:55:18 +00:00

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;
?>