From e47313ccd3ff34c15eb02b02baa02c82995ba06e Mon Sep 17 00:00:00 2001 From: osmiy Date: Thu, 12 Jan 2006 09:36:25 +0000 Subject: - Frontend improvements. (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2520 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/ctextbox.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontends/php/include/classes/ctextbox.inc.php') diff --git a/frontends/php/include/classes/ctextbox.inc.php b/frontends/php/include/classes/ctextbox.inc.php index 0a00de40..9777bc74 100644 --- a/frontends/php/include/classes/ctextbox.inc.php +++ b/frontends/php/include/classes/ctextbox.inc.php @@ -24,7 +24,7 @@ /* private */ var $caption; /* public */ - function CTextBox($name='textbox',$value="",$size=20,$caption=NULL) + function CTextBox($name='textbox',$value="",$size=20,$caption=NULL,$readonly="no") { parent::CTag("input","no"); $this->SetClass("biginput"); @@ -32,6 +32,7 @@ $this->SetSize($size); $this->SetCaption($caption); $this->SetValue($value); + $this->SetReadonly($readonly); } function Show() { -- cgit