From df3177a78e02405a97d25858a968833a99548755 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 2 Mar 2010 13:55:58 +0000 Subject: [PATCH] Updated base selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15861 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_baseSelector.inc | 4 ++-- gosa-core/update-gosa | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_baseSelector.inc b/gosa-core/include/class_baseSelector.inc index ba182b7f7..f2a852abe 100644 --- a/gosa-core/include/class_baseSelector.inc +++ b/gosa-core/include/class_baseSelector.inc @@ -185,8 +185,8 @@ class baseSelector { } $selected= $this->base == $base?" class='treeListSelected'":""; $link= "onclick=\"\$('bs_rebase_".$this->pid."').value='".base64_encode($base)."';$('submit_tree_base_".$this->pid."').click();\""; - $this->tree.= "
  • ". - image($config->department_info[$base]['img'])." ". + $this->tree.= "
  • ". + image($config->department_info[$base]['img'])." ". $this->gennonbreaks($config->department_info[$base]['name']). ($config->department_info[$base]['description']==''?'':' ['.$this->gennonbreaks($config->department_info[$base]['description']).']'). ""; diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 1a9a0f1d9..c94fe9809 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -562,7 +562,7 @@ function rescan_images($path, $theme) } // New image if it is not already one - if (preg_match('/new/', $indexPath)) { + if (preg_match('/new/', $indexPath) && !preg_match('/new\.png$/', $indexPath)) { echo "!"; $warnings[]= "Warning: skipped possible *new* image $path"; flush(); -- 2.30.2