forked from extern/egroupware
Made sub categorys show the parent category with a :: seperating them, this are only test changes
This commit is contained in:
parent
a0be8816fe
commit
fad64be85d
@ -93,7 +93,11 @@
|
||||
$cat_id = $categories[$i]['id'];
|
||||
$owner = $categories[$i]['owner'];
|
||||
$space = ' ';
|
||||
if ($categories[$i]['parent'] > 0) { $name = $space . $phpgw->strip_html($categories[$i]['name']); }
|
||||
if ($categories[$i]['parent'] > 0)
|
||||
{
|
||||
$parent_data = $c->return_single($categories[$i]['parent']);
|
||||
$name = $space . $phpgw->strip_html($parent_data[0]['name'] . ' :: ' . $categories[$i]['name']);
|
||||
}
|
||||
|
||||
$descr = $phpgw->strip_html($categories[$i]['description']);
|
||||
if (! $descr) { $descr = ' '; }
|
||||
|
Loading…
Reference in New Issue
Block a user