summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee41672)
raw | patch | inline | side by side (parent: ee41672)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Apr 2008 12:32:50 +0000 (12:32 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Apr 2008 12:32:50 +0000 (12:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10145 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/groups/apps/app_list.tpl | patch | blob | history | |
gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/groups/apps/app_list.tpl b/gosa-plugins/goto/admin/groups/apps/app_list.tpl
index c30dfb9b5d951d3f5957f1a34f9e7e1463e39868..feb319bdd9c4f51395da70c5850a5ed331619b04 100644 (file)
</tr>
{elseif $item.TYPE == "FOLDER"}
{ if $i++ % 2 == 0}
- <tr class="rowxp1">
- {else}
<tr class="rowxp0">
+ {else}
+ <tr class="rowxp1">
{/if}
<td width="22" style='width:22px; padding-top:3px;padding-bottom:3px; overflow:hidden;'>
{if $item.ICON != ""}
diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index 4a3e50076c10cc67b1d6d4a3268a9a44af8a3053..6577bf28c6fdc48d89a918759562be754b2fca86 100644 (file)
/* Do we represent a valid account? */
if (!$this->is_account){
- $display= $this->show_enable_header(_("Add application extension"),
- _("Application extension disabled. You can enable it by clicking below."));
+ $display= $this->show_disable_header(msgPool::addFeaturesButton(_("Menu")), msgPool::featuresDisabled(_("Menu")));
return ($display);
}
- $display = $this->show_enable_header(_("Remove application extension"),
- _("Application extension enabled. You can disable it by clicking below."));
-
+ $display= $this->show_disable_header(msgPool::removeFeaturesButton(_("Menu")), msgPool::featuresEnabled(_("Menu")));
if(isset($_GET['send'])){
$id = $_GET['send'];
continue;
}
if($entry['STATUS'] == "REMOVED"){
- $Actions['Remove'][$entry['DN']] = $entry['DN'];
+ if(isset($entry['DN'])){
+ $Actions['Remove'][$entry['DN']] = $entry['DN'];
+ }else{
+ $Actions['Remove'][$cur_dn] = $cur_dn;
+ }
}
if($entry['STATUS'] == "EDITED"){
$Actions['Edit'][$cur_dn] = $attrs;