diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-11 15:27:37 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-11 15:27:37 +0000 |
| commit | 08fd930da0835465a8f0a3f161a7c6cad098ae3f (patch) | |
| tree | caa1d3623db4d645d8c289a6fed17e89881427e2 | |
| parent | 7ae621056f4ba3a9677e4b108c7c9c5914b1d053 (diff) | |
| download | forums-08fd930da0835465a8f0a3f161a7c6cad098ae3f.tar forums-08fd930da0835465a8f0a3f161a7c6cad098ae3f.tar.gz forums-08fd930da0835465a8f0a3f161a7c6cad098ae3f.tar.bz2 forums-08fd930da0835465a8f0a3f161a7c6cad098ae3f.tar.xz forums-08fd930da0835465a8f0a3f161a7c6cad098ae3f.zip | |
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
| -rw-r--r-- | phpBB/admin/admin_permissions.php | 10 | ||||
| -rw-r--r-- | phpBB/admin/subSilver.css | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/phpBB/admin/admin_permissions.php b/phpBB/admin/admin_permissions.php index 57114f7117..ca51affd7e 100644 --- a/phpBB/admin/admin_permissions.php +++ b/phpBB/admin/admin_permissions.php @@ -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 - - echo ($preset_options) ? '<option>--' . $user->lang['PRESETS'] . '--</option>' . $preset_options : ''; + <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 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; diff --git a/phpBB/admin/subSilver.css b/phpBB/admin/subSilver.css index 4b50962c2a..eb6a944a87 100644 --- a/phpBB/admin/subSilver.css +++ b/phpBB/admin/subSilver.css @@ -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; |
