feature 606: search engine spider restrictions (meta robots)

git-svn-id: http://piwigo.org/svn/trunk@1703 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-01-09 01:30:02 +00:00
parent f68903ec23
commit 1e7b286faa
7 changed files with 67 additions and 28 deletions

View File

@@ -2,10 +2,10 @@
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | branch : BSF (Best So Far)
// | file : $RCSfile$
// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
// | revision : $Revision$
@@ -60,11 +60,8 @@ $feed_image_only_url=$feed_url.'&image_only';
$title = l10n('Notification');
$page['body_id'] = 'theNotificationPage';
$template->assign_block_vars('head_element',
array(
'CONTENT' => '<meta name="robots" content="noindex,nofollow">'
)
);
$page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
$template->assign_block_vars('head_element',
array(
'CONTENT' => '<link rel="alternate" type="application/rss+xml" href="'.$feed_url.'">'