Seite 2 von 2

Verfasst: 19.09.2004 11:12
von ...:::Stulle:::...
Nein, die Datei hab ich nich angerührt!!

Komischer weise: wenn ich den nächsten Schritt rückgängig mache:
#
#-----[ FIND ]------------------------------------------
#
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++;
}
}

#
#-----[ REPLACE WITH ]------------------------------------------
#
jr_admin_make_left_pane();
dann funktionieren auch wieder die Links, ich kann also wieder vollkommen auf das Menü zugreifen!!!

MfG
...:::Stulle:::...

Verfasst: 19.09.2004 15:38
von Acid
includes/functions_jr_admin.php

Code: Alles auswählen

#
#--------[ FINDE ]--------------------------
#
   global $db, $phpbb_root_path, $lang, $phpEx, $board_config, $userdata;

#
#--------[ DARUNTER EINFÜGEN ]--------------------------
#
   global $table_prefix;
..versuch´s mal damit.

Verfasst: 19.09.2004 16:25
von ...:::Stulle:::...
Ich glaub datt net...:o Mit einer Zeile Code is allet vergessen, ich danke dir Acid, und dir kratzer54847 natürlich auch ;)

MfG
...:::Stulle:::...