File: includes/acp/acp_forums.php
Unmodified
Added
Modified
Removed
Line 56 | Line 56 |
---|
$total = request_var('total', 0);
$this->display_progress_bar($start, $total);
|
$total = request_var('total', 0);
$this->display_progress_bar($start, $total);
|
exit;
| |
break;
case 'delete':
| break;
case 'delete':
|
Line 212 | Line 211 |
---|
$message = ($action == 'add') ? $user->lang['FORUM_CREATED'] : $user->lang['FORUM_UPDATED'];
|
$message = ($action == 'add') ? $user->lang['FORUM_CREATED'] : $user->lang['FORUM_UPDATED'];
|
// Redirect to permissions if ($auth->acl_get('a_fauth') && !$copied_permissions)
| // redirect directly to permission settings screen if authed if ($action == 'add' && !$copied_permissions && $auth->acl_get('a_fauth'))
|
{ $message .= '<br /><br />' . sprintf($user->lang['REDIRECT_ACL'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=permissions' . $acl_url) . '">', '</a>');
|
{ $message .= '<br /><br />' . sprintf($user->lang['REDIRECT_ACL'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=permissions' . $acl_url) . '">', '</a>');
|
}
| |
|
|
// redirect directly to permission settings screen if authed if ($action == 'add' && !$copied_permissions && $auth->acl_get('a_fauth')) {
| |
meta_refresh(4, append_sid("{$phpbb_admin_path}index.$phpEx", 'i=permissions' . $acl_url)); }
| meta_refresh(4, append_sid("{$phpbb_admin_path}index.$phpEx", 'i=permissions' . $acl_url)); }
|
Line 875 | Line 870 |
---|
$errors = array();
|
$errors = array();
|
if (!$forum_data['forum_name'])
| if ($forum_data['forum_name'] == '')
|
{ $errors[] = $user->lang['FORUM_NAME_EMPTY']; }
| { $errors[] = $user->lang['FORUM_NAME_EMPTY']; }
|