cvs: phpweb / quickref.php
| From: | Gabor Hojtsy | Date: | Fri, 15 Aug 2003 10:47:22 +0000 |
| Subject: | cvs: phpweb / quickref.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20360@lists.php.net to get a copy of this message | ||
goba Fri Aug 15 06:47:22 2003 EDT
Modified files:
/phpweb quickref.php
Log:
Do not allow the indexing of this page, if it is a result of a search
(this will hopefuly clean up the google listings of pages which only
give a search page)
Index: phpweb/quickref.php
diff -u phpweb/quickref.php:1.27 phpweb/quickref.php:1.28
--- phpweb/quickref.php:1.27 Thu Aug 14 07:56:42 2003
+++ phpweb/quickref.php Fri Aug 15 06:47:22 2003
@@ -1,6 +1,6 @@
<?php
-// $Id: quickref.php,v 1.27 2003/08/14 11:56:42 goba Exp $
+// $Id: quickref.php,v 1.28 2003/08/15 10:47:22 goba Exp $
/*
@@ -98,7 +98,11 @@
unset($matches, $temp);
}
-site_header("Manual Quick Reference");
+// Do not index page if presented as a search result
+if (count($maybe) > 0) { $head_options = array("noindex"); }
+else { $head_options = array(); }
+
+site_header("Manual Quick Reference", $head_options);
?>
<h1>PHP Function List</h1>