From: hickert Date: Wed, 27 Jan 2010 14:17:18 +0000 (+0000) Subject: Updated mailForward selection list X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35461cd5120b061682d282fec2b2e95ae6cc0b80;p=gosa.git Updated mailForward selection list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15382 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/personal/mail/mailAddressSelect/class_mailAddressSelect.inc b/gosa-plugins/mail/personal/mail/mailAddressSelect/class_mailAddressSelect.inc index 31e92c53d..ebd2bac1e 100644 --- a/gosa-plugins/mail/personal/mail/mailAddressSelect/class_mailAddressSelect.inc +++ b/gosa-plugins/mail/personal/mail/mailAddressSelect/class_mailAddressSelect.inc @@ -31,7 +31,7 @@ class mailAddressSelect extends management $this->config = $config; $this->ui = $ui; - $this->storagePoints = array(get_ou("userRDN")); + $this->storagePoints = array(get_ou("userRDN"), get_ou('groupRDN')); # // Build filter # if (session::global_is_set(get_class($this)."_filter")){ diff --git a/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.tpl b/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.tpl index ba7af5cde..c9387b77c 100644 --- a/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.tpl +++ b/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.tpl @@ -8,6 +8,11 @@
+ {$USER} 
+ {$GROUP} 
+ +
+ {$SCOPE} diff --git a/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.xml b/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.xml index 4ae62a454..86c17bce5 100644 --- a/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.xml +++ b/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-filter.xml @@ -10,7 +10,7 @@ LDAPBlacklist - (&(objectClass=gosaAccount)(mail=*)$NAME) + (&(objectClass=gosaMailAccount)(|$USER$GROUP)(mail=*)$NAME) dn objectClass cn @@ -24,6 +24,22 @@ auto + + checkbox + USER + true + (&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))) + + + + + checkbox + GROUP + true + + (objectClass=posixGroup) + + textfield NAME @@ -35,7 +51,7 @@ true LDAPBlacklist - (&(objectClass=gosaAccount)(|(cn=*$NAME*)(description=*$NAME*)(mail=*$NAME*))) + (&(objectClass=gosaMailAccount)(|(cn=*$NAME*)(description=*$NAME*)(mail=*$NAME*))) cn 0.5 3 diff --git a/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-list.xml b/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-list.xml index 205ccff12..f8cca6285 100644 --- a/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-list.xml +++ b/gosa-plugins/mail/personal/mail/mailAddressSelect/selectMailAddress-list.xml @@ -15,14 +15,21 @@ gosaAccount users user - plugins/mail/images/envelope.png + plugins/users/images/select_user.png + + + posixGroup + groups + group + plugins/groups/images/groups.png +
- |20px;c|||| + |20px;c||| %{filter:objectType(dn,objectClass)} @@ -30,7 +37,7 @@ %{filter:departmentLink(row,dn,description)} - 2 + 1 @@ -38,23 +45,15 @@ - - givenName - string - %{givenName} - true - - - - - sn + + cn string - %{sn} + %{cn} true - + mail string %{mail}