aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-10-04 16:08:53 +0000
committerz0rglub <z0rglub@piwigo.org>2003-10-04 16:08:53 +0000
commit151dc433708d67dad6e8e4b78a30dd52642394af (patch)
treed1db5e513af93d4cab01b7a271b942d93acd3dba /category.php
parent0a79e271552854aa920384fe45eec2359b95b8df (diff)
Adding a page for non admin to see last users comments
git-svn-id: http://piwigo.org/svn/trunk@166 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'category.php')
-rw-r--r--category.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/category.php b/category.php
index 8df696134..686a7508b 100644
--- a/category.php
+++ b/category.php
@@ -187,6 +187,12 @@ $vtp->setVar( $handle, 'summary.url', add_session_id( './search.php' ) );
$vtp->setVar( $handle, 'summary.title', $lang['hint_search'] );
$vtp->setVar( $handle, 'summary.name', replace_space( $lang['search'] ) );
$vtp->closeSession( $handle, 'summary' );
+// comments link
+$vtp->addSession( $handle, 'summary' );
+$vtp->setVar( $handle, 'summary.url', add_session_id( './comments.php' ) );
+$vtp->setVar( $handle, 'summary.title', $lang['hint_comments'] );
+$vtp->setVar( $handle, 'summary.name', replace_space( $lang['comments'] ) );
+$vtp->closeSession( $handle, 'summary' );
// about link
$vtp->addSession( $handle, 'summary' );
$vtp->setVar( $handle, 'summary.url', './about.php?'.