From: hickert Date: Mon, 18 Jan 2010 11:05:18 +0000 (+0000) Subject: Added filter and listing templates for the new baseSelectDialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=641c09250e5bb39250783da3b7dc432d5ae9ebad;p=gosa.git Added filter and listing templates for the new baseSelectDialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15169 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/ihtml/themes/default/baseSelect-filter.tpl b/gosa-core/ihtml/themes/default/baseSelect-filter.tpl new file mode 100644 index 000000000..3d4595cf7 --- /dev/null +++ b/gosa-core/ihtml/themes/default/baseSelect-filter.tpl @@ -0,0 +1,29 @@ +
+

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

+
+ +
+ + + + + + +
+ + + {$NAME} +
+ + + + + +
+ {$APPLY} +
+
diff --git a/gosa-core/ihtml/themes/default/baseSelect-filter.xml b/gosa-core/ihtml/themes/default/baseSelect-filter.xml new file mode 100644 index 000000000..2411c81c3 --- /dev/null +++ b/gosa-core/ihtml/themes/default/baseSelect-filter.xml @@ -0,0 +1,40 @@ + + + + + departments + + true + + + + + LDAP + (&(objectClass=gosaDepartment)$NAME) + dn + objectClass + ou + description + + one + + + + textfield + NAME + 18 + 60 + + + (|(ou=*$*)(dc=*$*)(c=*$*)(l=*$*)) + false + + LDAP + (&(objectClass=gosaDepartment)(|(ou=*$NAME*)(dc=*$NAME*)(l=*$NAME*)(c=*$NAME*))) + cn + 0.5 + 3 + + + + diff --git a/gosa-core/ihtml/themes/default/baseSelect-list.tpl b/gosa-core/ihtml/themes/default/baseSelect-list.tpl new file mode 100644 index 000000000..dfa5b8362 --- /dev/null +++ b/gosa-core/ihtml/themes/default/baseSelect-list.tpl @@ -0,0 +1,30 @@ + + + + + + + +
+
+

 {$HEADLINE} {$SIZELIMIT}

+
+ +
+
+ + +
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE}  {$SEPARATOR}  {$ACTIONS}
+
+
+ +
+
+ + + {$LIST} +
+ {$FILTER} +
+ + diff --git a/gosa-core/ihtml/themes/default/baseSelect-list.xml b/gosa-core/ihtml/themes/default/baseSelect-list.xml new file mode 100644 index 000000000..d515ee71c --- /dev/null +++ b/gosa-core/ihtml/themes/default/baseSelect-list.xml @@ -0,0 +1,186 @@ + + + + + false + false + true + true + + departments + + 1 + + + + domain + department + domain + plugins/departments/images/domain.png + + + + + dcObject + department + dcObject + plugins/departments/images/dc.png + + + + + country + department + country + plugins/departments/images/country.png + + + + + locality + department + locality + plugins/departments/images/locality.png + + + + + department + department + organization + plugins/departments/images/organization.png + + + + + organizationalUnit + department + department + images/lists/folder.png + + + + + |20px|||70px;r| + + + %{filter:objectType(dn,objectClass)} + + + + + ou + string + %{filter:depLabel(row,dn,"%s",ou,pid,base)} + true + + + + + description + string + %{filter:depLabel(row,dn,"%s",description,pid,base)} + true + + + + + %{filter:actions(dn,row,objectClass)} + + +
+ + + + + sub + images/lists/new.png + + + + new_domain + entry + + plugins/departments/images/domain.png + + + + new_dcObject + entry + + plugins/departments/images/dc.png + + + + new_country + entry + + plugins/departments/images/country.png + + + + new_locality + entry + + plugins/departments/images/locality.png + + + + new_organization + entry + + plugins/departments/images/organization.png + + + + new_organizationalUnit + entry + + images/lists/folder.png + + + + + + separator + + + + exporter + + + + separator + + + + remove + entry + images/lists/trash.png + + + + + + + + + edit + entry + + images/lists/edit.png + + + + + remove + entry + + images/lists/trash.png + department[d] + + + + + +