summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9309261)
raw | patch | inline | side by side (parent: 9309261)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 15 Mar 2010 14:35:55 +0000 (14:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 15 Mar 2010 14:35:55 +0000 (14:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16533 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/admin/acl/acl-filter.tpl b/gosa-core/plugins/admin/acl/acl-filter.tpl
+++ /dev/null
@@ -1,37 +0,0 @@
-<div class="contentboxh">
- <p class="contentboxh">
- <img src="images/launch.png" align="right" alt="[F]">{t}Filter{/t}
- </p>
-</div>
-
-<div class="contentboxb">
-
-<div style="border-top:1px solid #AAAAAA"></div>
-
-{$ACL} <LABEL for='MAIL'>{t}Show access control lists{/t}</LABEL><br>
-{$ROLE} <LABEL for='SAMBA'>{t}Show roles{/t}</LABEL><br>
-
- <div style="border-top:1px solid #AAAAAA"></div>
- {$SCOPE}
-
- <table summary='{t}Filter options{/t}' style="width:100%;border-top:1px solid #B0B0B0;">
- <tr>
- <td>
- <label for="NAME">
- <img src="images/lists/search.png" align=middle> Name
- </label>
- </td>
- <td>
- {$NAME}
- </td>
- </tr>
- </table>
-
- <table summary='{t}Filter options{/t}' width="100%" style="background:#EEEEEE;border-top:1px solid #B0B0B0;">
- <tr>
- <td width="100%" align="right">
- {$APPLY}
- </td>
- </tr>
- </table>
-</div>
diff --git a/gosa-core/plugins/admin/acl/acl-filter.xml b/gosa-core/plugins/admin/acl/acl-filter.xml
index adf81e48ea20460681648d7168cb87bd3e127d17..83b1dce5e69eecb7f115e91804c6c5cfba958677 100644 (file)
<filterdef>
<definition>
<category>acl</category>
- <template>acl-filter.tpl</template>
<initial>true</initial>
+ <scope>auto</scope>
+ <default>default</default>
+ <attribute>dn</attribute>
+ <attribute>objectClass</attribute>
+ <attribute>cn</attribute>
+ <attribute>ou</attribute>
+ <attribute>description</attribute>
</definition>
<search>
+ <tag>default</tag>
+ <label>Default filter</label>
<query>
<backend>ACL</backend>
- <filter>(|$ACL$ROLE)$NAME</filter>
- <attribute>dn</attribute>
- <attribute>objectClass</attribute>
- <attribute>cn</attribute>
- <attribute>ou</attribute>
- <attribute>description</attribute>
+ <filter>(&(|(objectClass=gosaAcl)(objectClass=gosaRole))(|(cn=$)(description=$)(ou=$)))</filter>
</query>
- <scope>auto</scope>
+ <autocomplete>
+ <attribute>ou</attribute>
+ <attribute>cn</attribute>
+ <frequency>0.5</frequency>
+ <characters>3</characters>
+ </autocomplete>
</search>
- <element>
- <type>textfield</type>
- <tag>NAME</tag>
- <size>20</size>
- <maxlength>60</maxlength>
- <default></default>
- <unset></unset>
- <set>(|(cn=*$*)(ou=*$*)(description=*$*))</set>
- <alphabet>true</alphabet>
- <autocomplete>
+ <search>
+ <tag>rolesOnly</tag>
+ <label>Roles only</label>
+ <query>
<backend>ACL</backend>
- <filter>(&(|(objectClass=gosaAcl)(objectClass=gosaRole))(|(ou=*$NAME*)(description=*$NAME*)(cn=*$NAME*)))</filter>
+ <filter>(&(objectClass=gosaRole)(|(cn=$)(description=$)(ou=$)))</filter>
+ </query>
+ <autocomplete>
<attribute>ou</attribute>
<attribute>cn</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
- </element>
+ </search>
- <element>
- <type>checkbox</type>
- <tag>ACL</tag>
- <default>true</default>
- <set>(objectClass=gosaAcl)</set>
- <unset></unset>
- </element>
+ <search>
+ <tag>rolesAssignments</tag>
+ <label>Roles assignments</label>
+ <query>
+ <backend>ACL</backend>
+ <filter>(&(objectClass=gosaAcl)(|(cn=$)(description=$)(ou=$)))</filter>
+ </query>
+ <autocomplete>
+ <attribute>ou</attribute>
+ <attribute>cn</attribute>
+ <frequency>0.5</frequency>
+ <characters>3</characters>
+ </autocomplete>
+ </search>
- <element>
- <type>checkbox</type>
- <tag>ROLE</tag>
- <default>true</default>
- <unset></unset>
- <set>(objectClass=gosaRole)</set>
- </element>
</filterdef>
index 80d5e1b4f091bac1e7575fef0ef2922a03a5c023..8e4e43f4bec049e39008cc35a7156540f15fa43f 100644 (file)
<input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
-<table summary="" style="width:100%;height:100%" cellpadding=2>
- <tr>
- <td style="width:100%;">
- <div class="contentboxh">
- <p class="contentboxh"> {$HEADLINE} {$SIZELIMIT}</p>
- </div>
-
- <div class="contentboxb">
- <div style='background:white;padding:3px;'>
- <table><tr>
- <td>{$ROOT} </td><td>{$BACK} </td><td>{$HOME} </td><td>{$RELOAD} </td><td>{$SEPARATOR} </td><td>{t}Base{/t} {$BASE} </td><td>{$SEPARATOR} </td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
- </tr></table>
- </div>
- </div>
-
- <div style='height:4px;'>
- </div>
- {$LIST}
- </td>
- <td style='min-width:250px'>
- {$FILTER}
- </td>
- </tr>
-</table>
+<div id="mainlist">
+
+ <div class="mainlist-header">
+ <p>{$HEADLINE} {$SIZELIMIT}</p>
+ <div class="mainlist-nav">
+ <table>
+ <tr>
+ <td>{$ROOT}</td>
+ <td>{$BACK}</td>
+ <td>{$HOME}</td>
+ <td>{$RELOAD}</td>
+ <td class="left-border">{t}Base{/t} {$BASE}</td>
+ <td class="left-border">{$ACTIONS}</td>
+ <td class="left-border">{$FILTER}</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+
+ {$LIST}
+</div>
+
+<div class="clear"></div>
<input type="hidden" name="ignore">
+