aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-03-31 21:19:36 +0000
committerz0rglub <z0rglub@piwigo.org>2004-03-31 21:19:36 +0000
commitbbacac635c296844a1012177f1830b3e1d32ccd5 (patch)
tree3d2e56533806a6e11cc3323e2548c36919810028
parenta16ebeda8565c71a7f7d894900e61d19941d9d79 (diff)
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
-rw-r--r--picture.php1
1 files changed, 1 insertions, 0 deletions
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',