diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-19 15:34:39 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-19 15:34:39 +0000 |
| commit | 938eeba4af4a46126fc4d2fcbe46c15c98d70090 (patch) | |
| tree | daf653ad9c11f00b291719b19c19adcb72ca20f1 /frontends/php/items.php | |
| parent | a901997b009039670ecc3144465ecea54d16af4a (diff) | |
| download | zabbix-938eeba4af4a46126fc4d2fcbe46c15c98d70090.tar.gz zabbix-938eeba4af4a46126fc4d2fcbe46c15c98d70090.tar.xz zabbix-938eeba4af4a46126fc4d2fcbe46c15c98d70090.zip | |
- developed configuration interface of http monitoring (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3732 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index 3ba312f2..cad1886a 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -469,7 +469,7 @@ include_once "include/page_header.php"; $form->AddItem(array('[', new CLink($showdisabled ? S_HIDE_DISABLED_ITEMS : S_SHOW_DISABLED_ITEMS, - 'items.php?showdisabled='.($showdisabled ? 0 : 1),'action'), + '?showdisabled='.($showdisabled ? 0 : 1),'action'), ']', SPACE)); $cmbGroup = new CComboBox("groupid",$_REQUEST["groupid"],"submit();"); @@ -555,7 +555,7 @@ include_once "include/page_header.php"; { $template_host = get_realhost_by_itemid($db_item["templateid"]); array_push($description, - new CLink($template_host["host"],"items.php?". + new CLink($template_host["host"],"?". "hostid=".$template_host["hostid"], 'uncnown'), ":"); @@ -563,12 +563,12 @@ include_once "include/page_header.php"; array_push($description, new CLink( item_description($db_item["description"],$db_item["key_"]), - "items.php?form=update&itemid=". + "?form=update&itemid=". $db_item["itemid"].url_param("hostid").url_param("groupid"), 'action')); $status=new CCol(new CLink(item_status2str($db_item["status"]), - "items.php?group_itemid%5B%5D=".$db_item["itemid"]. + "?group_itemid%5B%5D=".$db_item["itemid"]. "&hostid=".$_REQUEST["hostid"]. "&group_task=".($db_item["status"] ? "Activate+selected" : "Disable+selected"), item_status2style($db_item["status"]))); @@ -600,19 +600,19 @@ include_once "include/page_header.php"; } $footerButtons = array(); - array_push($footerButtons, new CButton('group_task','Activate selected', + array_push($footerButtons, new CButton('group_task',S_ACTIVATE_SELECTED, "return Confirm('".S_ACTIVATE_SELECTED_ITEMS_Q."');")); array_push($footerButtons, SPACE); - array_push($footerButtons, new CButton('group_task','Disable selected', + array_push($footerButtons, new CButton('group_task',S_DISABLE_SELECTED, "return Confirm('".S_DISABLE_SELECTED_ITEMS_Q."');")); array_push($footerButtons, SPACE); - array_push($footerButtons, new CButton('group_task','Clean history selected items', - "return Confirm('History cleaning can take a long time. Continue?');")); + array_push($footerButtons, new CButton('group_task',S_CLEAN_HISTORY_SELECTED_ITEMS, + "return Confirm('".S_HISTORY_CLEANING_CAN_TAKE_A_LONG_TIME_CONTINUE_Q."');")); array_push($footerButtons, SPACE); - array_push($footerButtons, new CButton('group_task','Delete selected', + array_push($footerButtons, new CButton('group_task',S_DELETE_SELECTED, "return Confirm('".S_DELETE_SELECTED_ITEMS_Q."');")); array_push($footerButtons, SPACE); - array_push($footerButtons, new CButton('form_copy_to','Copy selected to ...')); + array_push($footerButtons, new CButton('form_copy_to',S_COPY_SELECTED_TO)); $table->SetFooter(new CCol($footerButtons)); $form->AddItem($table); |
