r1500 + render_rack_thumb.php becomes render_image.php
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 12 Jan 2008 13:55:57 +0000 (13:55 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 12 Jan 2008 13:55:57 +0000 (13:55 +0000)
inc/interface.php
render_image.php [moved from render_rack_thumb.php with 100% similarity]

index ebe6788e0faff06ae34467dbc8b24adc2794b763..03fa9851732fb9d585fd23ca0deedb788f9a0784 100644 (file)
@@ -78,7 +78,7 @@ function renderRackspace ()
                        echo "<img border=0 width=${rackwidth} height=";
                        echo 3 + 3 + $rack['height'] * 2;
                        echo " title='${rack['height']} units'";
                        echo "<img border=0 width=${rackwidth} height=";
                        echo 3 + 3 + $rack['height'] * 2;
                        echo " title='${rack['height']} units'";
-                       echo "src='render_rack_thumb.php?img=minirack&rack_id=${rack['id']}'>";
+                       echo "src='render_image.php?img=minirack&rack_id=${rack['id']}'>";
                        echo "<br>${rack['name']}</a></td>";
                }
                echo "</tr></table></tr>\n";
                        echo "<br>${rack['name']}</a></td>";
                }
                echo "</tr></table></tr>\n";
@@ -128,7 +128,7 @@ function renderRow ($row_id)
                echo "<img border=0 width=" . $rackwidth * getConfigVar ('ROW_SCALE') . " height=";
                echo (3 + 3 + $rack['height'] * 2) * getConfigVar ('ROW_SCALE');
                echo " title='${rack['height']} units'";
                echo "<img border=0 width=" . $rackwidth * getConfigVar ('ROW_SCALE') . " height=";
                echo (3 + 3 + $rack['height'] * 2) * getConfigVar ('ROW_SCALE');
                echo " title='${rack['height']} units'";
-               echo "src='render_rack_thumb.php?img=minirack&rack_id=${rack['id']}'>";
+               echo "src='render_image.php?img=minirack&rack_id=${rack['id']}'>";
                echo "<br>${rack['name']}</a></td>";
                $order = $nextorder[$order];
        }
                echo "<br>${rack['name']}</a></td>";
                $order = $nextorder[$order];
        }
@@ -3717,7 +3717,7 @@ function renderProgressBar ($percentage = 0)
 {
        global $root;
        $done = ((int) ($percentage * 100));
 {
        global $root;
        $done = ((int) ($percentage * 100));
-       echo "<img width=100 height=10 border=0 src='${root}render_rack_thumb.php?img=progressbar&done=${done}'>";
+       echo "<img width=100 height=10 border=0 src='${root}render_image.php?img=progressbar&done=${done}'>";
 }
 
 function renderRSPoolServerForm ($pool_id = 0)
 }
 
 function renderRSPoolServerForm ($pool_id = 0)
similarity index 100%
rename from render_rack_thumb.php
rename to render_image.php