From b6f0565a4e0809d29950d26e95050ff4a3deaa8f Mon Sep 17 00:00:00 2001 From: artem Date: Mon, 21 Jan 2008 15:44:31 +0000 Subject: - [DEV-97] added screen for easier creation of locales (Artem); - [ZBX-253] fixes problem in frontend with long int values (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5268 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/scripts.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'frontends/php/scripts.php') diff --git a/frontends/php/scripts.php b/frontends/php/scripts.php index 84dd2b0d..4dececf4 100644 --- a/frontends/php/scripts.php +++ b/frontends/php/scripts.php @@ -25,7 +25,7 @@ $page['title'] = "S_SCRIPTS"; $page['file'] = 'scripts.php'; - + $page['hist_arg'] = array('scriptid','form'); include_once "include/page_header.php"; @@ -47,10 +47,10 @@ include_once "include/page_header.php"; 'command'=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, 'isset({save})'), 'access'=> array(T_ZBX_INT, O_OPT, NULL, IN('0,1'), 'isset({save})'), - 'form'=> array(T_ZBX_STR, O_OPT, NULL, IN('0,1'), null), + 'form'=> array(T_ZBX_STR, O_OPT, NULL, NULL, null), 'form_refresh'=> array(T_ZBX_INT, O_OPT, NULL, NULL, null), ); - + check_fields($fields); if(isset($_REQUEST['action'])){ @@ -117,7 +117,10 @@ if(isset($_REQUEST['action'])){ } if(isset($_REQUEST['form'])){ - + + show_table_header(S_SCRIPTS); + echo SBR; + $frmScr = new CFormTable(S_SCRIPT,'scripts.php','POST',null,'form'); $frmScr->AddOption('id','scripts'); -- cgit