|
From: Paul S. O. <ps...@us...> - 2001-11-24 00:34:02
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv6959/admin
Modified Files:
index.php
Log Message:
Cope with modules which don't have appropriate names set in the lang_admin file, output names to left pane like old way
Index: index.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/index.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** index.php 2001/11/23 01:01:01 1.27
--- index.php 2001/11/24 00:33:58 1.28
***************
*** 68,72 ****
while( list($cat, $action_array) = each($module) )
{
! $cat = $lang[$cat];
$template->assign_block_vars("catrow", array(
--- 68,72 ----
while( list($cat, $action_array) = each($module) )
{
! $cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("catrow", array(
***************
*** 82,86 ****
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
! $action = $lang[$action];
$template->assign_block_vars("catrow.modulerow", array(
--- 82,86 ----
$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(
|