mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Change background colour of selection box for presets ... just trying to find "good" way of seperating headers from options without lots of space, or "underlining"
git-svn-id: file:///svn/phpbb/trunk@3310 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7ae621056f
commit
08fd930da0
2 changed files with 9 additions and 5 deletions
|
@ -484,7 +484,7 @@ if (!empty($forum_id) || $mode == 'administrators' || $mode == 'supermoderators'
|
|||
do
|
||||
{
|
||||
$preset_update_options .= '<option value="' . $row['preset_id'] . '">' . $row['preset_name'] . '</option>';
|
||||
$preset_options .= '<option style="color:red" value="preset_' . $row['preset_id'] . '">* ' . $row['preset_name'] . '</option>';
|
||||
$preset_options .= '<option value="preset_' . $row['preset_id'] . '">' . $row['preset_name'] . '</option>';
|
||||
|
||||
$preset_data = unserialize($row['preset_data']);
|
||||
|
||||
|
@ -579,9 +579,9 @@ if (!empty($forum_id) || $mode == 'administrators' || $mode == 'supermoderators'
|
|||
|
||||
<form method="post" name="acl" action="<?php echo "admin_permissions.$phpEx$SID&mode=$mode"; ?>"><table cellspacing="2" cellpadding="0" border="0" align="center">
|
||||
<tr>
|
||||
<td align="right">Quick settings: <select name="set" onchange="use_preset(this.options[this.selectedIndex].value);"><option><?php echo '-- ' . $user->lang['Select'] . ' --'; ?></option><option value="all_allow"><?php echo $user->lang['All_Allow']; ?></option><option value="all_deny"><?php echo $user->lang['All_Deny']; ?></option><option value="all_inherit"><?php echo $user->lang['All_Inherit']; ?></option><?php
|
||||
<td align="right">Quick settings: <select name="set" onchange="use_preset(this.options[this.selectedIndex].value);"><option class="sep"><?php echo $user->lang['Select'] . ' ->'; ?></option><option value="all_allow"><?php echo $user->lang['ALL_ALLOW']; ?></option><option value="all_deny"><?php echo $user->lang['ALL_DENY']; ?></option><option value="all_inherit"><?php echo $user->lang['ALL_INHERIT']; ?></option><?php
|
||||
|
||||
echo ($preset_options) ? '<option>--' . $user->lang['PRESETS'] . '--</option>' . $preset_options : '';
|
||||
echo ($preset_options) ? '<option class="sep">' . $user->lang['PRESETS'] . ' ->' . '</option>' . $preset_options : '';
|
||||
|
||||
?></select></td>
|
||||
</tr>
|
||||
|
@ -682,7 +682,7 @@ if (!empty($forum_id) || $mode == 'administrators' || $mode == 'supermoderators'
|
|||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><?php echo $user->lang['SELECT_PRESET']; ?>: </td>
|
||||
<td><select name="presetoption"><option value="-1"><?php echo '-- ' . $user->lang['Select'] . ' --'; ?></option><?php
|
||||
<td><select name="presetoption"><option class="sep" value="-1"><?php echo $user->lang['Select'] . ' ->'; ?></option><?php
|
||||
|
||||
echo $preset_update_options;
|
||||
|
||||
|
|
|
@ -172,6 +172,10 @@ input.text {
|
|||
font-family: 'Courier New',courier;
|
||||
}
|
||||
|
||||
option.sep {
|
||||
background-color: #EFEFEF;
|
||||
}
|
||||
|
||||
textarea.edit {
|
||||
font-family: 'Courier New',courier;
|
||||
font-size: 9pt;
|
||||
|
|
Loading…
Add table
Reference in a new issue