diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-27 11:56:36 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-27 11:56:36 +0000 |
commit | 1fb44c22f51cccab8f5c32b51fd8b52969c36073 (patch) | |
tree | abac8d01bac879156b1d1ea654d4eaccd0d8a69b /frontends/php/include/classes/cpumenu.inc.php | |
parent | 4606e2b5acf4fd9527d106e01c87bba1a263a166 (diff) | |
download | zabbix-1fb44c22f51cccab8f5c32b51fd8b52969c36073.tar.gz zabbix-1fb44c22f51cccab8f5c32b51fd8b52969c36073.tar.xz zabbix-1fb44c22f51cccab8f5c32b51fd8b52969c36073.zip |
- added popup menu for quick hosts controlling in configuration screen (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3941 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/cpumenu.inc.php')
-rw-r--r-- | frontends/php/include/classes/cpumenu.inc.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/php/include/classes/cpumenu.inc.php b/frontends/php/include/classes/cpumenu.inc.php index 1b697941..95cb104e 100644 --- a/frontends/php/include/classes/cpumenu.inc.php +++ b/frontends/php/include/classes/cpumenu.inc.php @@ -30,6 +30,22 @@ function CPUMenu($items=array(), $width=null) { $this->InsertJavaScript(); + /*********************** ITEM ARRAY *********************** + ITEM: array(name, url, param, css, submenu1, submenu2, ... , submenuN) + + name: text + url: text (url for href perameter) + param: array(tw => t_val, sb => s_val) + tw: target parameter + t_val: one of '_blank', '_parent', '_self', '_top' + sb: text for statusbar) + s_val: text + css: array(outer => cssarray, inner => cssarray) + outer -> style for outer div element + inner -> style for inner link element with text + cssarray -> array(normal, mouseover, mousedown) + submen1-N: list of subitems + **********************************************************/ $this->items = $items; $this->width = $width; } |