cvs: phpweb /releases index.php
| From: | Hannes Magnusson | Date: | Fri, 07 Sep 2007 11:57:02 +0000 |
| Subject: | cvs: phpweb /releases index.php | ||
| Groups: | php.mirrors php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-22@lists.php.net to get a copy of this message | ||
bjori Fri Sep 7 11:57:02 2007 UTC
Modified files:
/phpweb/releases index.php
Log:
Fix fragments
http://cvs.php.net/viewvc.cgi/phpweb/releases/index.php?r1=1.16&r2=1.17&diff_format=u
Index: phpweb/releases/index.php
diff -u phpweb/releases/index.php:1.16 phpweb/releases/index.php:1.17
--- phpweb/releases/index.php:1.16 Thu Sep 6 14:33:19 2007
+++ phpweb/releases/index.php Fri Sep 7 11:57:02 2007
@@ -1,5 +1,5 @@
<?php
-// $Id: index.php,v 1.16 2007/09/06 14:33:19 bjori Exp $
+// $Id: index.php,v 1.17 2007/09/07 11:57:02 bjori Exp $
$_SERVER['BASE_PAGE'] = 'releases/index.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER["DOCUMENT_ROOT"] . "/include/releases.inc";
@@ -165,7 +165,7 @@
<?php
function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum) {
- printf("<a name=\"%s\"></a>\n<h2>%1\$s</h2>\n<ul>\n
<li>Released: %s</li>\n <li>Announcement: ", $ver, $date);
+ printf("<a name=\"%s\"></a>\n<h2>%1\$s</h2>\n<ul>\n
<li>Released: %s</li>\n <li>Announcement: ", ($pos = strpos($ver, "
")) ? substr($ver, 0, $pos) : $ver, $date);
if ($announcement) {
if (is_array($announcement)) {
foreach($announcement as $ann => $url) {