From ac6cb8b252d7f968237cce5f583a303d4b93c17b Mon Sep 17 00:00:00 2001 From: jengo Date: Mon, 3 Sep 2001 23:35:38 +0000 Subject: [PATCH] Removed config options that have been moved to forced preferences --- preferences/inc/hook_config.inc.php | 87 +----------------------- preferences/setup/config.inc.php | 65 ------------------ preferences/templates/default/config.tpl | 27 -------- 3 files changed, 1 insertion(+), 178 deletions(-) diff --git a/preferences/inc/hook_config.inc.php b/preferences/inc/hook_config.inc.php index 50e7d962d6..5634a903d5 100644 --- a/preferences/inc/hook_config.inc.php +++ b/preferences/inc/hook_config.inc.php @@ -39,89 +39,4 @@ return $out; } - function force_theme($config) - { - global $phpgw; - - $themes = array('user_choice'); - $themes += $phpgw->common->list_themes(); - - while (list ($key, $value) = each ($themes)) - { - if ($config['force_theme'] == $value) - { - $selected = ' selected'; - } - else - { - $selected = ''; - } - if ($value == 'user_choice') - { - $descr = lang('Users Choice'); - } - else - { - $descr = $value; - } - $out .= '' . "\n"; - } - return $out; - } - - function template_set($config) - { - global $phpgw; - - $templ['user_choice'] = array( - 'name' => 'user_choice', - 'title' => lang('Users Choice') - ); - $templ += $phpgw->common->list_templates(); - - while (list ($key, $value) = each ($templ)) - { - if ($config['template_set'] == $key) - { - $selected = ' selected'; - } - else - { - $selected = ''; - } - - $descr = $templ[$key]['title']; - $out .= '' . "\n"; - } - return $out; - } - - function force_default_app($config) - { - global $phpgw, $phpgw_info; - - $out = '