From 270c1da97b0f49875cafd700ef9d1b3a6fca4c4c Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Wed, 8 Mar 2000 17:45:31 +0000 Subject: [PATCH] Made progress meter as lynx-friendly as I could. --- parts/library.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/parts/library.php b/parts/library.php index 87ecfec..9953bfc 100644 --- a/parts/library.php +++ b/parts/library.php @@ -16,7 +16,7 @@ function progressKey() // Display key for progress bar { echo '  ' . - '' . + '0-33% Hackers, 34-67% Developers, 68-100% Users' . ' '; } @@ -27,23 +27,24 @@ $j = 100 - $newPct; $result = ''; $result .= '' . $name . ' '; + $result .= '' . $pct . '% Complete'; for ( ; $i >= 20 ; $i -= 20 ) { - $result .= ''; + $result .= ''; } for ( ; $i >= 10 ; $i -= 10 ) { - $result .= ''; + $result .= ''; } for ( ; $i >= 2 ; $i -= 2 ) { - $result .= ''; + $result .= ''; } for ( ; $j >= 20 ; $j -= 20 ) { - $result .= ''; + $result .= ''; } for ( ; $j >= 10 ; $j -= 10 ) { - $result .= ''; + $result .= ''; } for ( ; $j >= 2 ; $j -= 2 ) { - $result .= ''; + $result .= ''; } $result .= ' ' . $comments . ''; echo $result;