mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 07:08:09 +01:00
fix a few things up for demonstration
git-svn-id: file:///svn/phpbb/trunk@3828 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c259434af4
commit
d4ee356087
@ -825,7 +825,6 @@ if (in_array($submit, array('options', 'presetsave', 'presetdel', 'update')) ||
|
|||||||
if (option)
|
if (option)
|
||||||
{
|
{
|
||||||
document.acl.set.selectedIndex = 0;
|
document.acl.set.selectedIndex = 0;
|
||||||
var expr = new RegExp(/\d+/);
|
|
||||||
for (i = 0; i < document.acl.length; i++)
|
for (i = 0; i < document.acl.length; i++)
|
||||||
{
|
{
|
||||||
var elem = document.acl.elements[i];
|
var elem = document.acl.elements[i];
|
||||||
@ -854,7 +853,8 @@ if (in_array($submit, array('options', 'presetsave', 'presetdel', 'update')) ||
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
option_name = elem.name.substr(9, elem.name.length - 10);
|
option_start = elem.name.search(/\[(\w+?)\]$/);
|
||||||
|
option_name = elem.name.substr(option_start + 1, elem.name.length - option_start - 2);
|
||||||
|
|
||||||
if (presets[option].yes.indexOf(option_name + ',') != -1 && elem.value == <?php echo ACL_YES; ?>)
|
if (presets[option].yes.indexOf(option_name + ',') != -1 && elem.value == <?php echo ACL_YES; ?>)
|
||||||
elem.checked = true;
|
elem.checked = true;
|
||||||
@ -911,7 +911,7 @@ if (in_array($submit, array('options', 'presetsave', 'presetdel', 'update')) ||
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="150">Will set options in: <br /><span class="gensmall"></span></td>
|
<td class="row1" width="150">Will set options in: <br /><span class="gensmall"></span></td>
|
||||||
<td class="row2"><select name="f[<?php echo $which_mode; ?>][]" multiple="4" onchange="this.form.submit()"><?php
|
<td class="row2"><select name="f[<?php echo $which_mode; ?>][]" multiple="4"><?php
|
||||||
|
|
||||||
echo make_forum_select($forum_id[$which_mode], false);
|
echo make_forum_select($forum_id[$which_mode], false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user