r1510 + display percentage for progress bar image
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 13 Jan 2008 16:02:34 +0000 (16:02 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 13 Jan 2008 16:02:34 +0000 (16:02 +0000)
inc/interface.php

index c69945f..d2efef2 100644 (file)
@@ -3724,7 +3724,7 @@ function renderProgressBar ($percentage = 0)
 {
        global $root;
        $done = ((int) ($percentage * 100));
-       echo "<img width=100 height=10 border=0 src='${root}render_image.php?img=progressbar&done=${done}'>";
+       echo "<img width=100 height=10 border=0 title='${done}%' src='${root}render_image.php?img=progressbar&done=${done}'>";
 }
 
 function renderRSPoolServerForm ($pool_id = 0)