kann man eigentlich die Reihenfolge der Punkte im ACP (Allgemeines, Gruppen, Forum, Styles / Themes, Benutzer, etc.) ändern?
Habe nun so machen Mods drauf, und langsam wird es links im ACP Menü recht unübersichtlich
Gruss, T.
hi,Markus67 hat geschrieben:Hi ...
schau mal hier vorbei![]()
http://www.phpbb.de/viewtopic.php?t=60877
Markus
seltsam, ich kann in meiner admin/index.php die entsprechenden codes nicht finden?
Code: Alles auswählen
ksort($module);
while( list($cat, $action_array) = each($module) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("catrow", array(
"ADMIN_CATEGORY" => $cat)
);
ksort($action_array);
$row_count = 0;
while( list($action, $file) = each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid($file))
);
$row_count++;
}
} Code: Alles auswählen
ksort($module);
$i = 1;
while( list($cat, $action_array) = each($module) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$cat_id = $i;
$template->assign_block_vars("catrow", array(
"CAT_ID" => ($select_id == $cat_id) ? append_sid("index.$phpEx?pane=left") : append_sid("index.$phpEx?pane=left&select_id=" . $cat_id),
"ADMIN_CATEGORY" => $cat)
);
if ($select_id == $cat_id)
{
ksort($action_array);
$row_count = 0;
while( list($action, $file) = each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid($file))
);
$row_count++;
}
}
$i++;
} Code: Alles auswählen
jr_admin_make_left_pane();öhmLeuchte hat geschrieben:Bei dir fehlt der Teil in der Datei wegen dem JuniorAdmin-ModSchau mal nach, wo diese Funktion hinführt. Dort wirst du auch den Teil aus der index.php finden.Code: Alles auswählen
jr_admin_make_left_pane();