Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

viewrack links open in new window

  • Loading branch information...
commit 9ffbf0b635998e038e963dde192c9fee997435cf 1 parent c980417
Spiros Ioannou authored
Showing with 11 additions and 2 deletions.
  1. +11 −2 php/viewrack.php
View
13 php/viewrack.php
@@ -105,8 +105,7 @@
//echo "<pre>"; print_r($rackrow); echo "<p>";
-$edt="<a href='$scriptname?action=editrack&amp;id={$rack['id']}'>Properties</a>";
-echo "<h1>Rack ID:$id - {$rack['model']} {$rack['label']} &nbsp;&nbsp;$edt</h1>";
+echo "<h1>Rack ID:$id - {$rack['model']} {$rack['label']} </h1>";
?>
<div style='float:left;padding-left:10px;'>
@@ -298,3 +297,13 @@ function printitemcell($rr,$depth) {
?>
</div>
+<?php
+if ($action=="viewrack") {
+?>
+<script type="text/javascript">
+$('a').attr("target", "_new");
+</script>
+
+<?php }?>
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.