summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a29650)
raw | patch | inline | side by side (parent: 4a29650)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Feb 2010 15:44:10 +0000 (15:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Feb 2010 15:44:10 +0000 (15:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15763 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pluglist.inc | patch | blob | history |
index f52b9fda7316e99c39f663deb87d4a15a0831dc2..81f9a8d9f5894775d52d9acbc907d0fb22ed32e9 100644 (file)
// Get list of plugin paths, this allows us to open the plugins main.inc if available.
$this->dirlist= $this->get_plugins ($this->dirlist, $this->config->data['MENU']);
+ $this->dirlist= array_merge($this->dirlist,$this->get_plugins ($this->dirlist, $this->config->data['MENU']));
// Detect installed plugins and their configuration, to be able to restrict access later.
$classes= get_declared_classes();
}
list($index, $title, $desc, $icon) = $this->getPlugData($plug['CLASS']);
- $this->pathMenu.= "\n <li class='right left-border'>{$title}</li>";
+ $this->allowed_plugins[$index] = $index;
+ $this->pathMenu.= "\n <li class='right left-border' onClick='openPlugin({$index})'>{$title}</li>";
}
}
$this->pathMenu.= "\n </ul>";