From 29293087f1744cc3d7e71c654a61e1a82d66702a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 16 Mar 2010 08:00:59 +0000 Subject: [PATCH] Updated ogroup listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16580 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/ogroups/class_ogroupManagement.inc | 5 +- .../plugins/admin/ogroups/ogroup-filter.tpl | 45 ------- .../plugins/admin/ogroups/ogroup-filter.xml | 123 ++++-------------- .../plugins/admin/ogroups/ogroup-list.tpl | 48 +++---- .../plugins/admin/ogroups/ogroup-list.xml | 4 +- 5 files changed, 50 insertions(+), 175 deletions(-) delete mode 100644 gosa-core/plugins/admin/ogroups/ogroup-filter.tpl diff --git a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc index aa66dbfa7..cfde13495 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc @@ -195,10 +195,7 @@ class ogroupManagement extends management $result =""; for($i = 0 ; $i < strlen($types); $i++){ $type = $types[$i]; - $result.=""; - + $result.= image($conv[$type][0], 'listing_edit_'.$conv[$type][2].'_'.$row,$conv[$type][1]); } return($result); } diff --git a/gosa-core/plugins/admin/ogroups/ogroup-filter.tpl b/gosa-core/plugins/admin/ogroups/ogroup-filter.tpl deleted file mode 100644 index b66661c2f..000000000 --- a/gosa-core/plugins/admin/ogroups/ogroup-filter.tpl +++ /dev/null @@ -1,45 +0,0 @@ -
-

- [F]{t}Filter{/t} -

-
- -
- -
- - {$USER} 
- {$GROUP} 
- {$APPLICATION} 
- {$DEPARTMENT} 
- {$SERVER} 
- {$WORKSTATION} 
- {$WINDOWS} 
- {$TERMINAL} 
- {$PRINTER} 
- {$PHONE} 
- - - {$SCOPE} - - - - - - -
- - - {$NAME} -
- - - - - -
- {$APPLY} -
-
diff --git a/gosa-core/plugins/admin/ogroups/ogroup-filter.xml b/gosa-core/plugins/admin/ogroups/ogroup-filter.xml index 520d86361..96151f2a5 100644 --- a/gosa-core/plugins/admin/ogroups/ogroup-filter.xml +++ b/gosa-core/plugins/admin/ogroups/ogroup-filter.xml @@ -3,119 +3,42 @@ ogroups - true + auto + default + dn + objectClass + cn + gosaGroupObjects + description + default + LDAP - (&(objectClass=gosaGroupOfNames)$NAME(|(gosaGroupObjects=[])$USER$GROUP$APPLICATION$DEPARTMENT$SERVER$WORKSTATION$WINDOWS$TERMINAL$PRINTER$PHONE)) - dn - objectClass - cn - gosaGroupObjects - description + (&(objectClass=gosaGroupOfNames)(cn=$)) - auto + + cn + 0.5 + 3 + - - checkbox - USER - true - - (gosaGroupObjects=*U*) - - - - checkbox - GROUP - true - - (gosaGroupObjects=*G*) - - - - checkbox - APPLICATION - true - - (gosaGroupObjects=*A*) - - - - checkbox - DEPARTMENT - true - - (gosaGroupObjects=*D*) - - - - checkbox - SERVER - true - - (gosaGroupObjects=*S*) - - - - checkbox - WORKSTATION - true - - (gosaGroupObjects=*W*) - - - - checkbox - WINDOWS - true - - (gosaGroupObjects=*O*) - - - - checkbox - TERMINAL - true - - (gosaGroupObjects=*T*) - - - - checkbox - PRINTER - true - - (gosaGroupObjects=*P*) - - - - checkbox - PHONE - true - - (gosaGroupObjects=*F*) - - - - textfield - NAME - 20 - 60 - - - (|(cn=*$*)) - true - + + default2 + + LDAP - (&(objectClass=gosaGroupOfNames)(|(cn=*$NAME*))) + (&(objectClass=gosaGroupOfNames)(cn=$)) + + cn 0.5 3 - + diff --git a/gosa-core/plugins/admin/ogroups/ogroup-list.tpl b/gosa-core/plugins/admin/ogroups/ogroup-list.tpl index 80d5e1b4f..8e4e43f4b 100644 --- a/gosa-core/plugins/admin/ogroups/ogroup-list.tpl +++ b/gosa-core/plugins/admin/ogroups/ogroup-list.tpl @@ -1,28 +1,28 @@ - - - - - -
-
-

 {$HEADLINE} {$SIZELIMIT}

-
- -
-
- - -
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE} {$SEPARATOR}  {$ACTIONS}
-
-
- -
-
- {$LIST} -
- {$FILTER} -
+
+ +
+

{$HEADLINE} {$SIZELIMIT}

+
+ + + + + + + + + + +
{$ROOT}{$BACK}{$HOME}{$RELOAD}{t}Base{/t} {$BASE}{$ACTIONS}{$FILTER}
+
+
+ + {$LIST} +
+ +
+ diff --git a/gosa-core/plugins/admin/ogroups/ogroup-list.xml b/gosa-core/plugins/admin/ogroups/ogroup-list.xml index fc0c935ba..f5132bb17 100644 --- a/gosa-core/plugins/admin/ogroups/ogroup-list.xml +++ b/gosa-core/plugins/admin/ogroups/ogroup-list.xml @@ -69,13 +69,13 @@ sub - images/lists/new.png + plugins/ogroups/images/ogroup.png[new] new entry - plugins/ogroups/images/new.png + plugins/ogroups/images/ogroup.png -- 2.30.2