Changeset 2137
- Timestamp:
- Oct 16, 2007, 3:45:26 AM (16 years ago)
- Location:
- branches/branch-1_7
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/admin/include/functions_plugins.inc.php
r1900 r2137 4 4 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 5 5 // +-----------------------------------------------------------------------+ 6 // | branch : BSF (Best So Far)7 6 // | file : $Id$ 8 7 // | last update : $Date$ … … 96 95 if (false!==$real_file) 97 96 { 98 $real_plugin_path = r ealpath(PHPWG_PLUGINS_PATH);97 $real_plugin_path = rtrim(realpath(PHPWG_PLUGINS_PATH), '\\/'); 99 98 $file = substr($real_file, strlen($real_plugin_path)+1); 100 99 $file = str_replace('\\', '/', $file);//Windows -
branches/branch-1_7/include/section_init.inc.php
r2118 r2137 521 521 // add meta robots noindex, nofollow to avoid unnecesary robot crawls 522 522 $page['meta_robots']=array(); 523 if ( isset($page['chronology_field']) or isset($page['flat']) 523 if ( isset($page['chronology_field']) 524 or ( isset($page['flat']) and isset($page['category']) ) 524 525 or 'list'==$page['section'] or 'recent_pics'==$page['section'] ) 525 526 { … … 535 536 elseif ('recent_cats'==$page['section']) 536 537 { 538 $page['meta_robots']['noindex']=1; 539 } 540 elseif ('search'==$page['section']) 541 { 537 542 $page['meta_robots']['nofollow']=1; 538 543 } 544 539 545 if ( $filter['enabled'] ) 540 546 { -
branches/branch-1_7/popuphelp.php
r1900 r2137 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 5PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 8 // | file : $RCSfile$ 7 // | file : $Id$ 9 8 // | last update : $Date$ 10 9 // | last modifier : $Author$ … … 41 40 $title = l10n('PhpWebGallery Help'); 42 41 $page['page_banner'] = '<h1>'.$title.'</h1>'; 42 $page['meta_robots']=array('noindex'=>1, 'nofollow'=>1); 43 43 include(PHPWG_ROOT_PATH.'include/page_header.php'); 44 44 45 if 45 if 46 46 ( 47 47 isset($_GET['page']) -
branches/branch-1_7/search_rules.php
r1900 r2137 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 // +-----------------------------------------------------------------------+ 8 7 // | file : $Id$ 9 8 // | last update : $Date$ … … 50 49 $title = l10n('PhpWebGallery Help'); 51 50 $page['page_banner'] = '<h1>'.$title.'</h1>'; 51 $page['meta_robots']=array('noindex'=>1, 'nofollow'=>1); 52 52 include(PHPWG_ROOT_PATH.'include/page_header.php'); 53 53 -
branches/branch-1_7/template/yoga/index.tpl
r1900 r2137 25 25 26 26 <!-- BEGIN search_rules --> 27 <li><a href="{search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}" ><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>27 <li><a href="{search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li> 28 28 <!-- END search_rules --> 29 29
Note: See TracChangeset
for help on using the changeset viewer.