diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-21 15:44:31 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-21 15:44:31 +0000 |
commit | b6f0565a4e0809d29950d26e95050ff4a3deaa8f (patch) | |
tree | 4965433b13f68c7c51119e0a7744ce7f6004c7fe /frontends/php/scripts.php | |
parent | 3e8c5c43f93bdc2cea90a021eedee58327d83641 (diff) | |
download | zabbix-b6f0565a4e0809d29950d26e95050ff4a3deaa8f.tar.gz zabbix-b6f0565a4e0809d29950d26e95050ff4a3deaa8f.tar.xz zabbix-b6f0565a4e0809d29950d26e95050ff4a3deaa8f.zip |
- [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
Diffstat (limited to 'frontends/php/scripts.php')
-rw-r--r-- | frontends/php/scripts.php | 11 |
1 files changed, 7 insertions, 4 deletions
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'); |