Skip to content
Browse files

better rack view

  • Loading branch information...
1 parent d62c432 commit 2311a93c6d4dd3e49187891e2ec749dd053f0bd7 root committed Mar 30, 2012
Showing with 3 additions and 3 deletions.
  1. BIN data/files/other-dd-14e4.png
  2. +3 −3 php/viewrack.php
View
BIN data/files/other-dd-14e4.png
Deleted file not rendered
View
6 php/viewrack.php
@@ -124,16 +124,16 @@ function printitemcell($rr,$depth) {
$dr=explode(".",$dns); if(count($dr)) $dr=$dr[0];
$mixlabel=" ";
- if (strlen($label)) $mixlabel="$label";
+ if (strlen($label)) $mixlabel=" $label ";
if (strlen($dr))
- $mixlabel.=" DNS:$dr";
+ $mixlabel.=" [DNS:$dr]";
return "<a href='$scriptname?action=edititem&amp;id={$rackrow[$rr][$depth]}'>".
$items[$rackrow[$rr][$depth]]['agtitle']." ".
$items[$rackrow[$rr][$depth]]['model']." ".
- $mixlabel.
" [ID:".$items[$rackrow[$rr][$depth]]['id']."]".
+ $mixlabel.
"</a>";
}

0 comments on commit 2311a93

Please sign in to comment.
Something went wrong with that request. Please try again.