mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-15 05:24:41 +01:00
Some extra template variables *_EXPLAIN which some might wish to use
git-svn-id: file:///svn/phpbb/trunk@6010 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5c181bc528
commit
d404c70552
@ -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),
|
||||
|
@ -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,
|
||||
|
@ -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')),
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user