cvs: php-master-web /manage mirrors.php
| From: | Gabor Hojtsy | Date: | Fri, 01 Aug 2003 15:46:48 +0000 |
| Subject: | cvs: php-master-web /manage mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19719@lists.php.net to get a copy of this message | ||
goba Fri Aug 1 11:46:48 2003 EDT
Modified files:
/php-master-web/manage mirrors.php
Log:
Remove <small>s in favor of CSS styling, and
add error information in case of site is out of date
Index: php-master-web/manage/mirrors.php
diff -u php-master-web/manage/mirrors.php:1.59 php-master-web/manage/mirrors.php:1.60
--- php-master-web/manage/mirrors.php:1.59 Fri Aug 1 10:28:12 2003
+++ php-master-web/manage/mirrors.php Fri Aug 1 11:46:48 2003
@@ -325,6 +325,8 @@
$row['ocmt'] = trim($row['ocmt']);
if (!empty($row['ocmt'])) {
$errorinfo = $row['ocmt'];
+ } elseif (!$row['current']) {
+ $errorinfo = "content on site is out of date";
}
}
// Up to date and current
@@ -364,12 +366,12 @@
"\"><img
src=\"/images/mirror_edit.png\"></a></td>\n";
// Print out mirror site link
- echo '<td><small><a href="http://' .
$row['hostname'] . '/" target="_blank">' .
- $row['hostname'] . '</a></small><br /></td>' .
"\n";
+ echo '<td><a href="http://' .
$row['hostname'] . '/" target="_blank">' .
+ $row['hostname'] . '</a><br /></td>' .
"\n";
// Print out mirror provider information
- echo '<td><small><a href="' . $row['providerurl'] .
'">' .
- $row['providername'] . '</a></small><br
/></td>' . "\n";
+ echo '<td><a href="' . $row['providerurl'] .
'">' .
+ $row['providername'] . '</a><br /></td>' .
"\n";
// Print out mirror search table cell
echo '<td align="right">' . $srccell . '</td>' .
"\n";
@@ -386,8 +388,8 @@
// If any info on the error of this mirror is available, print it out
if ($errorinfo) {
echo "<tr><tr bgcolor=\"#e0e0e0\"><td
bgcolor=\"#ffffff\"></td>" .
- "<td colspan=\"5\"><img
src=\"/images/mirror_info.png\" />" .
- "<small>$errorinfo</small></td></tr>";
+ "<td colspan=\"5\"><img
src=\"/images/mirror_info.png\" /> " .
+ "$errorinfo</td></tr>";
}
}
?>