mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
Add quotes to string 'private'
This commit is contained in:
parent
50f3f7be43
commit
562e9fb64a
@ -115,8 +115,10 @@
|
|||||||
$GLOBALS['phpgw']->common->phpgw_header();
|
$GLOBALS['phpgw']->common->phpgw_header();
|
||||||
echo parse_navbar();
|
echo parse_navbar();
|
||||||
|
|
||||||
$GLOBALS['phpgw']->template->set_file(array('cat_list_t' => 'listcats.tpl',
|
$GLOBALS['phpgw']->template->set_file(array(
|
||||||
'data_column' => 'listcats.tpl'));
|
'cat_list_t' => 'listcats.tpl',
|
||||||
|
'data_column' => 'listcats.tpl'
|
||||||
|
));
|
||||||
$GLOBALS['phpgw']->template->set_block('cat_list_t','data_column','column');
|
$GLOBALS['phpgw']->template->set_block('cat_list_t','data_column','column');
|
||||||
$GLOBALS['phpgw']->template->set_block('cat_list_t','cat_list','list');
|
$GLOBALS['phpgw']->template->set_block('cat_list_t','cat_list','list');
|
||||||
|
|
||||||
@ -480,11 +482,13 @@
|
|||||||
$type = 'mains';
|
$type = 'mains';
|
||||||
}
|
}
|
||||||
|
|
||||||
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list(array('type' => $type,'selected' => $cats[0]['parent'],
|
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list(array(
|
||||||
'globals' => $global_cats, 'self' => $cat_id)));
|
'type' => $type,'selected' => $cats[0]['parent'],
|
||||||
|
'globals' => $global_cats, 'self' => $cat_id
|
||||||
|
)));
|
||||||
|
|
||||||
$GLOBALS['phpgw']->template->set_var('access','<input type="checkbox" name="cat_access" value="True"'
|
$GLOBALS['phpgw']->template->set_var('access','<input type="checkbox" name="cat_access" value="True"'
|
||||||
. ($cats[0]['access'] == private ?' checked':'') . '>');
|
. ($cats[0]['access'] == 'private' ? ' checked' : '') . '>');
|
||||||
|
|
||||||
if ($extra)
|
if ($extra)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user