diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-07-21 20:51:47 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-07-21 20:51:47 +0000 |
commit | b125c3b0863d61de32bb02a5beaa26fe0ab0d54a (patch) | |
tree | 8f00a6367ab46af4bc392b8ad9db5d78608fbff6 /admin/comments.php | |
parent | e9b4e0e0de65caebd47b5e6df6d252f9d1b85932 (diff) |
['template'] as user_template for displaying pictures in the template
git-svn-id: http://piwigo.org/svn/trunk@29 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/comments.php')
-rw-r--r-- | admin/comments.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/comments.php b/admin/comments.php index fdf2b3823..d6bd55379 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -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 ); |