cvs: phpweb / cal.php my.php quickref.php

From: Date: Thu, 14 Aug 2003 11:56:42 +0000
Subject: cvs: phpweb / cal.php my.php quickref.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-20273@lists.php.net to get a copy of this message
goba Thu Aug 14 07:56:42 2003 EDT Modified files: /phpweb cal.php my.php quickref.php Log: Migrate more pages to use the new header and footer functions Index: phpweb/cal.php diff -u phpweb/cal.php:1.42 phpweb/cal.php:1.43 --- phpweb/cal.php:1.42 Sat Aug 9 10:44:41 2003 +++ phpweb/cal.php Thu Aug 14 07:56:42 2003 @@ -1,5 +1,5 @@ <?php -// $Id: cal.php,v 1.42 2003/08/09 14:44:41 goba Exp $ +// $Id: cal.php,v 1.43 2003/08/14 11:56:42 goba Exp $ $_SERVER['BASE_PAGE'] = 'cal.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; @@ -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)) { - commonHeader("Event: " . stripslashes(htmlentities($event['sdesc']))); + site_header("Event: " . stripslashes(htmlentities($event['sdesc']))); 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)) { - commonHeader("Events: ".date("F j, Y", $date)); + site_header("Events: ".date("F j, Y", $date)); echo "<h2>", date("F j, Y", $date), "</h2>\n"; foreach ($events as $event) { display_event($event, 0); @@ -87,7 +87,7 @@ $date = mktime(0, 0, 1, $cm, 1, $cy); if (!$begun) { - commonHeader("Events: ".date("F Y", $date)); + site_header("Events: ".date("F Y", $date)); ?> <div class="tip"> <p> @@ -114,7 +114,7 @@ // If there were any error, display them if (count($errors) > 0) { display_errors($errors); - commonFooter(); + site_footer(); exit; } @@ -182,7 +182,7 @@ echo "</tr>\n</table>\n"; // Print out common footer -commonFooter(); +site_footer(); // Generate the date on which a recurring event falls for a given month // $bom and $eom are the first and last day of the month to look at Index: phpweb/my.php diff -u phpweb/my.php:1.23 phpweb/my.php:1.24 --- phpweb/my.php:1.23 Wed Aug 13 12:07:13 2003 +++ phpweb/my.php Thu Aug 14 07:56:42 2003 @@ -1,5 +1,5 @@ <?php -// $Id: my.php,v 1.23 2003/08/13 16:07:13 goba Exp $ +// $Id: my.php,v 1.24 2003/08/14 11:56:42 goba Exp $ $_SERVER['BASE_PAGE'] = 'my.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; @@ -63,7 +63,7 @@ myphpnet_save(); -commonHeader("My PHP.net"); +site_header("My PHP.net"); ?> <form action="/my.php" method="post"> @@ -233,4 +233,4 @@ </p> </form> -<?php commonFooter(); ?> +<?php site_footer(); ?> Index: phpweb/quickref.php diff -u phpweb/quickref.php:1.26 phpweb/quickref.php:1.27 --- phpweb/quickref.php:1.26 Fri Aug 8 09:38:32 2003 +++ phpweb/quickref.php Thu Aug 14 07:56:42 2003 @@ -1,6 +1,6 @@ <?php -// $Id: quickref.php,v 1.26 2003/08/08 13:38:32 goba Exp $ +// $Id: quickref.php,v 1.27 2003/08/14 11:56:42 goba Exp $ /* @@ -98,7 +98,7 @@ unset($matches, $temp); } -commonHeader("Manual Quick Reference"); +site_header("Manual Quick Reference"); ?> <h1>PHP Function List</h1> @@ -132,7 +132,7 @@ </p> <?php - commonFooter(); + site_footer(); exit; } ?> @@ -145,5 +145,5 @@ <?php quickref_table($functions); -commonFooter(); -?> \ No newline at end of file +site_footer(); +?>

« previous php.mirrors (#20273) next »