aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 30e8be9d9..050fdf40e 100644
--- a/index.php
+++ b/index.php
@@ -97,7 +97,6 @@ if (isset($_GET['caddie']))
//
$title = $page['title'];
$page['body_id'] = 'theCategoryPage';
-include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames( array('index'=>'index.tpl') );
//-------------------------------------------------------------- category title
@@ -286,11 +285,13 @@ if (isset($page['comment']) and $page['comment'] != '')
'COMMENTS' => $page['comment']
)
);
+ $header_infos['COMMENT'] = strip_tags($page['comment']);
}
//------------------------------------------------------------ log informations
pwg_log('category', $page['title']);
trigger_action('loc_end_index');
+include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->parse('index');
include(PHPWG_ROOT_PATH.'include/page_tail.php');
?>