summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpconf.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-23 08:12:44 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-23 08:12:44 +0000
commita47ca5eba7468284d5f1118c5e81baf708954304 (patch)
tree448dae7a4c871f9c9c516002681fd96c0e103a21 /frontends/php/httpconf.php
parentc9ab150760446741460d7ef65de9f5ca643beb82 (diff)
downloadzabbix-a47ca5eba7468284d5f1118c5e81baf708954304.tar.gz
zabbix-a47ca5eba7468284d5f1118c5e81baf708954304.tar.xz
zabbix-a47ca5eba7468284d5f1118c5e81baf708954304.zip
- simpled code for butons with question alerts
- minor fixes - minore php code improvement git-svn-id: svn://svn.zabbix.com/trunk@3911 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpconf.php')
-rw-r--r--frontends/php/httpconf.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/frontends/php/httpconf.php b/frontends/php/httpconf.php
index ec5b82b6..522d5b5b 100644
--- a/frontends/php/httpconf.php
+++ b/frontends/php/httpconf.php
@@ -517,17 +517,13 @@ include_once "include/page_header.php";
}
$footerButtons = array();
- array_push($footerButtons, new CButton('group_task',S_ACTIVATE_SELECTED,
- "return Confirm('".S_ACTIVATE_SELECTED_SCENARIOS_Q."');"));
+ array_push($footerButtons, new CButtonQMessage('group_task',S_ACTIVATE_SELECTED,S_ACTIVATE_SELECTED_SCENARIOS_Q));
array_push($footerButtons, SPACE);
- array_push($footerButtons, new CButton('group_task',S_DISABLE_SELECTED,
- "return Confirm('".S_DISABLE_SELECTED_SCENARIOS_Q."');"));
+ array_push($footerButtons, new CButtonQMessage('group_task',S_DISABLE_SELECTED,S_DISABLE_SELECTED_SCENARIOS_Q));
array_push($footerButtons, SPACE);
- array_push($footerButtons, new CButton('group_task',S_CLEAN_HISTORY_SELECTED_SCENARIOS,
- "return Confirm('".S_HISTORY_CLEANING_CAN_TAKE_A_LONG_TIME_CONTINUE_Q."');"));
+ array_push($footerButtons, new CButtonQMessage('group_task',S_CLEAN_HISTORY_SELECTED_SCENARIOS,S_HISTORY_CLEANING_CAN_TAKE_A_LONG_TIME_CONTINUE_Q));
array_push($footerButtons, SPACE);
- array_push($footerButtons, new CButton('group_task',S_DELETE_SELECTED,
- "return Confirm('".S_DELETE_SELECTED_SCENARIOS_Q."');"));
+ array_push($footerButtons, new CButtonQMessage('group_task',S_DELETE_SELECTED,S_DELETE_SELECTED_SCENARIOS_Q));
$table->SetFooter(new CCol($footerButtons));
$form->AddItem($table);