Code

Updated buttons
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 12:16:09 +0000 (12:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 12:16:09 +0000 (12:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16747 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/acl-filter.xml
gosa-core/plugins/admin/acl/tabs_acl.inc

index 83b1dce5e69eecb7f115e91804c6c5cfba958677..1ac185be41f71dbdc66b2fa971cf0bffd5a98e92 100644 (file)
@@ -30,9 +30,9 @@
 
   <search>
     <tag>rolesOnly</tag>
-    <label>Roles only</label>
+    <label>Roles</label>
     <query>
-      <backend>ACL</backend>
+      <backend>ACL role</backend>
       <filter>(&amp;(objectClass=gosaRole)(|(cn=$)(description=$)(ou=$)))</filter>
     </query>
     <autocomplete>
@@ -45,7 +45,7 @@
 
   <search>
     <tag>rolesAssignments</tag>
-    <label>Roles assignments</label>
+    <label>ACL Assignment</label>
     <query>
       <backend>ACL</backend>
       <filter>(&amp;(objectClass=gosaAcl)(|(cn=$)(description=$)(ou=$)))</filter>
index 8f883795b2e2b9678b4ede9c294ae38f9a7645aa..b7bdae0d69ef5456edfe3675c95e490efbeb517a 100644 (file)
@@ -78,14 +78,13 @@ class acltab extends tabs
   {
     $display= tabs::execute();
     if($this->read_only){
-      $display.= "<p style=\"text-align:right\">\n";
-      $display.= "  <input type=submit name=\"edit_cancel\" value=\"".msgPool::cancelButton()."\">\n";
-      $display.= "</p>";
+      $display.= "<div class='plugin-actions'>";
+      $display.= "  <button type=submit name=\"edit_cancel\">".msgPool::cancelButton()."</button>\n";
+      $display.= "</div>";
     }elseif(!$this->by_object['acl']->dialog){
       $display.= "<p style=\"text-align:right\">\n";
-      $display.= "  <input type=submit name=\"edit_finish\" style=\"width:80px\" value=\"".msgPool::okButton()."\">\n";
-      $display.= "  &nbsp;\n";
-      $display.= "  <input type=submit name=\"edit_cancel\" value=\"".msgPool::cancelButton()."\">\n";
+      $display.= "  <button type=submit name=\"edit_finish\">".msgPool::okButton()."</button>\n";
+      $display.= "  <button type=submit name=\"edit_cancel\">".msgPool::cancelButton()."</button>\n";
       $display.= "</p>";
     }
     return($display);