diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-04 18:49:19 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-04 18:49:19 +0000 |
commit | d404c7055267deec7ecb07a6b80f98f07c0325e6 (patch) | |
tree | 67ec47a97cccc9f6462f3b6c15da3e67fb31ecd0 | |
parent | 5c181bc5289c54322d61dcc008e539f7c32e882b (diff) | |
download | forums-d404c7055267deec7ecb07a6b80f98f07c0325e6.tar forums-d404c7055267deec7ecb07a6b80f98f07c0325e6.tar.gz forums-d404c7055267deec7ecb07a6b80f98f07c0325e6.tar.bz2 forums-d404c7055267deec7ecb07a6b80f98f07c0325e6.tar.xz forums-d404c7055267deec7ecb07a6b80f98f07c0325e6.zip |
Some extra template variables *_EXPLAIN which some might wish to use
git-svn-id: file:///svn/phpbb/trunk@6010 89ea8834-ac86-4346-8a33-228a782c2dd0
-rwxr-xr-x | phpBB/includes/mcp/mcp_notes.php | 2 | ||||
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 2 | ||||
-rwxr-xr-x | phpBB/includes/mcp/mcp_reports.php | 2 | ||||
-rw-r--r-- | phpBB/language/en/mcp.php | 13 |
4 files changed, 15 insertions, 4 deletions
diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php index 4c61071ce7..1c65b68ae3 100755 --- a/phpBB/includes/mcp/mcp_notes.php +++ b/phpBB/includes/mcp/mcp_notes.php @@ -41,6 +41,7 @@ class mcp_notes { case 'front': $template->assign_vars(array( + 'L_TITLE' => $user->lang['MCP_NOTES'], 'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&form=mcp&field=username", 'U_POST_ACTION' => "mcp.$phpEx$SID&i=notes&mode=user_notes", ) @@ -197,6 +198,7 @@ function mcp_notes_user_view($id, $mode, $action) 'S_SELECT_SORT_KEY' => $s_sort_key, 'S_SELECT_SORT_DAYS' => $s_limit_days, + 'L_TITLE' => $user->lang['MCP_NOTES_USER'], 'PAGE_NUMBER' => on_page($log_count, $config['posts_per_page'], $start), 'PAGINATION' => generate_pagination("mcp.$phpEx$SID&i=$id&mode=$mode&u=$user_id&st=$st&sk=$sk&sd=$sd", $log_count, $config['posts_per_page'], $start), 'TOTAL_REPORTS' => ($log_count == 1) ? $user->lang['LIST_REPORT'] : sprintf($user->lang['LIST_REPORTS'], $log_count), diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 1a3fc4b273..9cdd9bcacb 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -312,6 +312,8 @@ class mcp_queue // Now display the page $template->assign_vars(array( 'L_DISPLAY_ITEMS' => ($mode == 'unapproved_posts') ? $user->lang['DISPLAY_POSTS'] : $user->lang['DISPLAY_TOPICS'], + 'L_EXPLAIN' => ($mode == 'unapproved_posts') ? $user->lang['MCP_QUEUE_UNAPPROVED_POSTS_EXPLAIN'] : $user->lang['MCP_QUEUE_UNAPPROVED_TOPICS_EXPLAIN'], + 'L_TITLE' => ($mode == 'unapproved_posts') ? $user->lang['MCP_QUEUE_UNAPPROVED_POSTS'] : $user->lang['MCP_QUEUE_UNAPPROVED_TOPICS'], 'L_ONLY_TOPIC' => ($topic_id) ? sprintf($user->lang['ONLY_TOPIC'], $topic_info['topic_title']) : '', 'S_FORUM_OPTIONS' => $forum_options, diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php index 21489ae95e..d003b9a6e2 100755 --- a/phpBB/includes/mcp/mcp_reports.php +++ b/phpBB/includes/mcp/mcp_reports.php @@ -316,6 +316,8 @@ class mcp_reports // Now display the page $template->assign_vars(array( + 'L_EXPLAIN' => ($mode == 'reports') ? $user->lang['MCP_REPORTS_OPEN_EXPLAIN'] : $user->lang['MCP_REPORTS_CLOSED_EXPLAIN'], + 'L_TITLE' => ($mode == 'reports') ? $user->lang['MCP_REPORTS_OPEN'] : $user->lang['MCP_REPORTS_CLOSED'], 'L_ONLY_TOPIC' => ($topic_id) ? sprintf($user->lang['ONLY_TOPIC'], $topic_info['topic_title']) : '', 'S_MCP_ACTION' => build_url(array('t', 'f', 'sd', 'st', 'sk')), diff --git a/phpBB/language/en/mcp.php b/phpBB/language/en/mcp.php index ea29b65002..cc0836a1c2 100644 --- a/phpBB/language/en/mcp.php +++ b/phpBB/language/en/mcp.php @@ -162,12 +162,16 @@ $lang = array_merge($lang, array( 'MCP_REPORTS' => 'Reported posts', 'MCP_REPORT_DETAILS' => 'Report details', 'MCP_REPORTS_CLOSED' => 'Closed reports', + 'MCP_REPORTS_CLOSED_EXPLAIN' => 'This is a list of all reports about posts which have previously been resolved', 'MCP_REPORTS_OPEN' => 'Open reports', + 'MCP_REPORTS_OPEN_EXPLAIN' => 'This is a list of all reported posts which are still to be handled', - 'MCP_QUEUE' => 'Moderation queue', - 'MCP_QUEUE_APPROVE_DETAILS' => 'Approve details', - 'MCP_QUEUE_UNAPPROVED_POSTS' => 'Posts awaiting approval', - 'MCP_QUEUE_UNAPPROVED_TOPICS' => 'Topics awaiting approval', + 'MCP_QUEUE' => 'Moderation queue', + 'MCP_QUEUE_APPROVE_DETAILS' => 'Approve details', + 'MCP_QUEUE_UNAPPROVED_POSTS' => 'Posts awaiting approval', + 'MCP_QUEUE_UNAPPROVED_POSTS_EXPLAIN' => 'This is a list of all posts which require approving before they will be visible to users', + 'MCP_QUEUE_UNAPPROVED_TOPICS' => 'Topics awaiting approval', + 'MCP_QUEUE_UNAPPROVED_TOPICS_EXPLAIN' => 'This is a list of all topics which require approving before they will be visible to users', 'MCP_VIEW_ALL' => 'View all (%s)', 'MCP_VIEW_LOGS' => 'View logs', @@ -319,6 +323,7 @@ $lang = array_merge($lang, array( 'VIEW_DETAILS' => 'View details', 'WARNED_USERS' => 'Warned users', + 'WARNED_USERS_EXPLAIN' => 'This is a list of users with unexpired warnings issued to them', 'WARNING_PM_BODY' => 'The following is a warning which has been issued to you by an administrator or moderator of this site.[quote]%s[/quote]', 'WARNING_PM_SUBJECT' => 'Board Warning Issued', 'WARNINGS_ZERO_TOTAL' => 'No warnings exists', |