From a1ec58189d0bef03accc92b0f9d617a0021eebe0 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Mon, 21 May 2001 22:36:15 +0000 Subject: [PATCH] Enable use of config class --- addressbook/edit.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addressbook/edit.php b/addressbook/edit.php index f3b0bef51e..cb8867f544 100755 --- a/addressbook/edit.php +++ b/addressbook/edit.php @@ -16,7 +16,9 @@ 'noheader' => True, 'nonavbar' => True, 'currentapp' => 'addressbook', - 'enable_contacts_class' => True + 'enable_contacts_class' => True, + 'enable_config_class' => True, + 'enable_country_class' => True ); include('../header.inc.php'); @@ -69,7 +71,7 @@ $qfields = $this->stock_contact_fields + $extrafields + $customfields; $fields = addressbook_read_entry($ab_id,$qfields); - addressbook_form('edit','edit.php','Edit',$fields[0],$customfields); + addressbook_form('edit','edit.php',lang('Edit'),$fields[0],$customfields); $t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $t->set_file(array("edit" => "edit.tpl"));