Changeset 1627
- Timestamp:
- Dec 2, 2006, 5:46:15 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/page_header.php
r1590 r1627 56 56 )); 57 57 58 // picture header infos 59 if (isset($header_infos)) 60 { 61 $template->assign_block_vars( 'header_meta', $header_infos); 62 } 58 63 // refresh 59 64 if ( isset( $refresh ) and intval($refresh) >= 0 -
trunk/index.php
r1624 r1627 98 98 $title = $page['title']; 99 99 $page['body_id'] = 'theCategoryPage'; 100 include(PHPWG_ROOT_PATH.'include/page_header.php');101 100 102 101 $template->set_filenames( array('index'=>'index.tpl') ); … … 287 286 ) 288 287 ); 288 $header_infos['COMMENT'] = strip_tags($page['comment']); 289 289 } 290 290 //------------------------------------------------------------ log informations … … 292 292 293 293 trigger_action('loc_end_index'); 294 include(PHPWG_ROOT_PATH.'include/page_header.php'); 294 295 $template->parse('index'); 295 296 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/picture.php
r1612 r1627 458 458 ); 459 459 } 460 include(PHPWG_ROOT_PATH.'include/page_header.php');461 460 $template->set_filenames(array('picture'=>'picture.tpl')); 462 461 … … 591 590 592 591 //--------------------------------------------------------- picture information 592 $header_infos = array(); //for html header use 593 593 // legend 594 594 if (isset($picture['current']['comment']) … … 600 600 'COMMENT_IMG' => nl2br($picture['current']['comment']) 601 601 )); 602 $header_infos['COMMENT'] = strip_tags($picture['current']['comment']); 602 603 } 603 604 … … 616 617 // .'">'.$picture['current']['author'].'</a>'; 617 618 $picture['current']['author']; 619 $header_infos['INFO_AUTHOR'] = $picture['current']['author']; 618 620 } 619 621 else … … 703 705 { 704 706 $tags = array(); 707 $tag_names = array(); 705 708 706 709 while ($row = mysql_fetch_array($result)) … … 721 724 .'">'.$row['name'].'</a>' 722 725 ); 726 array_push( $tag_names, $row['name'] ); 723 727 } 724 728 725 729 $infos['INFO_TAGS'] = implode(', ', $tags); 730 $header_infos['INFO_TAGS'] = implode(', ', $tag_names); 726 731 } 727 732 else … … 774 779 pwg_log('picture', $page['title'], $picture['current']['file']); 775 780 781 include(PHPWG_ROOT_PATH.'include/page_header.php'); 776 782 $template->parse('picture'); 777 783 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/search.php
r1314 r1627 174 174 $title= $lang['search_title']; 175 175 $page['body_id'] = 'theSearchPage'; 176 include(PHPWG_ROOT_PATH.'include/page_header.php');177 176 178 177 $template->set_filenames( array('search'=>'search.tpl') ); … … 238 237 //------------------------------------------------------------ log informations 239 238 pwg_log( 'search', $title ); 239 include(PHPWG_ROOT_PATH.'include/page_header.php'); 240 240 $template->parse('search'); 241 241 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/template/yoga/header.tpl
r1590 r1627 4 4 <head> 5 5 <meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}"> 6 <meta name="robots" content="index, follow"> 7 <meta name="generator" content="PhpWebGallery (aka PWG), see www.phpwebgallery.net" /> 8 <!-- BEGIN header_meta --> 9 <meta name="author" content="{header_meta.INFO_AUTHOR}"> 10 <meta name="keywords" content="{header_meta.INFO_TAGS}"> 11 <meta name="description" content="{header_meta.COMMENT}"> 12 <!-- END header_meta --> 13 <title>{GALLERY_TITLE} :: {PAGE_TITLE}</title> 6 14 <link rel="shortcut icon" type="image/x-icon" href="{pwg_root}template-common/favicon.ico"> 15 <link rel="start" title="{lang:home}" href="{U_HOME}" > 16 <link rel="search" title="{lang:search}" href="{pwg_root}search.php" > 17 <!-- BEGIN first --> 18 <link rel="first" title="{lang:first_page}" href="{first.U_IMG}" > 19 <link rel="up" title="{lang:thumbails}" href="{U_UP}" > 20 <!-- END first --> 21 <!-- BEGIN previous --> 22 <link rel="prev" title="{lang:previous_page}" href="{previous.U_IMG}" > 23 <!-- END previous --> 24 <!-- BEGIN next --> 25 <link rel="next" title="{lang:next_page}" href="{next.U_IMG}" > 26 <!-- END next --> 27 <!-- BEGIN last --> 28 <link rel="last" title="{lang:last_page}" href="{last.U_IMG}" > 29 <link rel="up" title="{lang:thumbails}" href="{U_UP}" > 30 <!-- END last --> 7 31 <link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/layout.css"> 8 32 <!-- the next css is used to fix khtml (Konqueror/Safari) issue … … 22 46 <meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}"> 23 47 <!-- END refresh --> 24 <title>{GALLERY_TITLE}:{PAGE_TITLE}</title>25 48 <script type="text/javascript" src="{pwg_root}template-common/scripts.js"></script> 26 49 <!--[if lt IE 7]>
Note: See TracChangeset
for help on using the changeset viewer.