diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-30 11:21:15 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-30 11:21:15 +0000 |
| commit | 1911c670de385a295b404edcf8a3764d64c25614 (patch) | |
| tree | 3615108eaec5c722e91ae220585626ebd676665b /frontends/php/include/classes/cimg.inc.php | |
| parent | 99334a88dbac754adc43e82dbfe1027b28c4d9de (diff) | |
| download | zabbix-1911c670de385a295b404edcf8a3764d64c25614.tar.gz zabbix-1911c670de385a295b404edcf8a3764d64c25614.tar.xz zabbix-1911c670de385a295b404edcf8a3764d64c25614.zip | |
- Frontend improvements (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2572 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/cimg.inc.php')
| -rw-r--r-- | frontends/php/include/classes/cimg.inc.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/frontends/php/include/classes/cimg.inc.php b/frontends/php/include/classes/cimg.inc.php index 11503faf..cd557489 100644 --- a/frontends/php/include/classes/cimg.inc.php +++ b/frontends/php/include/classes/cimg.inc.php @@ -22,14 +22,21 @@ class CImg extends CTag { /* public */ - function CImg($src,$alt_text=NULL,$width=NULL,$height=NULL) + function CImg($src,$alt_text=NULL,$width=NULL,$height=NULL,$class=NULL) { parent::CTag("img","no"); + + $this->tag_start= ""; + $this->tag_end = ""; + $this->tag_body_start = ""; + $this->tag_body_end = ""; + $this->AddOption('border',0); $this->SetAltText($alt_text); $this->SetSrc($src); $this->SetWidth($width); $this->SetHeight($height); + $this->SetClass($class); } function SetSrc($value) { |
