aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_icons.html
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-08-03 11:36:55 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-08-03 11:36:55 +0000
commite9151c450f75f034f2721c70fb970f9259be79b5 (patch)
tree8600ac3b3bc214281975d4e4abea47ed4715aeb0 /phpBB/adm/style/acp_icons.html
parent757d630522c3066cbc293faeeaf534b2b3a8c7be (diff)
downloadforums-e9151c450f75f034f2721c70fb970f9259be79b5.tar
forums-e9151c450f75f034f2721c70fb970f9259be79b5.tar.gz
forums-e9151c450f75f034f2721c70fb970f9259be79b5.tar.bz2
forums-e9151c450f75f034f2721c70fb970f9259be79b5.tar.xz
forums-e9151c450f75f034f2721c70fb970f9259be79b5.zip
cleaning up a little (yucc, gross)
git-svn-id: file:///svn/phpbb/trunk@8002 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/style/acp_icons.html')
-rw-r--r--phpBB/adm/style/acp_icons.html31
1 files changed, 13 insertions, 18 deletions
diff --git a/phpBB/adm/style/acp_icons.html b/phpBB/adm/style/acp_icons.html
index 265136cbcc..b2033a9c11 100644
--- a/phpBB/adm/style/acp_icons.html
+++ b/phpBB/adm/style/acp_icons.html
@@ -5,9 +5,9 @@
<!-- IF S_EDIT -->
<script type="text/javascript" defer="defer">
+ <!--
<!-- IF S_ADD_CODE -->
- <!--
-
+
var smiley = Array();
<!-- BEGIN smile -->
smiley['{smile.SMILEY_URL}'] = Array();
@@ -37,35 +37,30 @@
}
}
}
- //-->
+
<!-- ENDIF -->
- var toggle_options;
+
function toggle_select(smilie, display, select)
{
var disp = document.getElementById('order_disp[' + smilie + ']');
var nodisp = document.getElementById('order_no_disp[' + smilie + ']');
disp.disabled = !display;
- //document.getElementById('order_disp[' + smilie + ']').style = '';
nodisp.disabled = display;
- //document.getElementById('order_no_disp[' + smilie + ']').style = 'display:none';
if (display)
{
-
document.getElementById(select).selectedIndex = 0;
-
- nodisp.style.display = 'none';
- disp.style.display = '';
+ nodisp.className = 'disabled-options';
+ disp.className = '';
}
else
{
- document.getElementById(select).selectedIndex = {S_ORDER_LIST_DISPLAY_COUNT};
-
- disp.style.display = 'none';
- nodisp.style.display = '';
+ document.getElementById(select).selectedIndex = {S_ORDER_LIST_DISPLAY_COUNT};
+ disp.className = 'disabled-options';
+ nodisp.className = '';
}
}
-
+ //-->
</script>
@@ -124,8 +119,8 @@
</td>
<!-- IF ID or S_ADD -->
<td><select id="order[{items.IMG}]" name="order[{items.IMG}]">
- <optgroup id="order_disp[{items.IMG}]" label="{L_DISPLAY_POSTING}" <!-- IF not items.POSTING_CHECKED -->disabled="disabled" style="display:none"<!-- ENDIF -->>{S_ORDER_LIST_DISPLAY}</optgroup>
- <optgroup id="order_no_disp[{items.IMG}]" label="{L_DISPLAY_POSTING_NO}" <!-- IF items.POSTING_CHECKED -->disabled="disabled" style="display:none"<!-- ENDIF -->>{S_ORDER_LIST_UNDISPLAY}</optgroup>
+ <optgroup id="order_disp[{items.IMG}]" label="{L_DISPLAY_POSTING}" <!-- IF not items.POSTING_CHECKED -->disabled="disabled" class="disabled-options" <!-- ENDIF -->>{S_ORDER_LIST_DISPLAY}</optgroup>
+ <optgroup id="order_no_disp[{items.IMG}]" label="{L_DISPLAY_POSTING_NO}" <!-- IF items.POSTING_CHECKED -->disabled="disabled" class="disabled-options" <!-- ENDIF -->>{S_ORDER_LIST_UNDISPLAY}</optgroup>
</select></td>
<!-- ENDIF -->
<!-- IF S_ADD -->
@@ -147,7 +142,7 @@
<td><input type="checkbox" class="radio" name="add_display_on_posting" checked="checked" onclick="toggle_select('add', this.checked, 'add_order');"/></td>
<td><select id="add_order" name="add_order">
<optgroup id="order_disp[add]" label="{L_DISPLAY_POSTING}">{S_ADD_ORDER_LIST_DISPLAY}</optgroup>
- <optgroup id="order_no_disp[add]" label="{L_DISPLAY_POSTING_NO}" disabled="disabled" style="display:none">{S_ADD_ORDER_LIST_UNDISPLAY}</optgroup>
+ <optgroup id="order_no_disp[add]" label="{L_DISPLAY_POSTING_NO}" disabled="disabled" class="disabled-options" >{S_ADD_ORDER_LIST_UNDISPLAY}</optgroup>
</select></td>
<td><input type="checkbox" class="radio" name="add_additional_code" value="1" /></td>
</tr>