diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-09-28 18:10:53 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-09-28 18:10:53 +0000 |
| commit | 594d295bea0f6093915ee7f08313c0d00a5129dc (patch) | |
| tree | 99209c6983d3e67f26d45c728d5efd475d92999a /frontends/php/items.php | |
| parent | 9c17c8be0eef94e9b0f62a9848d1dcd8a88d2130 (diff) | |
| download | zabbix-594d295bea0f6093915ee7f08313c0d00a5129dc.tar.gz zabbix-594d295bea0f6093915ee7f08313c0d00a5129dc.tar.xz zabbix-594d295bea0f6093915ee7f08313c0d00a5129dc.zip | |
Minor change.
git-svn-id: svn://svn.zabbix.com/trunk@1440 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index 84cb9c39..c5ecc536 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -223,25 +223,10 @@ { echo "</TABLE><BR>"; } -// echo "<br>"; -// show_table_header("<A HREF='items.php?hostid=".$row["hostid"]."'>".$row["host"]."</A>"); echo "<form method=\"get\" action=\"items.php\">"; echo "<input class=\"biginput\" name=\"hostid\" type=hidden value=".$_GET["hostid"]." size=8>"; - echo "<TABLE BORDER=0 COLS=13 align=center WIDTH=100% BGCOLOR=\"#AAAAAA\" cellspacing=1 cellpadding=3>"; - echo "<TR BGCOLOR=\"#CCCCCC\">"; -// echo "<TD WIDTH=3% NOSAVE><B>Sel</B></TD>"; - echo "<TD WIDTH=8% NOSAVE><B>".S_ID."</B></TD>"; -// echo "<TD WIDTH=10% NOSAVE><B>".S_HOST."</B></TD>"; - echo "<TD WIDTH=10% NOSAVE><B>".S_KEY."</B></TD>"; - echo "<TD WIDTH=10% NOSAVE><B>".S_DESCRIPTION."</B></TD>"; - echo "<TD WIDTH=5% NOSAVE><B>".nbsp(S_UPDATE_INTERVAL)."</B></TD>"; - echo "<TD WIDTH=5% NOSAVE><B>".S_HISTORY."</B></TD>"; - echo "<TD WIDTH=5% NOSAVE><B>".S_TRENDS."</B></TD>"; - echo "<TD><B>".S_SHORT_NAME."</B></TD>"; - echo "<TD WIDTH=5% NOSAVE><B>".S_TYPE."</B></TD>"; - echo "<TD WIDTH=5% NOSAVE><B>".S_STATUS."</B></TD>"; - echo "<TD WIDTH=5% NOSAVE><B>".S_ACTIONS."</B></TD>"; - echo "</TR>"; + table_begin(); + table_header(array(S_ID,S_KEY,S_DESCRIPTION,nbsp(S_UPDATE_INTERVAL),S_HISTORY,S_TRENDS,S_SHORT_NAME,S_TYPE,S_STATUS,S_ACTIONS)); } $lasthost=$row["host"]; iif_echo($col++%2 == 1, @@ -311,7 +296,7 @@ "<TD>".S_CHANGE."</TD>"); echo "</TR>"; } - echo "</TABLE>"; + table_end(); show_table2_header_begin(); echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"Activate selected\" onClick=\"return Confirm('".S_ACTIVATE_SELECTED_ITEMS_Q."');\">"; echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"Disable selected\" onClick=\"return Confirm('".S_DISABLE_SELECTED_ITEMS_Q."');\">"; |
