cvs: phpweb / index.php

From: Date: Tue, 24 Jul 2001 17:24:19 +0000
Subject: cvs: phpweb / index.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5697@lists.php.net to get a copy of this message
rasmus Tue Jul 24 13:24:19 2001 EDT Modified files: /phpweb index.php Log: Only name the event on its first day it appears within the time-window Index: phpweb/index.php diff -u phpweb/index.php:1.102 phpweb/index.php:1.103 --- phpweb/index.php:1.102 Sun Jul 22 04:47:06 2001 +++ phpweb/index.php Tue Jul 24 13:24:19 2001 @@ -78,7 +78,10 @@ $cm = (int)$m; $RSIDEBAR_DATA .= "<h3><u>".strftime('%B',mktime(12,0,0,$cm,$d,$y))."</u></h3>\n"; } - $RSIDEBAR_DATA .= "$d. <a href=\"$url\">$desc</a><br>\n"; + if(!$seen[$desc]) { + $RSIDEBAR_DATA .= "$d. <a href=\"$url\">$desc</a><br>\n"; + $seen[$desc] = true; + } } fclose($fp); }

« previous php.mirrors (#5697) next »