diff --git a/preferences/inc/class.preferences_hooks.inc.php b/preferences/inc/class.preferences_hooks.inc.php index 616c4dc42f..ac8a7e4e8f 100644 --- a/preferences/inc/class.preferences_hooks.inc.php +++ b/preferences/inc/class.preferences_hooks.inc.php @@ -460,47 +460,8 @@ class preferences_hooks unset($args); // unused, but required by function signature $appname = 'preferences'; $file = Array( - 'Site configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname), + 'Site configuration' => egw::link('/index.php','menuaction=admin.admin_config.index&appname=' . $appname.'&ajax=true'), ); display_section($appname, $file); } - - /** - * Hook returning options for deny_acl groups - * - * @param array $config - */ - public static function deny_prefs($config) - { - $accountsel = new uiaccountsel(); - - return ''. - $accountsel->selection('newsettings[deny_prefs]', 'deny_prefs', $config['deny_prefs'], 'groups', 4); - } - - /** - * Hook returning options for deny_acl groups - * - * @param array $config - */ - public static function deny_acl($config) - { - $accountsel = new uiaccountsel(); - - return ''. - $accountsel->selection('newsettings[deny_acl]', 'deny_acl', $config['deny_acl'], 'groups', 4); - } - - /** - * Hook returning options for deny_cats groups - * - * @param array $config - */ - public static function deny_cats($config) - { - $accountsel = new uiaccountsel(); - - return ''. - $accountsel->selection('newsettings[deny_cats]', 'deny_cats', $config['deny_cats'], 'groups', 4); - } } diff --git a/preferences/templates/default/config.tpl b/preferences/templates/default/config.tpl deleted file mode 100644 index 7de021220a..0000000000 --- a/preferences/templates/default/config.tpl +++ /dev/null @@ -1,40 +0,0 @@ - - -
{error}
- - diff --git a/preferences/templates/default/config.xet b/preferences/templates/default/config.xet new file mode 100644 index 0000000000..8a894e2f51 --- /dev/null +++ b/preferences/templates/default/config.xet @@ -0,0 +1,27 @@ + + + +