mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@5717 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -10,13 +10,21 @@ function insert_user(user)
|
|||||||
|
|
||||||
function insert_marked(users)
|
function insert_marked(users)
|
||||||
{
|
{
|
||||||
for(i = 0; i < users.length; i++)
|
if (typeof(users.length) == "undefined")
|
||||||
{
|
{
|
||||||
if ( users[i].checked )
|
insert_user(users.value);
|
||||||
|
}
|
||||||
|
else if (users.length > 0)
|
||||||
|
{
|
||||||
|
for (i = 0; i < users.length; i++)
|
||||||
{
|
{
|
||||||
insert_user(users[i].value);
|
if (users[i].checked)
|
||||||
|
{
|
||||||
|
insert_user(users[i].value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
self.close();
|
self.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user