mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7924 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0b9dab3ff6
commit
092fb76641
2 changed files with 41 additions and 20 deletions
|
@ -267,6 +267,7 @@ p a {
|
||||||
<li>[Fix] Do not copy forum permissions from self (Bug #13663)</li>
|
<li>[Fix] Do not copy forum permissions from self (Bug #13663)</li>
|
||||||
<li>[Fix] Allow for polls to work during preview (Bug #13657) - thanks to Thatbitextra</li>
|
<li>[Fix] Allow for polls to work during preview (Bug #13657) - thanks to Thatbitextra</li>
|
||||||
<li>[Fix] Finer error conditions for sending IM messages (Bugs #13681, #13683)</li>
|
<li>[Fix] Finer error conditions for sending IM messages (Bugs #13681, #13683)</li>
|
||||||
|
<li>[Fix] Add a confirmation for log deletion in the MCP (Bug #13693)</li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -97,6 +97,8 @@ class mcp_logs
|
||||||
|
|
||||||
// Delete entries if requested and able
|
// Delete entries if requested and able
|
||||||
if (($deletemark || $deleteall) && $auth->acl_get('a_clearlogs'))
|
if (($deletemark || $deleteall) && $auth->acl_get('a_clearlogs'))
|
||||||
|
{
|
||||||
|
if (confirm_box(true))
|
||||||
{
|
{
|
||||||
if ($deletemark && sizeof($marked))
|
if ($deletemark && sizeof($marked))
|
||||||
{
|
{
|
||||||
|
@ -123,6 +125,24 @@ class mcp_logs
|
||||||
add_log('admin', 'LOG_CLEAR_MOD');
|
add_log('admin', 'LOG_CLEAR_MOD');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
confirm_box(false, $user->lang['CONFIRM_OPERATION'], build_hidden_fields(array(
|
||||||
|
'f' => $forum_id,
|
||||||
|
't' => $topic_id,
|
||||||
|
'start' => $start,
|
||||||
|
'delmarked' => $deletemark,
|
||||||
|
'delall' => $deleteall,
|
||||||
|
'mark' => $marked,
|
||||||
|
'st' => $sort_days,
|
||||||
|
'sk' => $sort_key,
|
||||||
|
'sd' => $sort_dir,
|
||||||
|
'i' => $id,
|
||||||
|
'mode' => $mode,
|
||||||
|
'action' => request_var('action', array('' => ''))))
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Sorting
|
// Sorting
|
||||||
$limit_days = array(0 => $user->lang['ALL_ENTRIES'], 1 => $user->lang['1_DAY'], 7 => $user->lang['7_DAYS'], 14 => $user->lang['2_WEEKS'], 30 => $user->lang['1_MONTH'], 90 => $user->lang['3_MONTHS'], 180 => $user->lang['6_MONTHS'], 365 => $user->lang['1_YEAR']);
|
$limit_days = array(0 => $user->lang['ALL_ENTRIES'], 1 => $user->lang['1_DAY'], 7 => $user->lang['7_DAYS'], 14 => $user->lang['2_WEEKS'], 30 => $user->lang['1_MONTH'], 90 => $user->lang['3_MONTHS'], 180 => $user->lang['6_MONTHS'], 365 => $user->lang['1_YEAR']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue