Danke,
das hab ich jetzt gefunden.
Hab das mal so geändert:
Code: Alles auswählen
if ($real_level == -1)
{
// get max inc level
$max = 1;
//if ($sub_forum == 2) $max = 0;
//if ($sub_forum == 1) $max = 1;
$keys = array();
$keys = get_auth_keys($cur, false, 0, $max);
$max_level = get_max_depth($cur, false, $max, $keys, $max);
}
Passt auch fast. Nur werden die Categorienamen noch mitausgegeben, obwohl ich in der index_box.tpl diesen Block ebenfalls entfernt habe
Code: Alles auswählen
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td width="46" class="{catrow.cathead.inc.INC_CLASS}">
<img src="{SPACER}" width="46" height="0" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" width="100%colspan="{catrow.cathead.INC_SPAN}">
<span class="cattitle">1<a href="{catrow.cathead.U_VIEWCAT}" class="cattitle" title="{catrow.cathead.CAT_DESC}">{catrow.cathead.CAT_TITLE}</a></span></td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="2" align="right"> </td>
</tr>
<!-- END cathead -->
Wie bekomme ich die Überschriften der Kategorien nun noch weg?