|
From: Nils A. <nad...@ph...> - 2009-07-22 15:50:57
|
Author: naderman
Date: Wed Jul 22 15:50:31 2009
New Revision: 9834
Log:
geez I'm blind - use the right template and lang vars
Modified:
branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_front.php
Modified: branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_front.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_front.php (original)
--- branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_front.php Wed Jul 22 15:50:31 2009
***************
*** 322,336 ****
if ($total == 0)
{
$template->assign_vars(array(
! 'L_REPORTS_TOTAL' => $user->lang['REPORTS_ZERO_TOTAL'],
'S_HAS_PM_REPORTS' => false)
);
}
else
{
$template->assign_vars(array(
! 'L_REPORTS_TOTAL' => ($total == 1) ? $user->lang['REPORT_TOTAL'] : sprintf($user->lang['REPORTS_TOTAL'], $total),
! 'S_HAS_REPORTS' => true)
);
}
}
--- 322,336 ----
if ($total == 0)
{
$template->assign_vars(array(
! 'L_REPORTS_TOTAL' => $user->lang['PM_REPORTS_ZERO_TOTAL'],
'S_HAS_PM_REPORTS' => false)
);
}
else
{
$template->assign_vars(array(
! 'L_REPORTS_TOTAL' => ($total == 1) ? $user->lang['PM_REPORT_TOTAL'] : sprintf($user->lang['PM_REPORTS_TOTAL'], $total),
! 'S_HAS_PM_REPORTS' => true)
);
}
}
|