summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8e28f6)
raw | patch | inline | side by side (parent: d8e28f6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Nov 2007 10:26:52 +0000 (10:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Nov 2007 10:26:52 +0000 (10:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7936 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_MultiSelectWindow.inc | patch | blob | history | |
plugins/admin/acl/class_divListACL.inc | patch | blob | history |
index aefb8b8f365c2966ed39e0ed0ffe15059cde63fd..15284030deae7c68832939e63403b7ef6a1b62e7 100644 (file)
/* Create header snapshot value */
function get_snapshot_header($layer_menu = FALSE)
{
- $str = " ";
+ $str = "";
if($this->parent->snapshotEnabled()){
$ok = false;
foreach($this->parent->get_used_snapshot_bases() as $base){
index 2c0374a05b58c455583f3046067620fb3793b9ed..7da9936335571a7ac86694dd3a6d66157e33c7db 100644 (file)
/* Add snapshot icons */
if(preg_match("/(c.*w|w.*c)/",$acl_all)){
- $s .= "..|---|\n";
- $s .= $this->get_snapshot_header(TRUE);
+ $str = $this->get_snapshot_header(TRUE) ;
+ if(!empty($str)){
+ $s .= "..|---|\n";
+ $s .= $str;
+ }
}
$this->SetDropDownHeaderMenu($s);