From 782a75bb8f5b36b3a4d462945cd0bdac353ba1f0 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 2 Dec 2006 16:46:15 +0000 Subject: improve page header : slightly prettier title and first implementation of meta tags and rel links (see the wiki specs) some code improvements are still need. git-svn-id: http://piwigo.org/svn/trunk@1627 68402e56-0260-453c-a942-63ccdbb3a9ee --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') 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'); ?> -- cgit v1.2.3