From fdfe41e3433d420bbfe643ada3e98e1d081fd78d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 7 May 2011 15:55:10 +0000 Subject: merge spread_menus to the core git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee --- comments.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'comments.php') diff --git a/comments.php b/comments.php index 3fbeef8bb..40a3f7338 100644 --- a/comments.php +++ b/comments.php @@ -527,6 +527,14 @@ SELECT c.id, name, permalink, uppercats, com.id as comment_id $template->append('comments', $tpl_comment); } } + +// include menubar +$themeconf = $template->get_template_vars('themeconf'); +if (!isset($themeconf['Exclude']) OR !in_array('theCommentsPage', $themeconf['Exclude'])) +{ + include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); +} + // +-----------------------------------------------------------------------+ // | html code display | // +-----------------------------------------------------------------------+ -- cgit v1.2.3