mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Cleanup in aisle 15
git-svn-id: file:///svn/phpbb/trunk@8123 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c1889ade60
commit
b154edd6a5
8 changed files with 12 additions and 12 deletions
|
@ -31,7 +31,7 @@ class acp_ban
|
|||
$form_key = 'acp_ban';
|
||||
add_form_key($form_key);
|
||||
|
||||
if(($bansubmit || $unbansubmit) && !check_form_key($form_key))
|
||||
if (($bansubmit || $unbansubmit) && !check_form_key($form_key))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ class acp_jabber
|
|||
|
||||
if ($submit)
|
||||
{
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
|
@ -138,7 +138,7 @@ class acp_language
|
|||
|
||||
case 'update_details':
|
||||
|
||||
if(!$submit || !check_form_key($form_name))
|
||||
if (!$submit || !check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ class acp_language
|
|||
case 'download_file':
|
||||
case 'upload_data':
|
||||
|
||||
if(!$submit || !check_form_key($form_name))
|
||||
if (!$submit || !check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ class acp_permission_roles
|
|||
|
||||
case 'add':
|
||||
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
|
@ -217,7 +217,7 @@ class acp_permissions
|
|||
{
|
||||
case 'delete':
|
||||
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
@ -254,7 +254,7 @@ class acp_permissions
|
|||
{
|
||||
trigger_error($user->lang['NO_AUTH_SETTING_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ class acp_permissions
|
|||
{
|
||||
trigger_error($user->lang['NO_AUTH_SETTING_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ class acp_ranks
|
|||
{
|
||||
case 'save':
|
||||
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ class acp_ranks
|
|||
case 'edit':
|
||||
case 'add':
|
||||
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ class acp_reasons
|
|||
|
||||
if ($submit)
|
||||
{
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
$error[] = $user->lang['FORM_INVALID'];
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ class acp_words
|
|||
|
||||
case 'save':
|
||||
|
||||
if(!check_form_key($form_name))
|
||||
if (!check_form_key($form_name))
|
||||
{
|
||||
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue