cvs: phpweb / mailing-lists.php

From: Date: Wed, 07 May 2003 16:18:56 +0000
Subject: cvs: phpweb / mailing-lists.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17405@lists.php.net to get a copy of this message
goba Wed May 7 12:18:56 2003 EDT Modified files: /phpweb mailing-lists.php Log: Let the list archive name be overriden, and override internals -> php-dev as the old name is used for archiving at the marc archive. Index: phpweb/mailing-lists.php diff -u phpweb/mailing-lists.php:1.31 phpweb/mailing-lists.php:1.32 --- phpweb/mailing-lists.php:1.31 Sat Apr 26 04:39:53 2003 +++ phpweb/mailing-lists.php Wed May 7 12:18:56 2003 @@ -179,7 +179,7 @@ Array ( 'internals', 'Internals list', 'A medium volume list for those who want to help out with the development of PHP', - false, true, true, "internals" + false, 'php-dev', true, "internals" ), Array ( 'php-cvs', 'CVS commit list', @@ -232,7 +232,14 @@ echo '<tr align="center" bgcolor="#e0e0e0">'; echo '<td align="left"><b>' . $listinfo[1] . '</b><br><small>'. $listinfo[2] . '</small></td>'; echo '<td>' . ($listinfo[3] ? 'yes' : 'no') . '</td>'; - echo '<td>' . ($listinfo[4] ? make_link("http://marc.theaimsgroup.com/?l=".$listinfo[0], 'yes') : 'n/a') . '</td>'; + + // Let the list name defined with a string, if the + // list is archived under a different name then php.net + // uses for it (for backward compatibilty for example) + if ($listinfo[4] !== FALSE) { + $larchive = ($listinfo[4] === FALSE ? $listinfo[0] : $listinfo[4]); + } else { $larchive = FALSE; } + echo '<td>' . ($larchive ? make_link("http://marc.theaimsgroup.com/?l=".$larchive, 'yes') : 'n/a') . '</td>'; echo '<td>' . ($listinfo[6] ? make_link("news://news.php.net/".$listinfo[6], 'yes') : 'n/a') . '</td>'; echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td>'; echo '<td>' . ($listinfo[5] ? '<input name="maillist" type="radio" value="'.$listinfo[0].'-digest">' : 'n/a' ) . '</td>';

« previous php.mirrors (#17405) next »