r5073 renderRackSpaceForObject(): add LABEL for Zero-U checkbox
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 2 May 2012 15:10:15 +0000 (15:10 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 2 May 2012 15:10:15 +0000 (15:10 +0000)
wwwroot/inc/interface.php

index d0a2ff6..004b8ea 100644 (file)
@@ -1752,7 +1752,7 @@ function renderRackSpaceForObject ($object_id)
                        $checked = isset($_REQUEST['zerou_'.$rack_id]) ? 'checked' : '';
                else
                        $checked = in_array($rack_id, $parentRacks) ? 'checked' : '';
-               echo "Zero-U: <input type=checkbox ${checked} name=zerou_${rack_id} id=zerou_${rack_id}>\n<br><br>\n";
+               echo "<label for=zerou_${rack_id}>Zero-U:</label> <input type=checkbox ${checked} name=zerou_${rack_id} id=zerou_${rack_id}>\n<br><br>\n";
                echo "<input type='button' onclick='uncheckAll();' value='Uncheck all'>\n";
                echo '</center></td>';
        }