formatting

This commit is contained in:
Miles Lott 2002-06-18 01:13:43 +00:00
parent 2a28cf1fff
commit c0a1b434e9
5 changed files with 122 additions and 112 deletions

View File

@ -301,8 +301,12 @@
$link_data['menuaction'] = 'admin.uicategories.add';
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->formatted_list(array('select' => 'select','all' => 'all','cat_parent' => $cat_parent,
'global_cats' => $global_cats)));
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->formatted_list(array(
'select' => 'select',
'all' => 'all',
'cat_parent' => $cat_parent,
'global_cats' => $global_cats
)));
$GLOBALS['phpgw']->template->set_var('cat_name',$cat_name);
$GLOBALS['phpgw']->template->set_var('cat_description',$cat_description);
@ -394,8 +398,12 @@
$GLOBALS['phpgw']->template->set_var('cat_name',$GLOBALS['phpgw']->strip_html($cats[0]['name']));
$GLOBALS['phpgw']->template->set_var('cat_description',$GLOBALS['phpgw']->strip_html($cats[0]['description']));
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->formatted_list(array('select' => 'select','all' => 'all','cat_parent' => $cats[0]['parent'],
'global_cats' => $global_cats)));
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->formatted_list(array(
'select' => 'select',
'all' => 'all',
'cat_parent' => $cats[0]['parent'],
'global_cats' => $global_cats
)));
$GLOBALS['phpgw']->template->parse('buttons','edit');
$GLOBALS['phpgw']->template->fp('phpgw_body','form');

View File

@ -205,8 +205,10 @@
$descr = '<font color="FF0000"><b>' . $descr . '</b></font>';
}
$GLOBALS['phpgw']->template->set_var(array('name' => $name,
'descr' => $descr));
$GLOBALS['phpgw']->template->set_var(array(
'name' => $name,
'descr' => $descr
));
$GLOBALS['phpgw']->template->set_var('app_url',$GLOBALS['phpgw']->link('/' . $cats_app . '/index.php','cat_id=' . $cats[$i]['id']));