From: hickert Date: Fri, 26 Feb 2010 12:23:17 +0000 (+0000) Subject: Updated Icon Menu X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3eece957373c7be9f9244cdedd11591279fa53ec;p=gosa.git Updated Icon Menu git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15744 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_pluglist.inc b/gosa-core/include/class_pluglist.inc index 4e5e5dd0d..b246cb322 100644 --- a/gosa-core/include/class_pluglist.inc +++ b/gosa-core/include/class_pluglist.inc @@ -240,13 +240,18 @@ class pluglist { { global $class_mapping; + $add_hr =FALSE; if ($this->iconmenu == ""){ $cfg= $this->config->data['MENU']; foreach ($cfg as $headline => $plug){ $col= 0; + if($add_hr){ + $add_hr = FALSE; + $this->iconmenu .= "\n
\n"; + } $this->iconmenu .= "\n
\n"; - $this->iconmenu .= "\n

". _($headline)."

\n"; + $this->iconmenu .= "\n

". _($headline)."

\n"; foreach ($plug as $info){ @@ -287,6 +292,7 @@ class pluglist { $this->iconmenu.= "\n \n"; $col++ ; } + $add_hr = TRUE; } } return ($this->iconmenu);