[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 3 // ---------------------------------------------------------------- 4 // obligate check for phpwcms constants 5 if (!defined('PHPWCMS_ROOT')) { 6 die("You Cannot Access This Script Directly, Have a Nice Day."); 7 } 8 // ---------------------------------------------------------------- 9 10 $my_title = array( 11 12 'cat_name' => 'my default cat name', 13 'page_title' => 'my default page name', 14 'article_title' => 'my default article title' 15 16 ); 17 18 if(!empty($content['struct'][$aktion[0]]['acat_name'])) { 19 $my_title['cat_name'] = $content['struct'][$aktion[0]]['acat_name']; 20 } 21 if(!empty($pagelayout['layout_title'])) { 22 $my_title['page_title'] = $pagelayout['layout_title']; 23 } 24 if(!empty($row["article_title"])) { 25 $my_title['article_title'] = $row["article_title"]; 26 } 27 28 $content["pagetitle"] = implode(' / ', $my_title); 29 30 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |