summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d08d6b)
raw | patch | inline | side by side (parent: 2d08d6b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Feb 2010 16:26:02 +0000 (16:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 26 Feb 2010 16:26:02 +0000 (16:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15765 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pluglist.inc | patch | blob | history |
index b3f70b41b957cf7d153cdb6a0a7d9e58c1e2d9c6..103969ac3169501eb44bb3dd33854dab8868a5e1 100644 (file)
class pluglist
{
var $index= 0;
- var $menu= "";
- var $iconmenu= "";
- var $menuparts= array();
var $config= NULL;
var $dirlist= array();
var $ui= NULL;
- var $current= "";
var $info= array();
var $headlines = array();
var $silly_cache= array();
var $pluginList = array();
+ var $pathMenu = "";
+ var $menu= "";
+ var $iconmenu= "";
+
function pluglist(&$config, &$ui)
{
$this->ui= &$ui;
$menu.= "\n <li class='menu-header'>"._($headline)."</li>";
$id = 0;
foreach ($plug as $info){
+
+ // Used to detect the last element in the menu
$id ++;
+
list($index, $title, $desc, $icon) = $this->getPlugData($info['CLASS']);
$class= "";
if($id == count($plug)) $class=" class='menu-last' \n ";
function genPathMenu()
{
- if(1 | empty($this->pathMenu)){
-
+ if(empty($this->pathMenu)){
$this->pathMenu =
"\n <div class='plugin-path'>".
"\n <ul class='path-navigation'>".