mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
#i62 - #i65
gone through every javascript invocation and making sure we adhere to our coding guidelines. git-svn-id: file:///svn/phpbb/trunk@8099 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -97,9 +97,8 @@ class acp_ban
|
||||
'S_USERNAME_BAN' => ($mode == 'user') ? true : false,
|
||||
|
||||
'U_ACTION' => $this->u_action,
|
||||
'U_FIND_USER' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=acp_ban&field=ban'),
|
||||
)
|
||||
);
|
||||
'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=acp_ban&field=ban'),
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -179,10 +178,10 @@ class acp_ban
|
||||
foreach ($ban_length as $ban_id => $length)
|
||||
{
|
||||
$template->assign_block_vars('ban_length', array(
|
||||
'BAN_ID' => $ban_id,
|
||||
'BAN_ID' => (int) $ban_id,
|
||||
'LENGTH' => $length,
|
||||
'A_LENGTH' => addslashes($length))
|
||||
);
|
||||
'A_LENGTH' => addslashes($length),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,8 +192,8 @@ class acp_ban
|
||||
$template->assign_block_vars('ban_reason', array(
|
||||
'BAN_ID' => $ban_id,
|
||||
'REASON' => $reason,
|
||||
'A_REASON' => addslashes(htmlspecialchars_decode($reason)))
|
||||
);
|
||||
'A_REASON' => addslashes(htmlspecialchars_decode($reason)),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -205,8 +204,8 @@ class acp_ban
|
||||
$template->assign_block_vars('ban_give_reason', array(
|
||||
'BAN_ID' => $ban_id,
|
||||
'REASON' => $reason,
|
||||
'A_REASON' => addslashes(htmlspecialchars_decode($reason)))
|
||||
);
|
||||
'A_REASON' => addslashes(htmlspecialchars_decode($reason)),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user