Code

Updated group.inc
[gosa.git] / gosa-core / plugins / admin / users / user-list.xml
index e906af6c68bc370bbfb8e85ac3e6abe186ad570c..a7a12ba85b5b912775f3a15105bdfed993ef8140 100644 (file)
@@ -30,7 +30,7 @@
   </definition>
 
   <table>
-    <layout>|20px||260px|180px;r|</layout>
+    <layout>|20px;c||||150px|185px;r|</layout>
 
     <department>
       <value>%{filter:objectType(dn,objectClass)}</value>
       <value>%{filter:objectType(dn,objectClass)}</value>
     </column>
 
+    <column>
+      <label>Surname</label>
+      <sortAttribute>sn</sortAttribute>
+      <sortType>string</sortType>
+      <value>%{filter:link(row,dn,"%s",sn)}</value>
+      <export>true</export>
+    </column>
+
     <column>
       <label>Given name</label>
       <sortAttribute>givenName</sortAttribute>
     </column>
 
     <column>
-      <label>Surname</label>
-      <sortAttribute>sn</sortAttribute>
+      <label>Login</label>
+      <sortAttribute>uid</sortAttribute>
       <sortType>string</sortType>
-      <value>%{filter:link(row,dn,"%s",sn)}</value>
+      <value>%{filter:link(row,dn,"%s",uid)}</value>
       <export>true</export>
     </column>
 
+    <column>
+      <label>Properties</label>
+      <value>%{filter:filterProperties(row,objectClass)}</value>
+    </column>
+
     <column>
       <label>Actions</label>
       <value>%{filter:actions(dn,row,objectClass)}</value>
   <actionmenu>
 
     <action>
+     <type>sub</type>
+     <image>images/lists/new.png</image>
+     <label>Create</label>
+
+     <action>
       <name>new</name>
       <type>entry</type>
       <image>plugins/users/images/list_new_user.png</image>
-      <label>New person</label>
-    </action>
+      <label>User</label>
+     </action>
 
-    <action>
+     <action>
       <name>new_template</name>
       <type>entry</type>
       <image>plugins/users/images/select_template.png</image>
-      <label>New template</label>
+      <label>Template</label>
+     </action>
     </action>
 
     <action>
       <label>Remove</label>
     </action>
 
+    <action>
+      <name>password</name>
+      <type>entry</type>
+      <image>plugins/users/images/list_password.png</image>
+      <label>Change password</label>
+    </action>
+
     <action>
       <type>separator</type>
     </action>
 
+    <action>
+      <name>lockUsers</name>
+      <type>entry</type>
+      <image>images/lists/locked.png</image>
+      <acl>uniBonnAccount/password[w]</acl>
+      <label>Lock users</label>
+    </action>
+
+    <action>
+      <name>unlockUsers</name>
+      <type>entry</type>
+      <image>images/lists/unlocked.png</image>
+      <acl>uniBonnAccount/password[w]</acl>
+      <label>Unlock users</label>
+    </action>
+
+    <action>
+      <name>sendMessage</name>
+      <type>entry</type>
+      <depends>DaemonEvent_notify</depends>
+      <image>plugins/goto/images/notify.png</image>
+      <label>Send message</label>
+    </action>
+
     <action>
       <type>separator</type>
     </action>
       <label>Apply template</label>
     </action>
 
+    <action>
+      <type>separator</type>
+    </action>
+
     <action>
       <type>exporter</type>
     </action>
+
+    <action>
+      <type>separator</type>
+    </action>
+
+    <action>
+      <type>copypaste</type>
+    </action>
+
+    <action>
+      <type>snapshot</type>
+    </action>
+
   </actionmenu>
 
   <actiontriggers snapshot="true" copypaste="true">
 
+    <action>
+      <name>newfromtpl</name>
+      <type>entry</type>
+      <image>images/lists/new.png</image>
+      <objectclass>gosaUserTemplate</objectclass>
+      <label>New user from template</label>
+    </action>
+
     <action>
       <name>cp</name>
       <objectclass>!gosaUserTemplate</objectclass>