summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c06a2a9)
raw | patch | inline | side by side (parent: c06a2a9)
author | guiguidoc <guiguidoc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Oct 2005 12:08:02 +0000 (12:08 +0000) | ||
committer | guiguidoc <guiguidoc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Oct 2005 12:08:02 +0000 (12:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1620 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/xls/classe_xls.inc | [new file with mode: 0644] | patch | blob |
plugins/addons/xls/main.inc | [new file with mode: 0644] | patch | blob |
diff --git a/plugins/addons/xls/classe_xls.inc b/plugins/addons/xls/classe_xls.inc
--- /dev/null
@@ -0,0 +1,32 @@
+<?php
+
+class xls extends plugin
+{
+ /* Definitions */
+ var $plHeadline= "xls";
+ var $plDescription= "This does something";
+
+ function xls ($config, $dn= NULL)
+ {
+ /* Include config object */
+ $this->config= $config;
+
+ print $dn;
+
+ #FIXME: ACL is set to default for testing
+ $this->acl= "#all#";
+
+ /* Get global filter config */
+ if (!is_global("phonefilter")){
+ $ui= get_userinfo();
+ $base= get_base_from_people($ui->dn);
+ $phonefilter= array("search_base" => $base,
+ "organizational" => "checked",
+ "global" => "checked",
+ "search_for" => "*",
+ "object_type" => "*");
+ register_global("phonefilter", $phonefilter);
+ }
+ }
+}
+?>
\ No newline at end of file
diff --git a/plugins/addons/xls/main.inc b/plugins/addons/xls/main.inc
--- /dev/null
@@ -0,0 +1,8 @@
+<?php
+if (!$remove_lock){
+ /* Page header*/
+ $display= print_header(get_template_path('images/addressbook.png'), _("Address book"));
+
+
+}
+?>