summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7467061)
raw | patch | inline | side by side (parent: 7467061)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Aug 2008 12:02:26 +0000 (12:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Aug 2008 12:02:26 +0000 (12:02 +0000) |
-Fixed ACLs
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12188 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12188 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc
index 349f28ef38ad32772f10583374c7161a6616979e..597ce6ae117522c5f3c078d3d33fad58910bc169 100644 (file)
# "stop" => _("Service stop"), // Remove this to hide the stop button at all.
# "restart" => _("Service restart"),// Remove this to hide the restart button at all.
- "cn" => _("Name"),
- "Release" => _("Releases"),
- "Section" => _("Sections"),
+# "cn" => _("Name"),
"ParentServer" => _("Parent server"),
- "Url" => _("Url"))
+ "Release" => _("Releases"),
+ "Url" => _("Url"),
+ "Section" => _("Sections"))
));
}
}
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc
index 0c4bbd1c99b58cb3b810f988fffb5679a744c56b..e2e9a4d8a0af1ac7d73c3d753c64a675cc5fed9c 100644 (file)
$divlist = new divSelectBox("servRepositorySetup");
$divlist->setHeight("220");
- $dellink = "<input type='image' src='images/lists/trash.png' title='delete' alt='delete' name='delete_%s' value='%s'>";
+ if(preg_match("/w/",$this->parent->getacl("Section"))){
+ $dellink = "<input type='image' src='images/lists/trash.png' title='delete' alt='delete' name='delete_%s' value='%s'>";
+ }else{
+ $dellink = "";
+ }
+
foreach($this->Sections as $sec){
$divlist->AddEntry(array(
array("string"=>$sec),