summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f41ceeb)
raw | patch | inline | side by side (parent: f41ceeb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Mar 2010 14:15:24 +0000 (14:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Mar 2010 14:15:24 +0000 (14:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16641 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-filter.tpl b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-filter.tpl
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="contentboxh">
- {image path="images/launch.png" align="right"}
- <p class="contentboxh">
- {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>
- {image path="images/lists/search.png"}
- <label for="NAME">
- 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/groups/singleUserSelect/singleUser-filter.xml b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-filter.xml
index 57d7d956f5a2933d94781f1f405afa410d20b570..c2bcb30e1007cd4e4929233b576047a347d6a13b 100644 (file)
<filterdef>
<definition>
<category>groups</category>
- <template>../plugins/admin/groups/singleUserSelect/singleUser-filter.tpl</template>
<initial>true</initial>
+ <default>default</default>
+ <scope>auto</scope>
+ <attribute>dn</attribute>
+ <attribute>objectClass</attribute>
+ <attribute>cn</attribute>
+ <attribute>sn</attribute>
+ <attribute>givenName</attribute>
+ <attribute>uid</attribute>
+ <attribute>description</attribute>
</definition>
<search>
+ <tag>default</tag>
+ <label>Default filter</label>
<query>
<backend>LDAPBlacklist</backend>
- <filter>(&(objectClass=gosaAccount)$NAME)</filter>
- <attribute>dn</attribute>
- <attribute>objectClass</attribute>
- <attribute>cn</attribute>
- <attribute>sn</attribute>
- <attribute>givenName</attribute>
- <attribute>uid</attribute>
- <attribute>description</attribute>
+ <filter>(&(objectClass=gosaAccount)(cn=$))</filter>
</query>
- <scope>auto</scope>
- </search>
-
- <element>
- <type>textfield</type>
- <tag>NAME</tag>
- <size>20</size>
- <maxlength>60</maxlength>
- <default></default>
- <unset></unset>
- <set>(|(sn=*$*)(givenName=*$*)(cn=*$*)(uid=*$*))</set>
- <alphabet>true</alphabet>
<autocomplete>
- <backend>LDAPBlacklist</backend>
- <filter>(&(objectClass=gosaAccount)(|(sn=*$NAME*)(givenName=*$NAME*)(cn=*$NAME*)(uid=*$NAME*)))</filter>
<attribute>cn</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
- </element>
+ </search>
</filterdef>
diff --git a/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.tpl b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.tpl
index 6f9933808d519d4a5c5299fed5f3770c5fa46560..05bccc7c1411ad399fb621b8d7c6040251c8dc5b 100644 (file)
-<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>{image path="images/rocket.png"}
-</td><td> {$ACTIONS}</td>
- </tr></table>
- </div>
- </div>
-
- <div style='height:4px;'>
- </div>
- {$LIST}
- </td>
- <td style='min-width:250px'>
- {$FILTER}
- </td>
- </tr>
-</table>
+<input type='image' src='images/empty.png' name='no_action_posted' value='do_nothing' alt='' style='width:2px;height:2px;'>
+
+<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>
<div class="plugin-actions">
<button type='submit' name='add_users_cancel'>{msgPool type=cancelButton}</button>