Changeset 1629
- Timestamp:
- Dec 2, 2006, 7:28:12 PM (17 years ago)
- Location:
- branches/branch-1_6-hk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6-hk/include/page_header.php
r1570 r1629 53 53 )); 54 54 55 // picture header infos 56 if (isset($header_infos)) 57 { 58 $template->assign_block_vars( 'header_meta', $header_infos); 59 } 55 60 // refresh 56 61 if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) and isset( $redirect_msg ) ) -
branches/branch-1_6-hk/index.php
r1553 r1629 94 94 $title = $page['title']; 95 95 $page['body_id'] = 'theCategoryPage'; 96 include(PHPWG_ROOT_PATH.'include/page_header.php');97 96 98 97 $template->set_filenames( array('index'=>'index.tpl') ); … … 264 263 ); 265 264 } 265 $header_infos['COMMENT'] = strip_tags($page['comment']); 266 266 } 267 267 //------------------------------------------------------------ log informations 268 268 pwg_log('category', $page['title']); 269 269 270 include(PHPWG_ROOT_PATH.'include/page_header.php'); 270 271 $template->parse('index'); 271 272 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
branches/branch-1_6-hk/picture.php
r1504 r1629 431 431 } 432 432 433 include(PHPWG_ROOT_PATH.'include/page_header.php');434 433 $template->set_filenames(array('picture'=>'picture.tpl')); 435 434 … … 593 592 594 593 //--------------------------------------------------------- picture information 594 $header_infos = array(); //for html header use 595 595 // legend 596 596 if (isset($picture['current']['comment']) … … 602 602 'COMMENT_IMG' => nl2br($picture['current']['comment']) 603 603 )); 604 $header_infos['COMMENT'] = strip_tags($picture['current']['comment']); 604 605 } 605 606 … … 618 619 // .'">'.$picture['current']['author'].'</a>'; 619 620 $picture['current']['author']; 621 $header_infos['INFO_AUTHOR'] = $picture['current']['author']; 620 622 } 621 623 else … … 705 707 { 706 708 $tags = array(); 709 $tag_names = array(); 707 710 708 711 while ($row = mysql_fetch_array($result)) … … 723 726 .'">'.$row['name'].'</a>' 724 727 ); 728 array_push( $tag_names, $row['name'] ); 725 729 } 726 730 727 731 $infos['INFO_TAGS'] = implode(', ', $tags); 732 $header_infos['INFO_TAGS'] = implode(', ', $tag_names); 728 733 } 729 734 else … … 776 781 pwg_log('picture', $page['title'], $picture['current']['file']); 777 782 783 include(PHPWG_ROOT_PATH.'include/page_header.php'); 778 784 $template->parse('picture'); 779 785 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
branches/branch-1_6-hk/search.php
r1313 r1629 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'); -
branches/branch-1_6-hk/template/yoga/header.tpl
r1492 r1629 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}include/scripts.js"></script> 26 49 <!--[if lt IE 7]>
Note: See TracChangeset
for help on using the changeset viewer.