cvs: phpweb /include mirrortable.inc

From: Date: Wed, 13 Aug 2003 13:30:18 +0000
Subject: cvs: phpweb /include mirrortable.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-20211@lists.php.net to get a copy of this message
goba Wed Aug 13 09:30:18 2003 EDT Modified files: /phpweb/include mirrortable.inc Log: Fix a few XHTML validity problems and remove already commented search support information Index: phpweb/include/mirrortable.inc diff -u phpweb/include/mirrortable.inc:1.4 phpweb/include/mirrortable.inc:1.5 --- phpweb/include/mirrortable.inc:1.4 Sun Jul 13 15:39:41 2003 +++ phpweb/include/mirrortable.inc Wed Aug 13 09:30:17 2003 @@ -1,5 +1,5 @@ <?php -/* $Id: mirrortable.inc,v 1.4 2003/07/13 19:39:41 goba Exp $ */ +/* $Id: mirrortable.inc,v 1.5 2003/08/13 13:30:17 goba Exp $ */ /* This file includes functions to find close mirrors and list @@ -65,7 +65,7 @@ ); } - echo '<div align="center">' . "\n" . + echo '<div class="center">' . "\n" . '<table border="0" cellpadding="3" cellspacing="1" width="' . $cnf['width'] . '">' . "\n"; @@ -95,7 +95,7 @@ 'flags/' . strtolower($country) . '.png', $COUNTRIES[$country], FALSE, - 'CLASS="flag"' + 'class="flag"' ); echo '<br /></td>'; echo '<td colspan="' . $cnf['datacols'] . '"><b>' . @@ -140,13 +140,8 @@ // Print out mirror provider's link echo '<td><small>'; - print_link(mirror_provider_url($murl), mirror_provider($murl)); + print_link(mirror_provider_url($murl), htmlspecialchars(mirror_provider($murl))); echo '</small><br /></td>' . "\n"; - - // Print out search support information - // echo '<td><small>'; - // echo (have_search($murl) ? "with local search" : "&nbsp;"); - // echo '</small><br /></td>' . "\n"; } // End row for this mirror

« previous php.mirrors (#20211) next »