From: hickert Date: Mon, 4 Jan 2010 14:51:25 +0000 (+0000) Subject: Added macro filter and list X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=68a1a7dee95cf5ca73e9842fbb260603c2ee3be8;p=gosa.git Added macro filter and list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15010 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/macro/macro-filter.tpl b/gosa-plugins/gofon/gofon/macro/macro-filter.tpl new file mode 100644 index 000000000..ba7af5cde --- /dev/null +++ b/gosa-plugins/gofon/gofon/macro/macro-filter.tpl @@ -0,0 +1,33 @@ +
+

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

+
+ +
+ +
+ + {$SCOPE} + + + + + + +
+ + + {$NAME} +
+ + + + + +
+ {$APPLY} +
+
diff --git a/gosa-plugins/gofon/gofon/macro/macro-filter.xml b/gosa-plugins/gofon/gofon/macro/macro-filter.xml new file mode 100644 index 000000000..f12558efd --- /dev/null +++ b/gosa-plugins/gofon/gofon/macro/macro-filter.xml @@ -0,0 +1,40 @@ + + + + + macros + + true + + + + + LDAP + (&(objectClass=goFonMacro)$NAME) + dn + objectClass + cn + description + + auto + + + + textfield + NAME + 20 + 60 + + + (cn=*$*) + false + + LDAP + (&(objectClass=goFonMacro)(cn=*$NAME*)) + cn + 0.5 + 3 + + + + diff --git a/gosa-plugins/gofon/gofon/macro/macro-list.tpl b/gosa-plugins/gofon/gofon/macro/macro-list.tpl new file mode 100644 index 000000000..b233c5874 --- /dev/null +++ b/gosa-plugins/gofon/gofon/macro/macro-list.tpl @@ -0,0 +1,31 @@ + + + + + + + +
+
+

 {$HEADLINE} {$SIZELIMIT}

+
+ +
+
+ + +
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE}  {$SEPARATOR}  {$ACTIONS}
+
+
+ +
+
+ + + + {$LIST} +
+ {$FILTER} +
+ + diff --git a/gosa-plugins/gofon/gofon/macro/macro-list.xml b/gosa-plugins/gofon/gofon/macro/macro-list.xml new file mode 100644 index 000000000..fe7990030 --- /dev/null +++ b/gosa-plugins/gofon/gofon/macro/macro-list.xml @@ -0,0 +1,143 @@ + + + + + true + false + true + true + + gofonmacro + + 1 + + + + goFonMacro + gofonmacro + macro + plugins/gofon/images/select_macro.png + + + + + + |16px||250px|170px;r| + + + %{filter:objectType(dn,objectClass)} + + + + %{filter:departmentLink(row,dn,description)} + 2 + + + + %{filter:objectType(dn,objectClass)} + + + + + cn + string + %{filter:link(row,dn,"%s",cn)} + true + + + + + description + string + %{filter:link(row,dn,"%s",description)} + true + + + + + %{filter:actions(dn,row,objectClass)} + + +
+ + + + + sub + images/lists/new.png + + + + new + entry + plugins/gofon/images/list_new_macro.png + + + + + + separator + + + + edit + entry + images/lists/edit.png + + + + + remove + entry + images/lists/trash.png + + + + + exporter + + + + separator + + + + copypaste + + + + snapshot + + + + + + + + cp + copypaste + + + + edit + entry + images/lists/edit.png + + + + + snapshot + snapshot + + + + remove + entry + images/lists/trash.png + gofonmacro/macro[d] + + + + + +