From 087754ba0909814d83bb247d61256dc6e3273fd2 Mon Sep 17 00:00:00 2001 From: guiguidoc Date: Wed, 19 Oct 2005 12:08:02 +0000 Subject: [PATCH] =?utf8?q?g=C3=A9n=C3=A9ration=20fichier=20xls?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1620 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/xls/classe_xls.inc | 32 +++++++++++++++++++++++++++++++ plugins/addons/xls/main.inc | 8 ++++++++ 2 files changed, 40 insertions(+) create mode 100644 plugins/addons/xls/classe_xls.inc create mode 100644 plugins/addons/xls/main.inc diff --git a/plugins/addons/xls/classe_xls.inc b/plugins/addons/xls/classe_xls.inc new file mode 100644 index 000000000..7817424c4 --- /dev/null +++ b/plugins/addons/xls/classe_xls.inc @@ -0,0 +1,32 @@ +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 new file mode 100644 index 000000000..a0af41081 --- /dev/null +++ b/plugins/addons/xls/main.inc @@ -0,0 +1,8 @@ + -- 2.30.2