summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efa2904)
raw | patch | inline | side by side (parent: efa2904)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Mar 2010 07:45:05 +0000 (07:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Mar 2010 07:45:05 +0000 (07:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16578 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/role-filter.tpl b/gosa-plugins/rolemanagement/admin/roleManagement/role-filter.tpl
+++ /dev/null
@@ -1,33 +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>
-
- {$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-plugins/rolemanagement/admin/roleManagement/role-filter.xml b/gosa-plugins/rolemanagement/admin/roleManagement/role-filter.xml
index 6547c0cdb37aba6247b9e71889a57e5e62f98fa7..bdd95b7a9d97cf67bf3df30261daf2220b4fa7b8 100644 (file)
<filterdef>
<definition>
<category>roles</category>
- <template>role-filter.tpl</template>
<initial>true</initial>
+ <scope>auto</scope>
+ <default>default</default>
+ <attribute>dn</attribute>
+ <attribute>objectClass</attribute>
+ <attribute>cn</attribute>
+ <attribute>description</attribute>
</definition>
<search>
+ <tag>default</tag>
+ <label>Defailt filter</label>
<query>
<backend>LDAP</backend>
- <filter>(&(objectClass=organizationalRole)$NAME)</filter>
- <attribute>dn</attribute>
- <attribute>objectClass</attribute>
- <attribute>cn</attribute>
- <attribute>description</attribute>
+ <filter>(&(objectClass=organizationalRole)(cn=$))</filter>
</query>
- <scope>auto</scope>
+ <autocomplete>
+ <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=*$*)</set>
- <alphabet>false</alphabet>
- <autocomplete>
+ <search>
+ <tag>default2</tag>
+ <label>Defailt filter2</label>
+ <query>
<backend>LDAP</backend>
- <filter>(&(objectClass=organizationalRole)(cn=*$NAME*))</filter>
+ <filter>(&(objectClass=organizationalRole)(cn=$))</filter>
+ </query>
+ <autocomplete>
<attribute>cn</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
- </element>
-
+ </search>
</filterdef>
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/role-list.tpl b/gosa-plugins/rolemanagement/admin/roleManagement/role-list.tpl
index c9d5114166c134b220bdcfe637edb130476880a4..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%; vertical-align:top; text-align:left;" cellpadding=2>
- <tr>
- <td style="vertical-align:top; 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='vertical-align:top;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">
+
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml b/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml
index 0e4a5348965c2df344495f968cc81499967dfc84..0e7e50a8f22afa25d9c941296811410654e7d100 100644 (file)
<action>
<type>sub</type>
- <image>images/lists/new.png</image>
+ <image>plugins/rolemanagement/images/role.png[new]</image>
<label>Create</label>
<action>
<name>new</name>
<type>entry</type>
- <image>plugins/rolemanagement/images/new.png</image>
+ <image>plugins/rolemanagement/images/role.png</image>
<label>Role</label>
</action>
</action>