summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-26 10:04:49 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-10-26 10:04:49 +0000
commitedf199a4f93b92945ef8a0f0a92730e4ec4f378e (patch)
tree8b1c5e405d627176f3f1baf03aea1acf96e80473 /frontends/php/include/forms.inc.php
parent7460263449bd69345c58bd3414c69fe6d145ce29 (diff)
downloadzabbix-edf199a4f93b92945ef8a0f0a92730e4ec4f378e.tar.gz
zabbix-edf199a4f93b92945ef8a0f0a92730e4ec4f378e.tar.xz
zabbix-edf199a4f93b92945ef8a0f0a92730e4ec4f378e.zip
- fixed IP validation
git-svn-id: svn://svn.zabbix.com/trunk@3387 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 4af25ba3..3dbfd1f5 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -84,7 +84,7 @@
$cmbTimeZone->AddItem($i, "GMT".sprintf("%+03d:00", $i));
}
$frmNode->AddRow(S_TIME_ZONE, $cmbTimeZone);
- $frmNode->AddRow(S_IP, new CIpBox('ip', $ip));
+ $frmNode->AddRow(S_IP, new CTextBox('ip', $ip, 15));
$frmNode->AddRow(S_PORT, new CNumericBox('port', $port,5));
$frmNode->AddRow(S_DO_NOT_KEEP_HISTORY_OLDER_THAN, new CNumericBox('slave_history', $slave_history,6));
$frmNode->AddRow(S_DO_NOT_KEEP_TRENDS_OLDER_THAN, new CNumericBox('slave_trends', $slave_trends,6));