diff options
author | Nils Adermann <naderman@naderman.de> | 2009-07-22 15:50:31 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2009-07-22 15:50:31 +0000 |
commit | e90f25e9b4090be3e631fe951c558f226add0c9f (patch) | |
tree | 6af82392f797d6cf74044586bb045f23776a4a0e | |
parent | 03d7465d0874501b3784a56d2a4c998084789561 (diff) | |
download | forums-e90f25e9b4090be3e631fe951c558f226add0c9f.tar forums-e90f25e9b4090be3e631fe951c558f226add0c9f.tar.gz forums-e90f25e9b4090be3e631fe951c558f226add0c9f.tar.bz2 forums-e90f25e9b4090be3e631fe951c558f226add0c9f.tar.xz forums-e90f25e9b4090be3e631fe951c558f226add0c9f.zip |
geez I'm blind - use the right template and lang vars
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9834 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/mcp/mcp_front.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_front.php b/phpBB/includes/mcp/mcp_front.php index ee75c1daff..b844796955 100644 --- a/phpBB/includes/mcp/mcp_front.php +++ b/phpBB/includes/mcp/mcp_front.php @@ -322,15 +322,15 @@ function mcp_front_view($id, $mode, $action) if ($total == 0) { $template->assign_vars(array( - 'L_REPORTS_TOTAL' => $user->lang['REPORTS_ZERO_TOTAL'], + '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['REPORT_TOTAL'] : sprintf($user->lang['REPORTS_TOTAL'], $total), - 'S_HAS_REPORTS' => true) + 'L_REPORTS_TOTAL' => ($total == 1) ? $user->lang['PM_REPORT_TOTAL'] : sprintf($user->lang['PM_REPORTS_TOTAL'], $total), + 'S_HAS_PM_REPORTS' => true) ); } } |