diff options
Diffstat (limited to 'phpBB/admin')
-rw-r--r-- | phpBB/admin/index.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php index 4f739e431c..06a9b5b0db 100644 --- a/phpBB/admin/index.php +++ b/phpBB/admin/index.php @@ -24,6 +24,7 @@ // Load default header // $phpbb_root_dir = "./../"; + $no_page_header = TRUE; require('pagestart.inc'); @@ -62,19 +63,25 @@ if( $HTTP_GET_VARS['pane'] == 'left' ) "L_PREVIEW_FORUM" => $lang['Preview_forum']) ); + ksort($module); + while( list($cat, $action_array) = each($module) ) { + $cat = $lang[$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 = preg_replace("'_'", " ", $action); + $action = $lang[$action]; $template->assign_block_vars("catrow.modulerow", array( "ROW_COLOR" => "#" . $row_color, |