summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13f1426)
raw | patch | inline | side by side (parent: 13f1426)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Mar 2010 14:15:26 +0000 (14:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Mar 2010 14:15:26 +0000 (14:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16642 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.tpl b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-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>
-
-{$USER} <LABEL for='SAMBA'>{t}Show users{/t}</LABEL><br>
-{$GROUP} <LABEL for='POSIX'>{t}Show groups{/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/groups/userGroupSelect/selectUserGroup-filter.xml b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.xml
index c0442846e7c70be9e89a9068284b20cf9673d29c..0d708b45ed7fccc5b23b2915554da6989460f328 100644 (file)
<filterdef>
<definition>
<category>users</category>
- <template>../plugins/admin/groups/userGroupSelect/selectUserGroup-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>uid</attribute>
+ <attribute>givenName</attribute>
+ <attribute>description</attribute>
+ <attribute>userPassword</attribute>
</definition>
<search>
+ <tag>default</tag>
+ <label>Default filter</label>
<query>
<backend>LDAPBlacklist</backend>
- <filter>(&(|$USER $GROUP ) $NAME)</filter>
- <attribute>dn</attribute>
- <attribute>objectClass</attribute>
- <attribute>cn</attribute>
- <attribute>sn</attribute>
- <attribute>uid</attribute>
- <attribute>givenName</attribute>
- <attribute>description</attribute>
- <attribute>userPassword</attribute>
+ <filter>(&(|(objectClass=gosaAccount)(objectClass=posixAccount))(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>(|(cn=*$*)(sn=*$*)(givenName=*$*)(uid=*$*))</set>
- <alphabet>true</alphabet>
<autocomplete>
- <backend>LDAPBlacklist</backend>
- <filter>(&(objectClass=posixAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)(uid=*$NAME*)))</filter>
<attribute>cn</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
- </element>
-
- <element>
- <type>checkbox</type>
- <tag>USER</tag>
- <default>true</default>
- <set>(&(objectClass=posixAccount)(!(objectClass=gosaUserTemplate)))</set>
- <unset></unset>
- </element>
-
- <element>
- <type>checkbox</type>
- <tag>GROUP</tag>
- <default>true</default>
- <unset></unset>
- <set>(objectClass=posixGroup)</set>
- </element>
+ </search>
</filterdef>
diff --git a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.tpl b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.tpl
index 8fad4d134d09a9204fd6ca87f76f900c7c799c6d..4c0b986ffec9eb1f46093928aecbb2fc16463062 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:0px;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>
- {$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">
-<p class='separator'> </p>
- <p style="text-align:right;min-width:250px">
- <input type=submit name="userGroupSelect_save" value="{msgPool type=okButton}">
-
- <input type=submit name="userGroupSelect_cancel" value="{msgPool type=cancelButton}">
-</p>
+ <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="userGroupSelect_save">{msgPool type=okButton}"</button>
+ <button type="submit" name="userGroupSelect_cancel">{msgPool type=cancelButton}"</button>
+</div>
<input type="hidden" name="ignore">