Made sub categorys show the parent category with a :: seperating them, this are only test changes

This commit is contained in:
jengo 2001-04-26 15:06:07 +00:00
parent a0be8816fe
commit fad64be85d

View File

@ -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 = ' '; }