From: Nils A. <nad...@ph...> - 2009-07-26 20:23:00
|
Author: naderman Date: Sun Jul 26 21:22:41 2009 New Revision: 9864 Log: geez, maybe we should stop displaying text and this would become easier 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 Sun Jul 26 21:22:41 2009 *************** *** 322,335 **** 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) ); } --- 322,335 ---- if ($total == 0) { $template->assign_vars(array( ! 'L_PM_REPORTS_TOTAL' => $user->lang['PM_REPORTS_ZERO_TOTAL'], 'S_HAS_PM_REPORTS' => false) ); } else { $template->assign_vars(array( ! 'L_PM_REPORTS_TOTAL' => ($total == 1) ? $user->lang['PM_REPORT_TOTAL'] : sprintf($user->lang['PM_REPORTS_TOTAL'], $total), 'S_HAS_PM_REPORTS' => true) ); } |