cvs: phpweb / quickref.php search.php searchbar.php sidebars.php sitemap.php sites.php submit-event.php support.php thanks.php tips.php unsub.php
urlhowto.php
| From: | Jacques Marneweck | Date: | Thu, 15 May 2003 23:22:13 +0000 |
| Subject: | cvs: phpweb / quickref.php search.php searchbar.php sidebars.php sitemap.php sites.php submit-event.php support.php thanks.php tips.php unsub.php urlhowto.php |
||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17728@lists.php.net to get a copy of this message | ||
jacques Thu May 15 19:22:13 2003 EDT
Modified files:
/phpweb quickref.php search.php searchbar.php sidebars.php
sitemap.php sites.php submit-event.php support.php
thanks.php tips.php unsub.php urlhowto.php
Log:
* More sysstat reducing stuff.
* Also added CVS Id: tags to files missing them at the top.
--jm
Index: phpweb/quickref.php
diff -u phpweb/quickref.php:1.21 phpweb/quickref.php:1.22
--- phpweb/quickref.php:1.21 Thu Mar 6 13:13:15 2003
+++ phpweb/quickref.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-require_once 'prepend.inc';
+/* $Id: */
+
+require_once './include/prepend.inc';
$NUMACROSS = 2;
$SHOW_CLOSE = 10;
Index: phpweb/search.php
diff -u phpweb/search.php:1.77 phpweb/search.php:1.78
--- phpweb/search.php:1.77 Thu May 15 12:18:14 2003
+++ phpweb/search.php Thu May 15 19:22:13 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: search.php,v 1.77 2003/05/15 16:18:14 goba Exp $ */
+/* $Id: search.php,v 1.78 2003/05/15 23:22:13 jacques Exp $ */
include_once "prepend.inc";
@@ -68,7 +68,7 @@
// The base is the referrer site. Check if it was a PHP mirror site,
// and not some other site offering a direct PHP.net search form.
// Links should not be pointed back to a non PHP.net mirror site
- if (preg_match("!^http://(\\w{2}\\d?)\\.php\\.net/!", $HTTP_REFERER, $matches)
&&
+ if (isset($_SERVER['HTTP_REFERER']) && preg_match("!^http://(\\w{2}\\d?)\\.php\\.net/!", $HTTP_REFERER, $matches)
&&
$matches[1] != 'qa') {
$base = "http://{$matches[1]}.php.net/";
}
Index: phpweb/searchbar.php
diff -u phpweb/searchbar.php:1.13 phpweb/searchbar.php:1.14
--- phpweb/searchbar.php:1.13 Sun Mar 2 11:22:14 2003
+++ phpweb/searchbar.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-include_once "prepend.inc";
+/* $Id: searchbar.php,v 1.14 2003/05/15 23:22:13 jacques Exp $ */
+
+include_once "./include/prepend.inc";
// Gecko would like to see the target to be _content, while IE would
// like to see the target to be _main. Other browsers are not expected
Index: phpweb/sidebars.php
diff -u phpweb/sidebars.php:1.4 phpweb/sidebars.php:1.5
--- phpweb/sidebars.php:1.4 Tue Oct 29 11:36:39 2002
+++ phpweb/sidebars.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-require_once 'prepend.inc';
+/* $Id: sidebars.php,v 1.5 2003/05/15 23:22:13 jacques Exp $ */
+
+require_once './include/prepend.inc';
commonHeader("PHP.net Search Bars");
Index: phpweb/sitemap.php
diff -u phpweb/sitemap.php:1.4 phpweb/sitemap.php:1.5
--- phpweb/sitemap.php:1.4 Fri May 2 17:17:28 2003
+++ phpweb/sitemap.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-include_once "prepend.inc";
+/* $Id: sitemap.php,v 1.5 2003/05/15 23:22:13 jacques Exp $ */
+
+include_once "./include/prepend.inc";
commonHeader("Sitemap");
?>
Index: phpweb/sites.php
diff -u phpweb/sites.php:1.28 phpweb/sites.php:1.29
--- phpweb/sites.php:1.28 Sun Jan 12 08:41:05 2003
+++ phpweb/sites.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-include_once 'prepend.inc';
+/* $Id: sites.php,v 1.29 2003/05/15 23:22:13 jacques Exp $ */
+
+include_once './include/prepend.inc';
commonHeader("A Tourist's Guide");
?>
Index: phpweb/submit-event.php
diff -u phpweb/submit-event.php:1.17 phpweb/submit-event.php:1.18
--- phpweb/submit-event.php:1.17 Tue May 13 21:57:31 2003
+++ phpweb/submit-event.php Thu May 15 19:22:13 2003
@@ -1,7 +1,9 @@
<?php
-require_once 'prepend.inc';
-require_once 'posttohost.inc';
-require_once 'email-validation.inc';
+/* $Id: submit-event.php,v 1.18 2003/05/15 23:22:13 jacques Exp $ */
+
+require_once './include/prepend.inc';
+require_once './include/posttohost.inc';
+require_once './include/email-validation.inc';
commonHeader("Submit an Event");
Index: phpweb/support.php
diff -u phpweb/support.php:1.66 phpweb/support.php:1.67
--- phpweb/support.php:1.66 Thu May 15 13:39:36 2003
+++ phpweb/support.php Thu May 15 19:22:13 2003
@@ -1,4 +1,6 @@
<?php
+/* $Id: support.php,v 1.67 2003/05/15 23:22:13 jacques Exp $ */
+
include './include/prepend.inc';
commonHeader("Getting Help");
Index: phpweb/thanks.php
diff -u phpweb/thanks.php:1.18 phpweb/thanks.php:1.19
--- phpweb/thanks.php:1.18 Wed Apr 23 17:20:53 2003
+++ phpweb/thanks.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-require_once 'prepend.inc';
+/* $Id: thanks.php,v 1.19 2003/05/15 23:22:13 jacques Exp $ */
+
+require_once './include/prepend.inc';
commonHeader("Thanks");
?>
Index: phpweb/tips.php
diff -u phpweb/tips.php:1.27 phpweb/tips.php:1.28
--- phpweb/tips.php:1.27 Thu Apr 24 04:06:24 2003
+++ phpweb/tips.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-require_once 'prepend.inc';
+/* $Id: tips.php,v 1.28 2003/05/15 23:22:13 jacques Exp $ */
+
+require_once './include/prepend.inc';
commonHeader("Cool Quick Reference Tips");
function tipTitle($title,$author='',$date='') {
Index: phpweb/unsub.php
diff -u phpweb/unsub.php:1.2 phpweb/unsub.php:1.3
--- phpweb/unsub.php:1.2 Sat Apr 26 08:36:08 2003
+++ phpweb/unsub.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-require_once 'prepend.inc';
+/* $Id: unsub.php,v 1.3 2003/05/15 23:22:13 jacques Exp $ */
+
+require_once './include/prepend.inc';
commonHeader("Unsubscribing");
?>
Index: phpweb/urlhowto.php
diff -u phpweb/urlhowto.php:1.11 phpweb/urlhowto.php:1.12
--- phpweb/urlhowto.php:1.11 Thu Apr 24 03:20:25 2003
+++ phpweb/urlhowto.php Thu May 15 19:22:13 2003
@@ -1,5 +1,7 @@
<?php
-include_once 'prepend.inc';
+/* $Id: */
+
+include_once './include/prepend.inc';
$SIDEBAR_DATA='
<h3>URL examples</h3>