mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 08:02:59 +02:00
['template'] as user_template for displaying pictures in the template
git-svn-id: http://piwigo.org/svn/trunk@29 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -139,6 +139,7 @@ if ( isset( $_POST['submit'] ) )
|
||||
$sub = $vtp->Open( '../template/'.$user['template'].'/admin/comments.vtp' );
|
||||
$tpl = array( 'stats_last_days','delete','close','submit','open' );
|
||||
templatize_array( $tpl, 'lang', $sub );
|
||||
$vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
|
||||
//--------------------------------------------------- number of days to display
|
||||
if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );
|
||||
else define( MAX_DAYS, 0 );
|
||||
|
||||
Reference in New Issue
Block a user