summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog35
-rw-r--r--Makefile.am203
-rw-r--r--php/admin/include/config.php.in6
-rw-r--r--php/admin/include/mysmarty.php.in (renamed from php/admin/include/mysmarty.php)2
-rw-r--r--www/admin/addressbook/addr.php.in (renamed from www/admin/addressbook/addr.php)12
-rw-r--r--www/admin/addressbook/index.php.in (renamed from www/admin/addressbook/index.php)10
-rw-r--r--www/admin/administrator/admin.php.in (renamed from www/admin/administrator/admin.php)12
-rw-r--r--www/admin/administrator/index.php.in (renamed from www/admin/administrator/index.php)10
-rw-r--r--www/admin/distributionlist/index.php.in (renamed from www/admin/distributionlist/index.php)10
-rw-r--r--www/admin/distributionlist/list.php.in (renamed from www/admin/distributionlist/list.php)12
-rw-r--r--www/admin/domainmaintainer/domainmaintainer.php.in (renamed from www/admin/domainmaintainer/domainmaintainer.php)12
-rw-r--r--www/admin/domainmaintainer/index.php.in (renamed from www/admin/domainmaintainer/index.php)10
-rw-r--r--www/admin/index.php.in (renamed from www/admin/index.php)10
-rw-r--r--www/admin/kolab/codefusion.php.in (renamed from www/admin/kolab/codefusion.php)10
-rw-r--r--www/admin/kolab/erfrakon.php.in (renamed from www/admin/kolab/erfrakon.php)10
-rw-r--r--www/admin/kolab/index.php.in (renamed from www/admin/kolab/index.php)10
-rw-r--r--www/admin/kolab/intevation.php.in (renamed from www/admin/kolab/intevation.php)10
-rw-r--r--www/admin/kolab/kdab.php.in (renamed from www/admin/kolab/kdab.php)12
-rw-r--r--www/admin/kolab/kde.php.in (renamed from www/admin/kolab/kde.php)10
-rw-r--r--www/admin/kolab/versions.php.in10
-rw-r--r--www/admin/maintainer/index.php.in (renamed from www/admin/maintainer/index.php)10
-rw-r--r--www/admin/maintainer/maintainer.php.in (renamed from www/admin/maintainer/maintainer.php)12
-rw-r--r--www/admin/service/index.php.in (renamed from www/admin/service/index.php)10
-rw-r--r--www/admin/sharedfolder/index.php.in (renamed from www/admin/sharedfolder/index.php)10
-rw-r--r--www/admin/sharedfolder/sf.php.in (renamed from www/admin/sharedfolder/sf.php)12
-rw-r--r--www/admin/user/deliver.php.in (renamed from www/admin/user/deliver.php)12
-rw-r--r--www/admin/user/forward.php.in (renamed from www/admin/user/forward.php)14
-rw-r--r--www/admin/user/index.php.in (renamed from www/admin/user/index.php)10
-rw-r--r--www/admin/user/user.php.in12
-rw-r--r--www/admin/user/vacation.php.in (renamed from www/admin/user/vacation.php)14
30 files changed, 360 insertions, 172 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c18980..9b16462 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,38 @@
+2006-02-05 Richard Bos <richard@radoeka.nl>
+ * www/admin/addressbook/addr.php, www/admin/addressbook/index.php,
+ www/admin/administrator/admin.php, www/admin/administrator/index.php,
+ www/admin/distributionlist/index.php,
+ www/admin/distributionlist/list.php,
+ www/admin/domainmaintainer/domainmaintainer.php,
+ www/admin/domainmaintainer/index.php, www/admin/index.php,
+ www/admin/kolab/codefusion.php, www/admin/kolab/erfrakon.php,
+ www/admin/kolab/index.php, www/admin/kolab/intevation.php,
+ www/admin/kolab/kdab.php, www/admin/kolab/kde.php,
+ www/admin/maintainer/index.php, www/admin/maintainer/maintainer.php,
+ www/admin/service/index.php, www/admin/sharedfolder/index.php,
+ www/admin/sharedfolder/sf.php, www/admin/user/deliver.php,
+ www/admin/user/forward.php, www/admin/user/index.php,
+ www/admin/user/vacation.php, php/admin/include/mysmarty.php: removed
+ * www/admin/addressbook/addr.php.in, www/admin/addressbook/index.php.in,
+ www/admin/administrator/admin.php.in,
+ www/admin/administrator/index.php.in,
+ www/admin/distributionlist/index.php.in,
+ www/admin/distributionlist/list.php.in,
+ www/admin/domainmaintainer/domainmaintainer.php.in,
+ www/admin/domainmaintainer/index.php.in, www/admin/index.php.in,
+ www/admin/kolab/codefusion.php.in, www/admin/kolab/erfrakon.php.in,
+ www/admin/kolab/index.php.in, www/admin/kolab/intevation.php.in,
+ www/admin/kolab/kdab.php.in, www/admin/kolab/kde.php.in,
+ www/admin/maintainer/index.php.in,
+ www/admin/maintainer/maintainer.php.in,
+ www/admin/service/index.php.in, www/admin/sharedfolder/index.php.in,
+ www/admin/sharedfolder/sf.php.in, www/admin/user/deliver.php.in,
+ www/admin/user/forward.php.in, www/admin/user/index.php.in,
+ www/admin/user/vacation.php.in,
+ php/admin/include/mysmarty.php.in: added. Use the new build
+ variable: kolab_php_module_prefix variable.
+ * Makefile.am: reflect the changes in the above mentioned files.
+
2006-01-17 Richard Bos <richard@radoeka.nl>
* Makefile.am: corrected make rule for php/admin/templates/versions.tpl
diff --git a/Makefile.am b/Makefile.am
index 586d5e4..60fff58 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,49 +19,49 @@ WSKOLAB_FILES = www/admin/index.php \
www/admin/style.css
wskolabdir = $(webserver_document_root)$(webserver_web_prefix)/admin
-dist_wskolab_DATA = $(WSKOLAB_FILES)
+wskolab_DATA = $(WSKOLAB_FILES)
+EXTRA_DIST += www/admin/style.css
WSADDRESSBOOK_FILES = www/admin/addressbook/addr.php \
www/admin/addressbook/index.php
wsaddressbookdir = $(wskolabdir)/addressbook
-dist_wsaddressbook_DATA = $(WSADDRESSBOOK_FILES)
+wsaddressbook_DATA = $(WSADDRESSBOOK_FILES)
WSADMINISTRATOR_FILES = www/admin/administrator/admin.php \
www/admin/administrator/index.php
wsadminstratordir = $(wskolabdir)/administrator
-dist_wsadminstrator_DATA = $(WSADMINISTRATOR_FILES)
+wsadminstrator_DATA = $(WSADMINISTRATOR_FILES)
WSDISTRIBUTIONLIST_FILES = www/admin/distributionlist/index.php \
www/admin/distributionlist/list.php
wsdistributionlistdir = $(wskolabdir)/distributionlist
-dist_wsdistributionlist_DATA = $(WSDISTRIBUTIONLIST_FILES)
+wsdistributionlist_DATA = $(WSDISTRIBUTIONLIST_FILES)
WSABOUT_FILES = www/admin/kolab/erfrakon.php \
www/admin/kolab/index.php \
www/admin/kolab/intevation.php \
www/admin/kolab/codefusion.php \
www/admin/kolab/kdab.php \
- www/admin/kolab/kde.php
+ www/admin/kolab/kde.php \
+ www/admin/kolab/versions.php
wsaboutdir = $(wskolabdir)/kolab
-wsabout_DATA = $(WSABOUT_FILES) \
- www/admin/kolab/versions.php
-EXTRA_DIST += $(WSABOUT_FILES)
+wsabout_DATA = $(WSABOUT_FILES)
WSMAINTAINER_FILES = www/admin/maintainer/maintainer.php \
www/admin/maintainer/index.php
wsmaintainerdir = $(wskolabdir)/maintainer
-dist_wsmaintainer_DATA = $(WSMAINTAINER_FILES)
+wsmaintainer_DATA = $(WSMAINTAINER_FILES)
WSDOMAINMAINTAINER_FILES = www/admin/domainmaintainer/domainmaintainer.php \
www/admin/domainmaintainer/index.php
wsdomainmaintainerdir = $(wskolabdir)/domainmaintainer
-dist_wsdomainmaintainer_DATA = $(WSDOMAINMAINTAINER_FILES)
+wsdomainmaintainer_DATA = $(WSDOMAINMAINTAINER_FILES)
WSPICS_FILES = www/admin/pics/erfrakon.png \
www/admin/pics/codefusion.png \
@@ -74,13 +74,13 @@ wspicsdir = $(wskolabdir)/pics
dist_wspics_DATA = $(WSPICS_FILES)
wsservicedir = $(wskolabdir)/service
-dist_wsservice_DATA = www/admin/service/index.php
+wsservice_DATA = www/admin/service/index.php
WSSHAREDFOLDER_FILES = www/admin/sharedfolder/sf.php \
www/admin/sharedfolder/index.php
wssharedfolderdir = $(wskolabdir)/sharedfolder
-dist_wssharedfolder_DATA = $(WSSHAREDFOLDER_FILES)
+wssharedfolder_DATA = $(WSSHAREDFOLDER_FILES)
WSUSER_FILES = www/admin/user/forward.php \
www/admin/user/index.php \
@@ -89,16 +89,9 @@ WSUSER_FILES = www/admin/user/forward.php \
www/admin/user/deliver.php
wsuserdir = $(wskolabdir)/user
-dist_wsuser_DATA = $(WSUSER_FILES)
-
-phpkolabdir = $(phplibdir2)/admin
+wsuser_DATA = $(WSUSER_FILES)
-php/admin/include/config.php: Makefile php/admin/include/config.php.in
- $(mkinstalldirs) php/admin/include
- $(do_subst) <$(srcdir)/php/admin/include/config.php.in >$@
-
-CLEANFILES += php/admin/include/config.php
-EXTRA_DIST += php/admin/include/config.php.in
+phpkolabdir = $(phplibdir2)/$(kolab_php_module_prefix)admin
php_includes_configdir = $(phpkolabdir)/include
php_includes_config_DATA = php/admin/include/config.php
@@ -106,17 +99,18 @@ php_includes_config_DATA = php/admin/include/config.php
PHP_INCLUDES = php/admin/include/menu.php \
php/admin/include/debug.php \
php/admin/include/form.class.php \
- php/admin/include/auth.class.php \
php/admin/include/ldap.class.php \
php/admin/include/sieveutils.class.php \
- php/admin/include/mysmarty.php \
- php/admin/include/headers.php \
php/admin/include/authenticate.php \
php/admin/include/locale.php \
php/admin/include/Sieve.php
phpincludesdir = $(phpkolabdir)/include
-dist_phpincludes_DATA = $(PHP_INCLUDES)
+phpincludes_DATA = $(PHP_INCLUDES) \
+ php/admin/include/auth.class.php \
+ php/admin/include/headers.php \
+ php/admin/include/mysmarty.php
+EXTRA_DIST += $(PHP_INCLUDES)
PHP_TEMPLATES = php/admin/templates/maintainerdeleted.tpl \
php/admin/templates/kde.tpl \
@@ -202,18 +196,177 @@ EXTRA_DIST += dist_conf/common \
dist_conf/mandriva \
dist_conf/suse
+### new
+
+www/admin/addressbook/addr.php:
+ @$(mkinstalldirs) www/admin/addressbook
+ $(do_subst) <$(srcdir)/www/admin/addressbook/addr.php.in >$@
+CLEANFILES += www/admin/addressbook/addr.php
+EXTRA_DIST += www/admin/addressbook/addr.php.in
+
+www/admin/addressbook/index.php:
+ @$(mkinstalldirs) www/admin/addressbook
+ $(do_subst) <$(srcdir)/www/admin/addressbook/index.php.in >$@
+CLEANFILES += www/admin/addressbook/index.php
+EXTRA_DIST += www/admin/addressbook/index.php.in
+
+www/admin/administrator/admin.php:
+ @$(mkinstalldirs) www/admin/administrator
+ $(do_subst) <$(srcdir)/www/admin/administrator/admin.php.in >$@
+CLEANFILES += www/admin/administrator/admin.php
+EXTRA_DIST += www/admin/administrator/admin.php.in
+
+www/admin/administrator/index.php:
+ @$(mkinstalldirs) www/admin/administrator
+ $(do_subst) <$(srcdir)/www/admin/administrator/index.php.in >$@
+CLEANFILES += www/admin/administrator/index.php
+EXTRA_DIST += www/admin/administrator/index.php.in
+
+www/admin/distributionlist/index.php:
+ @$(mkinstalldirs) www/admin/distributionlist
+ $(do_subst) <$(srcdir)/www/admin/distributionlist/index.php.in >$@
+CLEANFILES += www/admin/distributionlist/index.php
+EXTRA_DIST += www/admin/distributionlist/index.php.in
+
+www/admin/distributionlist/list.php:
+ @$(mkinstalldirs) www/admin/distributionlist
+ $(do_subst) <$(srcdir)/www/admin/distributionlist/list.php.in >$@
+CLEANFILES += www/admin/distributionlist/list.php
+EXTRA_DIST += www/admin/distributionlist/list.php.in
+
+www/admin/domainmaintainer/domainmaintainer.php:
+ @$(mkinstalldirs) www/admin/domainmaintainer
+ $(do_subst) <$(srcdir)/www/admin/domainmaintainer/domainmaintainer.php.in >$@
+CLEANFILES += www/admin/domainmaintainer/domainmaintainer.php
+EXTRA_DIST += www/admin/domainmaintainer/domainmaintainer.php.in
+
+www/admin/domainmaintainer/index.php:
+ @$(mkinstalldirs) www/admin/domainmaintainer
+ $(do_subst) <$(srcdir)/www/admin/domainmaintainer/index.php.in >$@
+CLEANFILES += www/admin/domainmaintainer/index.php
+EXTRA_DIST += www/admin/domainmaintainer/index.php.in
+
+www/admin/index.php:
+ @$(mkinstalldirs) www/admin
+ $(do_subst) <$(srcdir)/www/admin/index.php.in >$@
+CLEANFILES += www/admin/index.php
+EXTRA_DIST += www/admin/index.php.in
+
+www/admin/kolab/codefusion.php:
+ @$(mkinstalldirs) www/admin/kolab
+ $(do_subst) <$(srcdir)/www/admin/kolab/codefusion.php.in >$@
+CLEANFILES += www/admin/kolab/codefusion.php
+EXTRA_DIST += www/admin/kolab/codefusion.php.in
+
+www/admin/kolab/erfrakon.php:
+ @$(mkinstalldirs) www/admin/kolab
+ $(do_subst) <$(srcdir)/www/admin/kolab/erfrakon.php.in >$@
+CLEANFILES += www/admin/kolab/erfrakon.php
+EXTRA_DIST += www/admin/kolab/erfrakon.php.in
+
+www/admin/kolab/index.php:
+ @$(mkinstalldirs) www/admin/kolab
+ $(do_subst) <$(srcdir)/www/admin/kolab/index.php.in >$@
+CLEANFILES += www/admin/kolab/index.php
+EXTRA_DIST += www/admin/kolab/index.php.in
+
+www/admin/kolab/intevation.php:
+ @$(mkinstalldirs) www/admin/kolab
+ $(do_subst) <$(srcdir)/www/admin/kolab/intevation.php.in >$@
+CLEANFILES += www/admin/kolab/intevation.php
+EXTRA_DIST += www/admin/kolab/intevation.php.in
+
+www/admin/kolab/kdab.php:
+ @$(mkinstalldirs) www/admin/kolab
+ $(do_subst) <$(srcdir)/www/admin/kolab/kdab.php.in >$@
+CLEANFILES += www/admin/kolab/kdab.php
+EXTRA_DIST += www/admin/kolab/kdab.php.in
+
+www/admin/kolab/kde.php:
+ @$(mkinstalldirs) www/admin/kolab
+ $(do_subst) <$(srcdir)/www/admin/kolab/kde.php.in >$@
+CLEANFILES += www/admin/kolab/kde.php
+EXTRA_DIST += www/admin/kolab/kde.php.in
+
+www/admin/maintainer/index.php:
+ @$(mkinstalldirs) www/admin/maintainer
+ $(do_subst) <$(srcdir)/www/admin/maintainer/index.php.in >$@
+CLEANFILES += www/admin/maintainer/index.php
+EXTRA_DIST += www/admin/maintainer/index.php.in
+
+www/admin/maintainer/maintainer.php:
+ @$(mkinstalldirs) www/admin/maintainer
+ $(do_subst) <$(srcdir)/www/admin/maintainer/maintainer.php.in >$@
+CLEANFILES += www/admin/maintainer/maintainer.php
+EXTRA_DIST += www/admin/maintainer/maintainer.php.in
+
+www/admin/service/index.php:
+ @$(mkinstalldirs) www/admin/service
+ $(do_subst) <$(srcdir)/www/admin/service/index.php.in >$@
+CLEANFILES += www/admin/service/index.php
+EXTRA_DIST += www/admin/service/index.php.in
+
+www/admin/sharedfolder/index.php:
+ @$(mkinstalldirs) www/admin/sharedfolder
+ $(do_subst) <$(srcdir)/www/admin/sharedfolder/index.php.in >$@
+CLEANFILES += www/admin/sharedfolder/index.php
+EXTRA_DIST += www/admin/sharedfolder/index.php.in
+
+www/admin/sharedfolder/sf.php:
+ @$(mkinstalldirs) www/admin/sharedfolder
+ $(do_subst) <$(srcdir)/www/admin/sharedfolder/sf.php.in >$@
+CLEANFILES += www/admin/sharedfolder/sf.php
+EXTRA_DIST += www/admin/sharedfolder/sf.php.in
+
+www/admin/user/deliver.php:
+ @$(mkinstalldirs) www/admin/user
+ $(do_subst) <$(srcdir)/www/admin/user/deliver.php.in >$@
+CLEANFILES += www/admin/user/deliver.php
+EXTRA_DIST += www/admin/user/deliver.php.in
+
+www/admin/user/forward.php:
+ @$(mkinstalldirs) www/admin/user
+ $(do_subst) <$(srcdir)/www/admin/user/forward.php.in >$@
+CLEANFILES += www/admin/user/forward.php
+EXTRA_DIST += www/admin/user/forward.php.in
+
+www/admin/user/index.php:
+ @$(mkinstalldirs) www/admin/user
+ $(do_subst) <$(srcdir)/www/admin/user/index.php.in >$@
+CLEANFILES += www/admin/user/index.php
+EXTRA_DIST += www/admin/user/index.php.in
+
+www/admin/user/vacation.php:
+ @$(mkinstalldirs) www/admin/user
+ $(do_subst) <$(srcdir)/www/admin/user/vacation.php.in >$@
+CLEANFILES += www/admin/user/vacation.php
+EXTRA_DIST += www/admin/user/vacation.php.in
+###
+
php/admin/include/auth.class.php:
@$(mkinstalldirs) php/admin/include
$(do_subst) <$(srcdir)/php/admin/include/auth.class.php.in >$@
CLEANFILES += php/admin/include/auth.class.php
EXTRA_DIST += php/admin/include/auth.class.php.in
+php/admin/include/config.php: Makefile php/admin/include/config.php.in
+ $(mkinstalldirs) php/admin/include
+ $(do_subst) <$(srcdir)/php/admin/include/config.php.in >$@
+CLEANFILES += php/admin/include/config.php
+EXTRA_DIST += php/admin/include/config.php.in
+
php/admin/include/headers.php:
@$(mkinstalldirs) php/admin/include
$(do_subst) <$(srcdir)/php/admin/include/headers.php.in >$@
CLEANFILES += php/admin/include/headers.php
EXTRA_DIST += php/admin/include/headers.php.in
+php/admin/include/mysmarty.php:
+ @$(mkinstalldirs) php/admin/include
+ $(do_subst) <$(srcdir)/php/admin/include/mysmarty.php.in >$@
+CLEANFILES += php/admin/include/mysmarty.php
+EXTRA_DIST += php/admin/include/mysmarty.php.in
+
php/admin/templates/page.tpl:
@$(mkinstalldirs) php/admin/templates
$(do_subst) <$(srcdir)/php/admin/templates/page.tpl.in >$@
diff --git a/php/admin/include/config.php.in b/php/admin/include/config.php.in
index 131f765..7f2f5df 100644
--- a/php/admin/include/config.php.in
+++ b/php/admin/include/config.php.in
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-$topdir = '/admin';
+$topdir = '/@kolab_php_module_prefix@admin';
$kolab_prefix = '@prefix@';
$php_dir = '@phplibdir2@';
-$locale_dir = "$php_dir/admin/locale/";
+$locale_dir = "$php_dir/@kolab_php_module_prefix@admin/locale/";
/*
Local variables:
@@ -32,4 +32,4 @@ $locale_dir = "$php_dir/admin/locale/";
End:
vim:encoding=utf-8:
*/
-?> \ No newline at end of file
+?>
diff --git a/php/admin/include/mysmarty.php b/php/admin/include/mysmarty.php.in
index 2ba95af..df51376 100644
--- a/php/admin/include/mysmarty.php
+++ b/php/admin/include/mysmarty.php.in
@@ -34,7 +34,7 @@ class MySmarty extends Smarty {
global $language;
$this->Smarty();
- $basedir = "$php_dir/admin/";
+ $basedir = "$php_dir/@kolab_php_module_prefix@admin/";
$this->template_dir = $basedir.'templates/';
$this->compile_dir = $basedir.'templates_c/';
$this->config_dir = $basedir.'configs/';
diff --git a/www/admin/addressbook/addr.php b/www/admin/addressbook/addr.php.in
index 4959feb..61050cf 100644
--- a/www/admin/addressbook/addr.php
+++ b/www/admin/addressbook/addr.php.in
@@ -1,9 +1,9 @@
<?php
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Authentication etc. ***/
@@ -17,7 +17,7 @@ if( $auth->group() != 'maintainer' && $auth->group() != 'admin') {
array_push($errors, _("Error: You don't have Permissions to access this Menu") );
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
function fill_form_for_modify( &$form, &$ldap_object ) {
if (is_array($ldap_object['sn'])) $lastname = $ldap_object['sn'][0];
diff --git a/www/admin/addressbook/index.php b/www/admin/addressbook/index.php.in
index d832e75..3efa46f 100644
--- a/www/admin/addressbook/index.php
+++ b/www/admin/addressbook/index.php.in
@@ -7,10 +7,10 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -21,7 +21,7 @@ if( $auth->group() != 'maintainer' && $auth->group() != 'admin') {
array_push($errors, _("Error: You don't have Permissions to access this Menu") );
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/administrator/admin.php b/www/admin/administrator/admin.php.in
index ee7fe8b..e53bcf2 100644
--- a/www/admin/administrator/admin.php
+++ b/www/admin/administrator/admin.php.in
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Functions ***/
function comment( $s ) {
@@ -129,7 +129,7 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'administrator';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/administrator/index.php b/www/admin/administrator/index.php.in
index 0cc30e1..d252810 100644
--- a/www/admin/administrator/index.php
+++ b/www/admin/administrator/index.php.in
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -32,7 +32,7 @@ if( $auth->group() != 'admin') {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/distributionlist/index.php b/www/admin/distributionlist/index.php.in
index adf41a6..7cfce3c 100644
--- a/www/admin/distributionlist/index.php
+++ b/www/admin/distributionlist/index.php.in
@@ -20,10 +20,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -35,7 +35,7 @@ if( $group != 'maintainer' && $group != 'admin' && $group != 'domain-maintainer'
array_push($errors, _("Error: You don't have Permissions to access this Menu") );
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/distributionlist/list.php b/www/admin/distributionlist/list.php.in
index 2eaa8f2..3f0dcf4 100644
--- a/www/admin/distributionlist/list.php
+++ b/www/admin/distributionlist/list.php.in
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Authentication etc. ***/
@@ -37,7 +37,7 @@ if( $group != 'maintainer' && $group != 'admin' && $group != 'domain-maintainer'
array_push($errors, _("Error: You don't have Permissions to access this Menu") );
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
function checkemaillist( $form, $key, $value ) {
global $ldap;
diff --git a/www/admin/domainmaintainer/domainmaintainer.php b/www/admin/domainmaintainer/domainmaintainer.php.in
index 90cd396..c9867c8 100644
--- a/www/admin/domainmaintainer/domainmaintainer.php
+++ b/www/admin/domainmaintainer/domainmaintainer.php.in
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Functions ***/
function comment( $s ) {
@@ -97,7 +97,7 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'domain-maintainer';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/domainmaintainer/index.php b/www/admin/domainmaintainer/index.php.in
index f21bb3b..e0f1ce3 100644
--- a/www/admin/domainmaintainer/index.php
+++ b/www/admin/domainmaintainer/index.php.in
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -32,7 +32,7 @@ if( $auth->group() != 'admin' ) {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/index.php b/www/admin/index.php.in
index c189674..4441c9c 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php.in
@@ -18,14 +18,14 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
function exists_group( $group ) {
global $ldap;
diff --git a/www/admin/kolab/codefusion.php b/www/admin/kolab/codefusion.php.in
index 3c101b3..1ad64fe 100644
--- a/www/admin/kolab/codefusion.php
+++ b/www/admin/kolab/codefusion.php.in
@@ -21,15 +21,15 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/erfrakon.php b/www/admin/kolab/erfrakon.php.in
index 69aea9e..76586c1 100644
--- a/www/admin/kolab/erfrakon.php
+++ b/www/admin/kolab/erfrakon.php.in
@@ -20,15 +20,15 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/index.php b/www/admin/kolab/index.php.in
index ae00c51..93df974 100644
--- a/www/admin/kolab/index.php
+++ b/www/admin/kolab/index.php.in
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/intevation.php b/www/admin/kolab/intevation.php.in
index 5f0b9b5..c5ddd26 100644
--- a/www/admin/kolab/intevation.php
+++ b/www/admin/kolab/intevation.php.in
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/kdab.php b/www/admin/kolab/kdab.php.in
index 1ae3972..d739a65 100644
--- a/www/admin/kolab/kdab.php
+++ b/www/admin/kolab/kdab.php.in
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
@@ -40,4 +40,4 @@ $smarty->display('page.tpl');
buffer-file-coding-system: utf-8
End:
*/
- ?> \ No newline at end of file
+ ?>
diff --git a/www/admin/kolab/kde.php b/www/admin/kolab/kde.php.in
index 899aaaa..b8c74c1 100644
--- a/www/admin/kolab/kde.php
+++ b/www/admin/kolab/kde.php.in
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/versions.php.in b/www/admin/kolab/versions.php.in
index 75d1964..d3db879 100644
--- a/www/admin/kolab/versions.php.in
+++ b/www/admin/kolab/versions.php.in
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/maintainer/index.php b/www/admin/maintainer/index.php.in
index 5fc7002..6812f97 100644
--- a/www/admin/maintainer/index.php
+++ b/www/admin/maintainer/index.php.in
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -32,7 +32,7 @@ if( $auth->group() != 'admin' ) {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/maintainer/maintainer.php b/www/admin/maintainer/maintainer.php.in
index 667c9c8..790c3d2 100644
--- a/www/admin/maintainer/maintainer.php
+++ b/www/admin/maintainer/maintainer.php.in
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Functions ***/
function comment( $s ) {
@@ -122,7 +122,7 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'maintainer';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/service/index.php b/www/admin/service/index.php.in
index 121a76c..23b87b0 100644
--- a/www/admin/service/index.php
+++ b/www/admin/service/index.php.in
@@ -1,8 +1,8 @@
<?php
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -13,7 +13,7 @@ if( $auth->group() != 'admin') {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/sharedfolder/index.php b/www/admin/sharedfolder/index.php.in
index 8636f45..3fae2d6 100644
--- a/www/admin/sharedfolder/index.php
+++ b/www/admin/sharedfolder/index.php.in
@@ -7,10 +7,10 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -22,7 +22,7 @@ if( $group != 'maintainer' && $group != 'admin' && $group != 'domain-maintainer'
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/sharedfolder/sf.php b/www/admin/sharedfolder/sf.php.in
index 55b2971..0a4d05f 100644
--- a/www/admin/sharedfolder/sf.php
+++ b/www/admin/sharedfolder/sf.php.in
@@ -7,11 +7,11 @@
* Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Authentication etc. ***/
$errors = array();
@@ -25,7 +25,7 @@ if( $group != 'maintainer' && $group != 'admin' && $group != 'domain-maintainer'
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
function fill_form_for_modify( &$form, &$ldap_object ) {
if (is_array($ldap_object['cn'])) $cn = $ldap_object['cn'][0];
diff --git a/www/admin/user/deliver.php b/www/admin/user/deliver.php.in
index 74b59f8..9350d3c 100644
--- a/www/admin/user/deliver.php
+++ b/www/admin/user/deliver.php.in
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once 'admin/include/mysmarty.php';
-require_once 'admin/include/headers.php';
-require_once 'admin/include/authenticate.php';
-require_once 'admin/include/sieveutils.class.php';
+require_once '@kolab_php_module_prefix@admin/include/mysmarty.php';
+require_once '@kolab_php_module_prefix@admin/include/headers.php';
+require_once '@kolab_php_module_prefix@admin/include/authenticate.php';
+require_once '@kolab_php_module_prefix@admin/include/sieveutils.class.php';
// Funny multiline string escaping in Sieve
function dotstuff( $str ) {
@@ -33,7 +33,7 @@ function undotstuff( $str ) {
}
$errors = array();
-if( (@include_once 'admin/include/Sieve.php' ) === false ) {
+if( (@include_once '@kolab_php_module_prefix@admin/include/Sieve.php' ) === false ) {
$errors[] = _('Net/Sieve.php is missing. Without that, filter settings are not available');
$errors[] = _("Suggest your system administrator to run \"@bindir@/pear install http://pear.php.net/get/Net_Sieve\" on the server");
}
@@ -41,7 +41,7 @@ if( (@include_once 'admin/include/Sieve.php' ) === false ) {
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/user/forward.php b/www/admin/user/forward.php.in
index d9b01aa..1ec9618 100644
--- a/www/admin/user/forward.php
+++ b/www/admin/user/forward.php.in
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once 'admin/include/mysmarty.php';
-require_once 'admin/include/headers.php';
-require_once('admin/include/locale.php');
-require_once 'admin/include/authenticate.php';
-require_once 'admin/include/sieveutils.class.php';
+require_once '@kolab_php_module_prefix@admin/include/mysmarty.php';
+require_once '@kolab_php_module_prefix@admin/include/headers.php';
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once '@kolab_php_module_prefix@admin/include/authenticate.php';
+require_once '@kolab_php_module_prefix@admin/include/sieveutils.class.php';
// Funny multiline string escaping in Sieve
function dotstuff( $str ) {
@@ -34,7 +34,7 @@ function undotstuff( $str ) {
}
$errors = array();
-if( (@include_once 'admin/include/Sieve.php' ) === false ) {
+if( (@include_once '@kolab_php_module_prefix@admin/include/Sieve.php' ) === false ) {
$errors[] = _('Net/Sieve.php is missing. Without that, vacation settings are not available');
$errors[] = _("Suggest your system administrator to run \"@bindir@/pear install http://pear.php.net/get/Net_Sieve\" on the server");
}
@@ -42,7 +42,7 @@ if( (@include_once 'admin/include/Sieve.php' ) === false ) {
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/user/index.php b/www/admin/user/index.php.in
index 0c0918e..171d10b 100644
--- a/www/admin/user/index.php
+++ b/www/admin/user/index.php.in
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
$errors = array();
@@ -33,7 +33,7 @@ if( $auth->group() != 'maintainer' && $auth->group() != 'admin' && $auth->group(
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/user/user.php.in b/www/admin/user/user.php.in
index 26ec099..10fd3c5 100644
--- a/www/admin/user/user.php.in
+++ b/www/admin/user/user.php.in
@@ -6,11 +6,11 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once('admin/include/mysmarty.php');
-require_once('admin/include/headers.php');
-require_once('admin/include/locale.php');
-require_once('admin/include/authenticate.php');
-require_once('admin/include/form.class.php');
+require_once('@kolab_php_module_prefix@admin/include/mysmarty.php');
+require_once('@kolab_php_module_prefix@admin/include/headers.php');
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once('@kolab_php_module_prefix@admin/include/authenticate.php');
+require_once('@kolab_php_module_prefix@admin/include/form.class.php');
/**** Functions ***/
function comment( $s ) {
@@ -324,7 +324,7 @@ function fill_form_for_modify( &$form, $dn, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/user/vacation.php b/www/admin/user/vacation.php.in
index ebcc306..a5a44c7 100644
--- a/www/admin/user/vacation.php
+++ b/www/admin/user/vacation.php.in
@@ -6,14 +6,14 @@
Read the file COPYING that comes with this packages for details.
*/
-require_once 'admin/include/mysmarty.php';
-require_once 'admin/include/headers.php';
-require_once('admin/include/locale.php');
-require_once 'admin/include/authenticate.php';
-require_once 'admin/include/sieveutils.class.php';
+require_once '@kolab_php_module_prefix@admin/include/mysmarty.php';
+require_once '@kolab_php_module_prefix@admin/include/headers.php';
+require_once('@kolab_php_module_prefix@admin/include/locale.php');
+require_once '@kolab_php_module_prefix@admin/include/authenticate.php';
+require_once '@kolab_php_module_prefix@admin/include/sieveutils.class.php';
$errors = array();
-if( (@include_once 'admin/include/Sieve.php' ) === false ) {
+if( (@include_once '@kolab_php_module_prefix@admin/include/Sieve.php' ) === false ) {
$errors[] = _('Net/Sieve.php is missing. Without that, vacation settings are not available');
$errors[] = _("Suggest your system administrator to run \"@bindir@/pear install http://pear.php.net/get/Net_Sieve\" on the server");
}
@@ -21,7 +21,7 @@ if( (@include_once 'admin/include/Sieve.php' ) === false ) {
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('admin/include/menu.php');
+require_once('@kolab_php_module_prefix@admin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';