From 60d5c3b903583022ddc8849865048b45127c0a9a Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 28 Dec 2010 11:09:09 +0000 Subject: [PATCH] Add current config option (ignored in old-web), and FIXME placeholders for pages not in any menu yet --- ChangeLog-4.php | 2 +- ChangeLog-5.php | 2 +- cal.php | 6 +++--- contact.php | 2 +- copyright.php | 2 +- credits.php | 2 +- cvsup.php | 2 +- docs.php | 2 +- download-docs.php | 2 +- download-logos.php | 2 +- downloads.php | 1 + get-involved.php | 2 +- include/header.inc | 2 +- license/contrib-guidelines-code.php | 2 +- license/distrib-guidelines-code.php | 2 +- license/index.php | 2 +- links.php | 2 +- mailing-lists.php | 2 +- mirror.php | 2 +- mirroring-stats.php | 2 +- mirroring-troubles.php | 2 +- mirroring.php | 2 +- mirrors.php | 2 +- mod.php | 2 +- my.php | 2 +- privacy.php | 2 +- quickref.php | 2 +- results.php | 2 +- search.php | 2 +- security-note.php | 2 +- sidebars.php | 2 +- sitemap.php | 2 +- sites.php | 2 +- software.php | 2 +- source.php | 2 +- submit-event.php | 2 +- support.php | 2 +- svn-php.php | 2 +- svn.php | 2 +- thanks.php | 2 +- tips.php | 2 +- unsub.php | 2 +- urlhowto.php | 2 +- usage.php | 2 +- 44 files changed, 46 insertions(+), 45 deletions(-) diff --git a/ChangeLog-4.php b/ChangeLog-4.php index d547b28525..0259f9d2df 100644 --- a/ChangeLog-4.php +++ b/ChangeLog-4.php @@ -2,7 +2,7 @@ // $Id$ $_SERVER['BASE_PAGE'] = 'ChangeLog-4.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -site_header("PHP 4 ChangeLog"); +site_header("PHP 4 ChangeLog", array("current" => "FIXME")); function bugfix($number) { echo "Fixed bug "; bugl($number); } function bugl($number) { echo "#$number"; } ?> diff --git a/ChangeLog-5.php b/ChangeLog-5.php index dc0e4d2ca7..be052658e4 100644 --- a/ChangeLog-5.php +++ b/ChangeLog-5.php @@ -2,7 +2,7 @@ // $Id$ $_SERVER['BASE_PAGE'] = 'ChangeLog-5.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -site_header("PHP 5 ChangeLog"); +site_header("PHP 5 ChangeLog", array("current" => "FIXME")); function bugfix($number) { echo "Fixed bug "; bugl($number); } function bugl($number) { echo "#$number"; } function peclbugfix($number) { echo "Fixed PECL bug "; bugl($number); } diff --git a/cal.php b/cal.php index d352d6da51..4414db042c 100644 --- a/cal.php +++ b/cal.php @@ -30,7 +30,7 @@ if ($id) { // Try to load event by ID and display header and info for that event if ($event = load_event($id)) { - site_header("Event: " . stripslashes(htmlentities($event['sdesc'], ENT_QUOTES | ENT_IGNORE, 'UTF-8'))); + site_header("Event: " . stripslashes(htmlentities($event['sdesc'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')), array("current" => "FIXME")); display_event($event, 0); $begun = TRUE; } @@ -51,7 +51,7 @@ // Try to load events for that day, and display them all if ($events = load_events($date)) { - site_header("Events: ".date("F j, Y", $date)); + site_header("Events: ".date("F j, Y", $date), array("current" => "FIXME")); echo "

", date("F j, Y", $date), "

\n"; foreach ($events as $event) { display_event($event, 0); @@ -87,7 +87,7 @@ $date = mktime(0, 0, 1, $cm, 1, $cy); if (!$begun) { - site_header("Events: ".date("F Y", $date)); + site_header("Events: ".date("F Y", $date), array("current" => "FIXME")); ?>

diff --git a/contact.php b/contact.php index e5de0ce8fe..ce00f362cd 100644 --- a/contact.php +++ b/contact.php @@ -2,7 +2,7 @@ // $Id$ $_SERVER['BASE_PAGE'] = 'contact.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -site_header("Contact"); +site_header("Contact", array("current" => "community")); ?> diff --git a/copyright.php b/copyright.php index 8d5766fd21..cffe439820 100644 --- a/copyright.php +++ b/copyright.php @@ -10,7 +10,7 @@ see our licensing information page.

'; -site_header("Copyright"); +site_header("Copyright", array("current" => "footer")); ?> diff --git a/credits.php b/credits.php index 5aa20e1c34..abfdb69a93 100644 --- a/credits.php +++ b/credits.php @@ -23,7 +23,7 @@ // If there is something left, print it out if ($credits) { - site_header("Credits"); + site_header("Credits", array("current" => "community")); echo $credits; site_footer(); } diff --git a/cvsup.php b/cvsup.php index bc3b556d65..550648350f 100644 --- a/cvsup.php +++ b/cvsup.php @@ -28,7 +28,7 @@ Compiled snapshots for Windows users are also included.

'; -site_header("Using CVSup to maintain a local CVS repository"); +site_header("Using CVSup to maintain a local CVS repository", array("current" => "FIXME")); ?>

Using CVSup To Maintain A Local CVS Repository

diff --git a/docs.php b/docs.php index d9f8808d77..7282ef89f2 100644 --- a/docs.php +++ b/docs.php @@ -39,7 +39,7 @@

'; -site_header("Documentation"); +site_header("Documentation", array("current" => "docs")); ?> diff --git a/download-docs.php b/download-docs.php index fec0bf3f09..5be38bbd3c 100644 --- a/download-docs.php +++ b/download-docs.php @@ -45,7 +45,7 @@

'; -site_header("Download documentation"); +site_header("Download documentation", array("current" => "docs")); // Format to look for $formats = array( diff --git a/download-logos.php b/download-logos.php index 89b61f41df..5c282f562a 100644 --- a/download-logos.php +++ b/download-logos.php @@ -11,7 +11,7 @@ under a GPL license.

'; -site_header("Download Logos"); +site_header("Download Logos", array("current" => "downloads")); // Print recommended star cell function print_star() diff --git a/downloads.php b/downloads.php index 3c20be1f07..f5e8070f88 100644 --- a/downloads.php +++ b/downloads.php @@ -78,6 +78,7 @@ "title" => "PHP Release feed" ), ), + "current" => "downloads", ) ); ?> diff --git a/get-involved.php b/get-involved.php index 69a00ba405..0b4b980ebf 100644 --- a/get-involved.php +++ b/get-involved.php @@ -3,7 +3,7 @@ $_SERVER['BASE_PAGE'] = 'get-involved.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; -site_header("Get Involved"); +site_header("Get Involved", array("current" => "community")); ?>