cvs: phpweb / get_download.php
| From: | Gabor Hojtsy | Date: | Thu, 01 May 2003 13:26:24 +0000 |
| Subject: | cvs: phpweb / get_download.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17187@lists.php.net to get a copy of this message | ||
goba Thu May 1 09:26:24 2003 EDT
Modified files:
/phpweb get_download.php
Log:
Really align the tables centered with <div>
Write out real mirror name instead of dumb
looking "this", as the current mirror is marked
with two other things anyway
Index: phpweb/get_download.php
diff -u phpweb/get_download.php:1.12 phpweb/get_download.php:1.13
--- phpweb/get_download.php:1.12 Sun Feb 9 05:56:16 2003
+++ phpweb/get_download.php Thu May 1 09:26:24 2003
@@ -23,7 +23,7 @@
You have chosen to download the following file:
</p>
-<p align="center">
+<div align="center">
<table border="0" cellpadding="10" cellspacing="1"
width="500">
<tr bgcolor="#cccccc"><td align="center">
<?php
@@ -36,7 +36,7 @@
}
?>
</td></tr></table>
-</p>
+</div>
<p>
Please choose the mirror closest to you from which to download the file.
@@ -46,7 +46,7 @@
convenience.
</p>
-<p align="center">
+<div align="center">
<table border="0" cellpadding="3" cellspacing="1"
width="500">
<?php
@@ -87,8 +87,9 @@
// Print out mirror site download link
echo '<td><small>';
- $mirrorname = ($thismirror ? "this" : substr($murl, strpos($murl, '//') +
2, -1));
- print_link("/get/$df/from/$mirrorname/mirror", $mirrorname);
+ $mirrorshort = substr($murl, strpos($murl, '//') + 2, -1);
+ $mirrorname = ($thismirror ? "this" : $mirrorshort);
+ print_link("/get/$df/from/$mirrorname/mirror", $mirrorshort);
echo '</small><br /></td>' . "\n";
// Print out mirror provider's name
@@ -104,6 +105,6 @@
}
?>
</table>
-</p>
+</div>
<?php commonFooter(); ?>