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
This commit is contained in:
chrisaga
2006-12-02 16:46:15 +00:00
parent 9ce5c07734
commit 782a75bb8f
5 changed files with 39 additions and 4 deletions
+2 -1
View File
@@ -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');
?>