Update for missing template values

This commit is contained in:
Miles Lott 2001-03-25 08:56:24 +00:00
parent 2dd34c4c1a
commit 23ec2bb2b1
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,7 @@
if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category $cat_name has been added !")); }
if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); }
$t->set_var('category_list',$c->formated_list('select','all',$cat_parent,'False'));
$t->set_var('font',$font);
$t->set_var('user_name',$phpgw_info["user"]["fullname"]);
$t->set_var('doneurl',$phpgw->link('/addressbook/categories.php'));
@ -49,6 +50,7 @@
$t->set_var('hidden_vars','<input type="hidden" name="cat_id" value="' . $cat_id . '">');
$t->set_var('lang_choose',lang('Choose the category'));
$t->set_var('lang_main_cat',lang('Category'));
$t->set_var('lang_select_parent',lang('Select parent category'));
$t->set_var('main_cat_list',$c->formated_list('select','mains'));
$t->set_var('lang_name',lang('Category name'));

View File

@ -46,6 +46,7 @@
$cats = $c->return_single($cat_id);
$t->set_var('category_list',$c->formated_list('select','all',$cat_parent,'False'));
$t->set_var('font',$font);
$t->set_var('user_name',$phpgw_info["user"]["fullname"]);
$t->set_var('title_categories',lang('Edit category for'));
@ -57,6 +58,7 @@
$t->set_var('hidden_vars',$hidden_vars);
$t->set_var('lang_name',lang('Category name'));
$t->set_var('lang_descr',lang('Category description'));
$t->set_var('lang_select_parent',lang('Select parent category'));
$cat_id = $cats[0]['id'];