mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 17:53:08 +02:00
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:
@@ -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');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user