From bbacac635c296844a1012177f1830b3e1d32ccd5 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Wed, 31 Mar 2004 21:19:36 +0000 Subject: bug 17 : comment delete picture not displayed in picture.php analysis : user_template template var is not valued in picture.php git-svn-id: http://piwigo.org/svn/branches/release-1_3@408 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 1 + 1 file changed, 1 insertion(+) diff --git a/picture.php b/picture.php index 838adff1e..224aaf1d2 100644 --- a/picture.php +++ b/picture.php @@ -219,6 +219,7 @@ include('include/page_header.php'); $handle = $vtp->Open( './template/'.$user['template'].'/picture.vtp' ); initialize_template(); +$vtp->setGlobalVar( $handle, 'user_template', $user['template'] ); $tpl = array( 'back','submit','comments_title','comments_del','delete', 'comments_add','author','slideshow','slideshow_stop', -- cgit v1.2.3