cvs: phpweb / docs.php
| From: | Hojtsy Gabor | Date: | Sun, 11 Mar 2001 18:47:33 +0000 |
| Subject: | cvs: phpweb / docs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4410@lists.php.net to get a copy of this message | ||
goba Sun Mar 11 10:47:33 2001 EDT
Modified files:
/phpweb docs.php
Log:
Show sizes for non IE browsers if choosen...
Index: phpweb/docs.php
diff -u phpweb/docs.php:1.69 phpweb/docs.php:1.70
--- phpweb/docs.php:1.69 Sun Mar 11 10:09:57 2001
+++ phpweb/docs.php Sun Mar 11 10:47:33 2001
@@ -61,6 +61,8 @@
and formats. Pick a language and format from the table below.
Tip: If you are using Internet Explorer, the file size
will show up, when you move the mouse above one link.
+If you use another browser you can
+<a href="/docs.php?sizes=1">click here to see the file sizes</a>.
</p>
<table border="0" cellpadding="2" cellspacing="1"
width="100%">
@@ -94,6 +96,7 @@
$size = @filesize($link_to);
if ($size) {
echo "<a href=\"$link_to\" title=\"" . (int) ($size/1024) .
"Kb\">$details[1]</a>";
+ if ($sizes) { echo '<br><small>' . (int) ($size/1024) .
'</small>'; }
} else {
echo " ";
}