summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-09-13 12:30:56 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-09-13 12:30:56 (GMT)
commit42235552b8c245a9d5723909f719ff56c3c343ed (patch)
treebb7a47fca8a136447f17684724c226b214f63c66 /www
parentc7f24760d5043330a97d682db412f9f3155ac6be (diff)
downloadkolab-webadmin-42235552b8c245a9d5723909f719ff56c3c343ed.tar.gz
Avoid the use of two include directories.
This is the major change in order to get rid of the dist_conf approach for the web admin: This moves all includes into the KolabAdmin/include directory. The top directory KolabAdmin needs to be in the include path. Should be a sane setup for all distributions.
Diffstat (limited to 'www')
-rw-r--r--www/admin/addressbook/addr.php (renamed from www/admin/addressbook/addr.php.in)12
-rw-r--r--www/admin/addressbook/index.php (renamed from www/admin/addressbook/index.php.in)12
-rw-r--r--www/admin/administrator/admin.php (renamed from www/admin/administrator/admin.php.in)14
-rw-r--r--www/admin/administrator/index.php (renamed from www/admin/administrator/index.php.in)10
-rw-r--r--www/admin/distributionlist/index.php (renamed from www/admin/distributionlist/index.php.in)10
-rw-r--r--www/admin/distributionlist/list.php (renamed from www/admin/distributionlist/list.php.in)12
-rw-r--r--www/admin/domainmaintainer/domainmaintainer.php (renamed from www/admin/domainmaintainer/domainmaintainer.php.in)14
-rw-r--r--www/admin/domainmaintainer/index.php (renamed from www/admin/domainmaintainer/index.php.in)10
-rw-r--r--www/admin/index.php (renamed from www/admin/index.php.in)10
-rw-r--r--www/admin/kolab/codefusion.php (renamed from www/admin/kolab/codefusion.php.in)10
-rw-r--r--www/admin/kolab/erfrakon.php (renamed from www/admin/kolab/erfrakon.php.in)10
-rw-r--r--www/admin/kolab/index.php (renamed from www/admin/kolab/index.php.in)10
-rw-r--r--www/admin/kolab/intevation.php (renamed from www/admin/kolab/intevation.php.in)10
-rw-r--r--www/admin/kolab/kdab.php (renamed from www/admin/kolab/kdab.php.in)10
-rw-r--r--www/admin/kolab/kde.php (renamed from www/admin/kolab/kde.php.in)10
-rw-r--r--www/admin/kolab/versions.php.in10
-rw-r--r--www/admin/maintainer/index.php (renamed from www/admin/maintainer/index.php.in)10
-rw-r--r--www/admin/maintainer/maintainer.php (renamed from www/admin/maintainer/maintainer.php.in)14
-rw-r--r--www/admin/settings/index.php (renamed from www/admin/settings/index.php.in)10
-rw-r--r--www/admin/sharedfolder/index.php (renamed from www/admin/sharedfolder/index.php.in)10
-rw-r--r--www/admin/sharedfolder/sf.php (renamed from www/admin/sharedfolder/sf.php.in)12
-rw-r--r--www/admin/user/deliver.php (renamed from www/admin/user/deliver.php.in)8
-rw-r--r--www/admin/user/forward.php (renamed from www/admin/user/forward.php.in)10
-rw-r--r--www/admin/user/index.php (renamed from www/admin/user/index.php.in)12
-rw-r--r--www/admin/user/user.php (renamed from www/admin/user/user.php.in)14
-rw-r--r--www/admin/user/vacation.php (renamed from www/admin/user/vacation.php.in)10
26 files changed, 142 insertions, 142 deletions
diff --git a/www/admin/addressbook/addr.php.in b/www/admin/addressbook/addr.php
index bb70ecf..5dc580c 100644
--- a/www/admin/addressbook/addr.php.in
+++ b/www/admin/addressbook/addr.php
@@ -1,9 +1,9 @@
<?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');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/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.in b/www/admin/addressbook/index.php
index 8c3e059..9ff597e 100644
--- a/www/admin/addressbook/index.php.in
+++ b/www/admin/addressbook/index.php
@@ -7,11 +7,11 @@
Read the file COPYING that comes with this packages for details.
*/
-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');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/include/form.class.php');
$errors = array();
@@ -23,7 +23,7 @@ if( $auth->group() != 'maintainer' && $auth->group() != 'admin') {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/administrator/admin.php.in b/www/admin/administrator/admin.php
index d3b5bab..b23005b 100644
--- a/www/admin/administrator/admin.php.in
+++ b/www/admin/administrator/admin.php
@@ -18,12 +18,12 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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');
-require_once('@kolab_php_module_prefix@admin/include/passwd.php');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/include/form.class.php');
+require_once('KolabAdmin/include/passwd.php');
/**** Functions ***/
function comment( $s ) {
@@ -106,7 +106,7 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'administrator';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/administrator/index.php.in b/www/admin/administrator/index.php
index 6f5ee6f..71819ef 100644
--- a/www/admin/administrator/index.php.in
+++ b/www/admin/administrator/index.php
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
$errors = array();
@@ -33,7 +33,7 @@ if( $auth->group() != 'admin' ) {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/distributionlist/index.php.in b/www/admin/distributionlist/index.php
index 73b5b92..adc50d9 100644
--- a/www/admin/distributionlist/index.php.in
+++ b/www/admin/distributionlist/index.php
@@ -20,10 +20,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/distributionlist/list.php.in b/www/admin/distributionlist/list.php
index 2ba0398..e4dcbb6 100644
--- a/www/admin/distributionlist/list.php.in
+++ b/www/admin/distributionlist/list.php
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
function checkemaillist( $form, $key, $value ) {
global $ldap;
diff --git a/www/admin/domainmaintainer/domainmaintainer.php.in b/www/admin/domainmaintainer/domainmaintainer.php
index 35e6c0c..68a6d47 100644
--- a/www/admin/domainmaintainer/domainmaintainer.php.in
+++ b/www/admin/domainmaintainer/domainmaintainer.php
@@ -18,12 +18,12 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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');
-require_once('@kolab_php_module_prefix@admin/include/passwd.php');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/include/form.class.php');
+require_once('KolabAdmin/include/passwd.php');
/**** Functions ***/
function comment( $s ) {
@@ -81,7 +81,7 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'domain-maintainer';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/domainmaintainer/index.php.in b/www/admin/domainmaintainer/index.php
index 0939321..9e3b597 100644
--- a/www/admin/domainmaintainer/index.php.in
+++ b/www/admin/domainmaintainer/index.php
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
$errors = array();
@@ -33,7 +33,7 @@ if( $auth->group() != 'admin' && $auth->group() != 'maintainer' ) {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/index.php.in b/www/admin/index.php
index 8515587..b1235d4 100644
--- a/www/admin/index.php.in
+++ b/www/admin/index.php
@@ -18,14 +18,14 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
function exists_group( $group ) {
global $ldap;
diff --git a/www/admin/kolab/codefusion.php.in b/www/admin/kolab/codefusion.php
index 1ad64fe..b17e2b8 100644
--- a/www/admin/kolab/codefusion.php.in
+++ b/www/admin/kolab/codefusion.php
@@ -21,15 +21,15 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/erfrakon.php.in b/www/admin/kolab/erfrakon.php
index 5f0ec9e..bcbbd40 100644
--- a/www/admin/kolab/erfrakon.php.in
+++ b/www/admin/kolab/erfrakon.php
@@ -20,15 +20,15 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/index.php.in b/www/admin/kolab/index.php
index 5d8f0dc..9cfa392 100644
--- a/www/admin/kolab/index.php.in
+++ b/www/admin/kolab/index.php
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/intevation.php.in b/www/admin/kolab/intevation.php
index c5ddd26..d5537c2 100644
--- a/www/admin/kolab/intevation.php.in
+++ b/www/admin/kolab/intevation.php
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/kdab.php.in b/www/admin/kolab/kdab.php
index d739a65..c50f278 100644
--- a/www/admin/kolab/kdab.php.in
+++ b/www/admin/kolab/kdab.php
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/kde.php.in b/www/admin/kolab/kde.php
index b8c74c1..40576ec 100644
--- a/www/admin/kolab/kde.php.in
+++ b/www/admin/kolab/kde.php
@@ -7,15 +7,15 @@
Read the file COPYING that comes with this packages for details.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
diff --git a/www/admin/kolab/versions.php.in b/www/admin/kolab/versions.php.in
index 94671b1..cc35f09 100644
--- a/www/admin/kolab/versions.php.in
+++ b/www/admin/kolab/versions.php.in
@@ -8,15 +8,15 @@
Read the file COPYING that comes with this packages for details.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
/**** Authentication etc. ***/
$sidx = 'about';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/maintainer/index.php.in b/www/admin/maintainer/index.php
index 5334e92..aed4dbb 100644
--- a/www/admin/maintainer/index.php.in
+++ b/www/admin/maintainer/index.php
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
$errors = array();
@@ -33,7 +33,7 @@ if( $auth->group() != 'admin' ) {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/maintainer/maintainer.php.in b/www/admin/maintainer/maintainer.php
index 513040d..f4aada9 100644
--- a/www/admin/maintainer/maintainer.php.in
+++ b/www/admin/maintainer/maintainer.php
@@ -18,12 +18,12 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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');
-require_once('@kolab_php_module_prefix@admin/include/passwd.php');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/include/form.class.php');
+require_once('KolabAdmin/include/passwd.php');
/**** Functions ***/
function comment( $s ) {
@@ -103,7 +103,7 @@ function fill_form_for_modify( &$form, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'maintainer';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/settings/index.php.in b/www/admin/settings/index.php
index 6dc5ba9..8a64429 100644
--- a/www/admin/settings/index.php.in
+++ b/www/admin/settings/index.php
@@ -1,8 +1,8 @@
<?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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/sharedfolder/index.php.in b/www/admin/sharedfolder/index.php
index c8d105f..9e8db12 100644
--- a/www/admin/sharedfolder/index.php.in
+++ b/www/admin/sharedfolder/index.php
@@ -7,10 +7,10 @@
Read the file COPYING that comes with this packages for details.
*/
-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('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
$errors = array();
@@ -22,7 +22,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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/sharedfolder/sf.php.in b/www/admin/sharedfolder/sf.php
index 79a6645..60b584c 100644
--- a/www/admin/sharedfolder/sf.php.in
+++ b/www/admin/sharedfolder/sf.php
@@ -7,11 +7,11 @@
* Read the file COPYING that comes with this packages for details.
*/
-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');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/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.in b/www/admin/user/deliver.php
index a883002..93f738c 100644
--- a/www/admin/user/deliver.php.in
+++ b/www/admin/user/deliver.php
@@ -18,9 +18,9 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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 'KolabAdmin/include/mysmarty.php';
+require_once 'KolabAdmin/include/headers.php';
+require_once 'KolabAdmin/include/authenticate.php';
require_once 'Net/Sieve.php';
require_once 'Horde/String.php';
require_once 'KolabAdmin/Sieve.php';
@@ -33,7 +33,7 @@ require_once 'KolabAdmin/Sieve/Segment/Vacation.php';
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/user/forward.php.in b/www/admin/user/forward.php
index 3dcce95..789ba44 100644
--- a/www/admin/user/forward.php.in
+++ b/www/admin/user/forward.php
@@ -18,10 +18,10 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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 'KolabAdmin/include/mysmarty.php';
+require_once 'KolabAdmin/include/headers.php';
+require_once('KolabAdmin/include/locale.php');
+require_once 'KolabAdmin/include/authenticate.php';
require_once 'Net/Sieve.php';
require_once 'Horde/String.php';
require_once 'KolabAdmin/Sieve.php';
@@ -34,7 +34,7 @@ require_once 'KolabAdmin/Sieve/Segment/Vacation.php';
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';
diff --git a/www/admin/user/index.php.in b/www/admin/user/index.php
index 7fe05af..51675ed 100644
--- a/www/admin/user/index.php.in
+++ b/www/admin/user/index.php
@@ -18,11 +18,11 @@
* Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
*/
-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');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/include/form.class.php');
$errors = array();
@@ -34,7 +34,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('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/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
index eeace1d..7c00de3 100644
--- a/www/admin/user/user.php.in
+++ b/www/admin/user/user.php
@@ -6,12 +6,12 @@
Read the file COPYING that comes with this packages for details.
*/
-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');
-require_once('@kolab_php_module_prefix@admin/include/passwd.php');
+require_once('KolabAdmin/include/mysmarty.php');
+require_once('KolabAdmin/include/headers.php');
+require_once('KolabAdmin/include/locale.php');
+require_once('KolabAdmin/include/authenticate.php');
+require_once('KolabAdmin/include/form.class.php');
+require_once('KolabAdmin/include/passwd.php');
/**** Functions ***/
function comment( $s ) {
@@ -399,7 +399,7 @@ function fill_form_for_modify( &$form, $dn, &$ldap_object ) {
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
$menuitems[$sidx]['selected'] = 'selected';
/**** Logic ***/
diff --git a/www/admin/user/vacation.php.in b/www/admin/user/vacation.php
index 1c4d3cd..3076847 100644
--- a/www/admin/user/vacation.php.in
+++ b/www/admin/user/vacation.php
@@ -6,10 +6,10 @@
Read the file COPYING that comes with this packages for details.
*/
-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 'KolabAdmin/include/mysmarty.php';
+require_once 'KolabAdmin/include/headers.php';
+require_once('KolabAdmin/include/locale.php');
+require_once 'KolabAdmin/include/authenticate.php';
require_once 'Net/Sieve.php';
require_once 'Horde/String.php';
require_once 'KolabAdmin/Sieve.php';
@@ -22,7 +22,7 @@ require_once 'KolabAdmin/Sieve/Segment/Vacation.php';
/**** Authentication etc. ***/
$sidx = 'user';
-require_once('@kolab_php_module_prefix@admin/include/menu.php');
+require_once('KolabAdmin/include/menu.php');
/**** Submenu for current page ***/
$menuitems[$sidx]['selected'] = 'selected';