diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-07-30 10:59:01 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-07-30 10:59:01 +0000 |
| commit | 1c748941b07e728464ef7b165c06358d04d31c55 (patch) | |
| tree | 55c283d9c21e2d43056daf8beb101d77916ff63a /frontends/php/include | |
| parent | 2dabeccc3507f7f02566ab08149c9e76c0228f15 (diff) | |
| download | zabbix-1c748941b07e728464ef7b165c06358d04d31c55.tar.gz zabbix-1c748941b07e728464ef7b165c06358d04d31c55.tar.xz zabbix-1c748941b07e728464ef7b165c06358d04d31c55.zip | |
- changed how status is viewed in IT Services (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4481 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/classes/ctree.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/php/include/classes/ctree.inc.php b/frontends/php/include/classes/ctree.inc.php index c224c2fc..56934fb8 100644 --- a/frontends/php/include/classes/ctree.inc.php +++ b/frontends/php/include/classes/ctree.inc.php @@ -97,7 +97,7 @@ function MakeSHTMLRow($id){ $table->AddOption('width','200'); $tr = $this->MakeSImgStr($id); - + $td = new CCol($this->tree[$id]['caption']); $td->SetAlign('left'); @@ -108,13 +108,11 @@ function MakeSHTMLRow($id){ $tr = new CRow(); $tr->AddItem($table); $tr->AddOption('id',$id); -// $tr->AddOption('ntype',$this->tree[$id]['childs']); $tr->AddOption('style',($this->tree[$id]['parentid'] != '0')?('display: none;'):('')); + $tr->AddOption('valign','top'); foreach($this->fields as $key => $value){ -// $tr->AddItem(' '); $td = new CCol($this->tree[$id][$value]); -// $td->SetAlign('left'); $tr->AddItem($td); } return $tr; @@ -123,6 +121,8 @@ return $tr; function MakeSImgStr($id){ $tr = new CRow(); $tr->AddOption('height',18); +// $tr->AddOption('valign','top'); + $count=(isset($this->tree[$id]['nodeimg']))?(strlen($this->tree[$id]['nodeimg'])):(0); for($i=0; $i<$count; $i++){ switch($this->tree[$id]['nodeimg'][$i]){ @@ -135,7 +135,7 @@ function MakeSImgStr($id){ case 'L': if($this->tree[$id]['nodetype'] == 2){ $img= new CImg('images/general/tree/Yc.gif','y','22','18'); - $img->AddOption('onclick','javascript: tree.closeSNodeX('.$id.',this);'); + $img->AddOption('OnClick','javascript: tree.closeSNodeX('.$id.',this);'); $img->AddOption('id',$id.'I'); $img->SetClass('imgnode'); @@ -146,7 +146,7 @@ function MakeSImgStr($id){ case 'T': if($this->tree[$id]['nodetype'] == 2){ $img= new CImg('images/general/tree/Xc.gif','x','22','18'); - $img->AddOption('onclick','javascript: tree.closeSNodeX('.$id.',this);'); + $img->AddOption('OnClick','javascript: tree.closeSNodeX('.$id.',this);'); $img->AddOption('id',$id.'I'); $img->SetClass('imgnode'); } else { |
