summaryrefslogtreecommitdiff
path: root/www/admin/addressbook
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/admin/addressbook
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/admin/addressbook')
-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
2 files changed, 12 insertions, 12 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';