Progress meter is now both lynx- and w3m- friendly.

This commit is contained in:
Jeff Teunissen 2000-03-08 18:20:51 +00:00
parent 270c1da97b
commit c387611169

View file

@ -29,22 +29,22 @@
$result .= '<TR><TD align="right">' . $name . '</TD><TD>&nbsp;</TD><TD align="center">'; $result .= '<TR><TD align="right">' . $name . '</TD><TD>&nbsp;</TD><TD align="center">';
$result .= '<IMG src="/img/blank.gif" height="1" width="1" alt="' . $pct . '% Complete">'; $result .= '<IMG src="/img/blank.gif" height="1" width="1" alt="' . $pct . '% Complete">';
for ( ; $i >= 20 ; $i -= 20 ) { for ( ; $i >= 20 ; $i -= 20 ) {
$result .= '<IMG src="/img/graph/ProgressBar.20.white.gif" alt="">'; $result .= '<IMG src="/img/graph/ProgressBar.20.white.gif" alt=" ">';
} }
for ( ; $i >= 10 ; $i -= 10 ) { for ( ; $i >= 10 ; $i -= 10 ) {
$result .= '<IMG src="/img/graph/ProgressBar.10.white.gif" alt="">'; $result .= '<IMG src="/img/graph/ProgressBar.10.white.gif" alt=" ">';
} }
for ( ; $i >= 2 ; $i -= 2 ) { for ( ; $i >= 2 ; $i -= 2 ) {
$result .= '<IMG src="/img/graph/ProgressBar.2.white.gif" alt="">'; $result .= '<IMG src="/img/graph/ProgressBar.2.white.gif" alt=" ">';
} }
for ( ; $j >= 20 ; $j -= 20 ) { for ( ; $j >= 20 ; $j -= 20 ) {
$result .= '<IMG src="/img/graph/ProgressBar.20.gray.gif" alt="">'; $result .= '<IMG src="/img/graph/ProgressBar.20.gray.gif" alt=" ">';
} }
for ( ; $j >= 10 ; $j -= 10 ) { for ( ; $j >= 10 ; $j -= 10 ) {
$result .= '<IMG src="/img/graph/ProgressBar.10.gray.gif" alt="">'; $result .= '<IMG src="/img/graph/ProgressBar.10.gray.gif" alt=" ">';
} }
for ( ; $j >= 2 ; $j -= 2 ) { for ( ; $j >= 2 ; $j -= 2 ) {
$result .= '<IMG src="/img/graph/ProgressBar.2.gray.gif" alt="">'; $result .= '<IMG src="/img/graph/ProgressBar.2.gray.gif" alt=" ">';
} }
$result .= '</TD><TD>&nbsp;</TD><TD align="left" >' . $comments . '</TD></TR>'; $result .= '</TD><TD>&nbsp;</TD><TD align="left" >' . $comments . '</TD></TR>';
echo $result; echo $result;