updateproblem (händisch wg. mods) index.php / kategorien
Verfasst: 08.04.2006 14:42
hi,
ich hab mir vor kurzer zeit wegen eines grafikrahmens, den ich um die kategorien habe die stelle um die kategorieanzeige umbauen lassen (so dass die grafiken keine leerstellen zwischen drin haben, sondern durchgehen), vielleicht kann mir jemand sagen, was ich an der veränderten stelle umbauen muss, damit das update auch da drin ist.
aussehen sollte es so:bei mir ist es aber so:und die änderungen sehen so aus:
wäre für hilfe dankbar 
ich hab mir vor kurzer zeit wegen eines grafikrahmens, den ich um die kategorien habe die stelle um die kategorieanzeige umbauen lassen (so dass die grafiken keine leerstellen zwischen drin haben, sondern durchgehen), vielleicht kann mir jemand sagen, was ich an der veränderten stelle umbauen muss, damit das update auch da drin ist.
aussehen sollte es so:
Code: Alles auswählen
// Okay, let's build the index
//
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
//
// Should we display this category/forum set?
//
$display_forums = false;
for($j = 0; $j < $total_forums; $j++)
{
if ( $is_auth_ary[$forum_data[$j]['forum_id']]['auth_view'] && $forum_data[$j]['cat_id'] == $cat_id )
{
$display_forums = true;
}
}
//
// Yes, we should, so first dump out the category
// title, then, if appropriate the forum list
//
if ( $display_forums )
Code: Alles auswählen
// Okay, let's build the index
//
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
$forums_in_cat = 0;
//
// Should we display this category/forum set?
//
$display_forums = false;
for($j = 0; $j < $total_forums; $j++)
{
if ( $is_auth_ary[$forum_data[$j]['forum_id']]['auth_view'] && $forum_data[$j]['cat_id'] == $cat_id )
{
$display_forums = true;
$forums_in_cat++;
}
}
//
// Yes, we should, so first dump out the category
// title, then, if appropriate the forum list
//
if ( $display_forums )
Code: Alles auswählen
// Let's decide which categories we should display
//
$display_categories = array();
for ($i = 0; $i < $total_forums; $i++ )
{
if ($is_auth_ary[$forum_data[$i]['forum_id']]['auth_view'])
{
$display_categories[$forum_data[$i]['cat_id']] = true;
}
}
//
// Okay, let's build the index
//
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
//
// Yes, we should, so first dump out the category
// title, then, if appropriate the forum list
//
if (isset($display_categories[$cat_id]) && $display_categories[$cat_id])
