From 29586ebf3add40b982bb9d5bfb78fff59d6b204d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 19 Oct 2003 06:08:11 +0000 Subject: [PATCH] This is legacy code, not used for 2 years or more --- addressbook/admin.php | 69 ------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 addressbook/admin.php diff --git a/addressbook/admin.php b/addressbook/admin.php deleted file mode 100644 index 78ac03a64e..0000000000 --- a/addressbook/admin.php +++ /dev/null @@ -1,69 +0,0 @@ - 'addressbook', - 'noheader' => True, - 'nonavbar' => True, - 'noappheader' => True, - 'noappfooter' => True, - 'enable_config_class' => True, - 'enable_nextmatchs_class' => True - ); - - include('../header.inc.php'); - - $phpgw->config->read_repository(); - - if ($submit) - { - if ($usecountrylist) - { - $phpgw->config->config_data['countrylist'] = True; - } - else - { - unset($phpgw->config->config_data['countrylist']); - } - - $phpgw->config->save_repository(True); - Header('Location: ' . $phpgw->link('/admin/index.php')); - } - - $phpgw->common->phpgw_header(); - echo parse_navbar(); - - $t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); - $t->set_file(array('admin' => 'admin.tpl')); - - $t->set_var('action_url',$phpgw->link('/addressbook/admin.php')); - - $tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color); - $t->set_var('tr_color',$tr_color); - - $t->set_var('lang_countrylist',lang('Use Country List')); - if ($phpgw->config->config_data['countrylist']) - { - $t->set_var('countrylist',' checked'); - } - else - { - $t->set_var('countrylist',''); - } - - $t->set_var('lang_admin',lang('Addressbook').' '.lang('Admin')); - $t->set_var('lang_submit',lang('submit')); - - $t->pparse('out','admin'); - $phpgw->common->phpgw_footer(); -?>