cvs: php-master-web /scripts event_listing
| From: | Hannes Magnusson | Date: | Wed, 07 Feb 2007 18:57:24 +0000 |
| Subject: | cvs: php-master-web /scripts event_listing | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34121@lists.php.net to get a copy of this message | ||
bjori Wed Feb 7 18:57:24 2007 UTC
Modified files:
/php-master-web/scripts event_listing
Log:
Fix links (the events are now listed on /conferences/, too)
http://cvs.php.net/viewvc.cgi/php-master-web/scripts/event_listing?r1=1.5&r2=1.6&diff_format=u
Index: php-master-web/scripts/event_listing
diff -u php-master-web/scripts/event_listing:1.5 php-master-web/scripts/event_listing:1.6
--- php-master-web/scripts/event_listing:1.5 Wed Dec 31 17:18:21 2003
+++ php-master-web/scripts/event_listing Wed Feb 7 18:57:24 2007
@@ -28,7 +28,7 @@
fwrite(
$out,
"<?php\n\$RSIDEBAR_DATA = <<<END_RSIDEBAR_DATA\n" .
- "<h3>Upcoming Events <a
href=\"submit-event.php\">[add]</a></h3>\n"
+ "<h3>Upcoming Events <a
href=\"/submit-event.php\">[add]</a></h3>\n"
);
// While we can read the events file
@@ -72,7 +72,7 @@
if (!isset($seen[$desc])) {
// Add event to sidebar
- fwrite($out, "<span class=\"event_$ccode\">$d. <a
href=\"cal.php?id=$id\">" .
+ fwrite($out, "<span class=\"event_$ccode\">$d. <a
href=\"/cal.php?id=$id\">" .
htmlspecialchars(stripslashes($desc)) .
"</a></span><br />\n"
);