From b125c3b0863d61de32bb02a5beaa26fe0ab0d54a Mon Sep 17 00:00:00 2001 From: z0rglub Date: Mon, 21 Jul 2003 20:51:47 +0000 Subject: ['template'] as user_template for displaying pictures in the template git-svn-id: http://piwigo.org/svn/trunk@29 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/comments.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/comments.php') 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 ); -- cgit v1.2.3