summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24e255e)
raw | patch | inline | side by side (parent: 24e255e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Mar 2010 11:00:16 +0000 (11:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Mar 2010 11:00:16 +0000 (11:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15793 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pluglist.inc | patch | blob | history |
index 9166656b5df3bd153c4477e2ecf7404fcf0cdb94..7a8ebc5508a25786b5604cb605035c9bbbfc725b 100644 (file)
*/
function gen_menu()
{
- if (1 || $this->menu == ""){
+ if ($this->menu == ""){
$cfg= $this->config->data['MENU'];
$menu = "\n <div class='navigation'>";
foreach ($cfg as $headline => $plug){
function show_iconmenu()
{
$add_hr =FALSE;
+ $this->iconmenu = "";
if ($this->iconmenu == ""){
$cfg= $this->config->data['MENU'];
foreach ($cfg as $headline => $plug){
$col= 0;
- $this->iconmenu .= "\n <div class='clear'></div>\n";
+ $this->iconmenu .= "\n <div class='clear'></div>";
if($add_hr){
$add_hr = FALSE;
- $this->iconmenu .= "\n <hr>\n";
+ $this->iconmenu .= "\n <hr>";
}
- $this->iconmenu .= "\n <h3 class='icon-menu-title'>". _($headline)."</h3>\n";
+ $this->iconmenu .= "\n <h3 class='icon-menu-title'>". _($headline)."</h3>";
foreach ($plug as $info){
// Add a seperating row
if (($col % 4) == 0){
- $this->iconmenu .= "\n <div class='clear'></div>\n";
+ $this->iconmenu .= "\n <div class='clear'></div>";
}
-
- $this->iconmenu.= "\n <div class='icon-menu-item' style='width: 25%;' onclick='openPlugin({$index})'>";
- $this->iconmenu.= "\n ".image($icon);
- $this->iconmenu.= "\n <div class='dsc'>";
- $this->iconmenu.= "\n <h1>{$title}</h1>";
- $this->iconmenu.= "\n <p>{$desc}</p>";
- $this->iconmenu.= "\n </div>";
- $this->iconmenu.= "\n </div>";
-
+ $this->iconmenu.= "\n <div class='icon-menu-item' style='width: 25%;' onclick='openPlugin({$index})'>";
+ $this->iconmenu.= "\n ".image($icon);
+ $this->iconmenu.= "\n <div class='dsc'>";
+ $this->iconmenu.= "\n <h1>{$title}</h1>";
+ $this->iconmenu.= "\n <p>{$desc}</p>";
+ $this->iconmenu.= "\n </div>";
+ $this->iconmenu.= "\n </div>";
$col++ ;
}
$add_hr = TRUE;
function genPathMenu()
{
- if(1 || empty($this->pathMenu)){
+ if(empty($this->pathMenu)){
$this->pathMenu =
"\n <div class='plugin-path'>".
"\n <ul class='path-navigation'>".