aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-12-02 16:46:15 +0000
committerchrisaga <chrisaga@piwigo.org>2006-12-02 16:46:15 +0000
commit782a75bb8f5b36b3a4d462945cd0bdac353ba1f0 (patch)
tree15b1b4ad6099d61683bfd57ea1dc3798e3a53764 /index.php
parent9ce5c07734b5f3219c0a50b5cba67eb2d3021716 (diff)
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
Diffstat (limited to '')
-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');
?>