summaryrefslogtreecommitdiff
path: root/www/admin
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2006-02-05 20:15:10 (GMT)
committerRichard Bos <richard@radoeka.nl>2006-02-05 20:15:10 (GMT)
commit1933f75b035179fac68d45fc2f7d611bf80c26cb (patch)
tree99624dafc392999f629f89aecb13d19b358e4874 /www/admin
parent6af402086d58b10678374ea6bef1f0956c6a8ec0 (diff)
downloadkolab-webadmin-1933f75b035179fac68d45fc2f7d611bf80c26cb.tar.gz
Use the new kolab_php_module_prefix variable
Diffstat (limited to 'www/admin')
-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
26 files changed, 143 insertions, 143 deletions
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';