Line 43 | Line 43 |
---|
function toggle_select(icon, display, select) {
|
function toggle_select(icon, display, select) {
|
var disp = document.getElementById('order_disp[' + icon + ']'); var nodisp = document.getElementById('order_no_disp[' + icon + ']');
| var disp = document.getElementById('order_disp_' + select); var nodisp = document.getElementById('order_no_disp_' + select);
|
disp.disabled = !display; nodisp.disabled = display; if (display) {
|
disp.disabled = !display; nodisp.disabled = display; if (display) {
|
document.getElementById(select).selectedIndex = 0;
| document.getElementById('order_' + select).selectedIndex = 0;
|
nodisp.className = 'disabled-options'; disp.className = ''; } else {
|
nodisp.className = 'disabled-options'; disp.className = ''; } else {
|
document.getElementById(select).selectedIndex = {S_ORDER_LIST_DISPLAY_COUNT};
| document.getElementById('order_' + select).selectedIndex = {S_ORDER_LIST_DISPLAY_COUNT};
|
disp.className = 'disabled-options'; nodisp.className = ''; }
| disp.className = 'disabled-options'; nodisp.className = ''; }
|
Line 74 | Line 74 |
---|
<fieldset class="tabulated"> <legend>{L_TITLE}</legend>
|
<fieldset class="tabulated"> <legend>{L_TITLE}</legend>
|
<table cellspacing="1">
| <table cellspacing="1" id="smilies">
|
<thead> <tr> <th colspan="{COLSPAN}">{L_CONFIG}</th>
| <thead> <tr> <th colspan="{COLSPAN}">{L_CONFIG}</th>
|
Line 94 | Line 94 |
---|
<td>{L_ORDER}</td> <!-- ENDIF --> <!-- IF S_ADD -->
|
<td>{L_ORDER}</td> <!-- ENDIF --> <!-- IF S_ADD -->
|
<td>{L_ADD}</td>
| <td>{L_ADD} <a href="#" onclick="marklist('smilies', 'add_img', true); return false;">({L_MARK_ALL})</a></td>
|
<!-- ENDIF --> </tr> </thead>
| <!-- ENDIF --> </tr> </thead>
|
Line 111 | Line 111 |
---|
<td><input class="text post" type="text" size="3" name="width[{items.IMG}]" value="{items.WIDTH}" /></td> <td><input class="text post" type="text" size="3" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td> <td>
|
<td><input class="text post" type="text" size="3" name="width[{items.IMG}]" value="{items.WIDTH}" /></td> <td><input class="text post" type="text" size="3" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td> <td>
|
<input type="checkbox" class="radio" name="display_on_posting[{items.IMG}]"{items.POSTING_CHECKED} onclick="toggle_select('{items.A_IMG}', this.checked, 'order[{items.A_IMG}]');"/>
| <input type="checkbox" class="radio" name="display_on_posting[{items.IMG}]"{items.POSTING_CHECKED} onclick="toggle_select('{items.A_IMG}', this.checked, '{items.S_ROW_COUNT}');"/>
|
<!-- IF items.S_ID --> <input type="hidden" name="id[{items.IMG}]" value="{items.ID}" /> <!-- ENDIF --> </td> <!-- IF ID or S_ADD -->
|
<!-- IF items.S_ID --> <input type="hidden" name="id[{items.IMG}]" value="{items.ID}" /> <!-- ENDIF --> </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" 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>
| <td><select id="order_{items.S_ROW_COUNT}" name="order[{items.IMG}]"> <optgroup id="order_disp_{items.S_ROW_COUNT}" 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.S_ROW_COUNT}" 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 -->
| </select></td> <!-- ENDIF --> <!-- IF S_ADD -->
|
Line 139 | Line 139 |
---|
<td><input class="text post" type="text" size="3" name="add_width" id="add_width" value="{WIDTH}" /></td> <td><input class="text post" type="text" size="3" name="add_height" id="add_height" value="{HEIGHT}" /></td> <td><input type="checkbox" class="radio" name="add_display_on_posting" checked="checked" onclick="toggle_select('add', this.checked, 'add_order');"/></td>
|
<td><input class="text post" type="text" size="3" name="add_width" id="add_width" value="{WIDTH}" /></td> <td><input class="text post" type="text" size="3" name="add_height" id="add_height" value="{HEIGHT}" /></td> <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" class="disabled-options" >{S_ADD_ORDER_LIST_UNDISPLAY}</optgroup>
| <td><select id="order_add_order" name="add_order"> <optgroup id="order_disp_add_order" label="{L_DISPLAY_POSTING}">{S_ADD_ORDER_LIST_DISPLAY}</optgroup> <optgroup id="order_no_disp_add_order" 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>
| </select></td> <td><input type="checkbox" class="radio" name="add_additional_code" value="1" /></td> </tr>
|
Line 243 | Line 243 |
---|
<td style="text-align: center;">{items.EMOTION}</td> <!-- ENDIF --> <td style="text-align: right; white-space: nowrap;">
|
<td style="text-align: center;">{items.EMOTION}</td> <!-- ENDIF --> <td style="text-align: right; white-space: nowrap;">
|
<!-- IF items.S_FIRST_ROW -->{ICON_MOVE_UP_DISABLED}<!-- ELSE --><a href="{items.U_MOVE_UP}">{ICON_MOVE_UP}</a><!-- ENDIF --> <!-- IF items.S_LAST_ROW -->{ICON_MOVE_DOWN_DISABLED}<!-- ELSE --><a href="{items.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a><!-- ENDIF -->
| <!-- IF items.S_FIRST_ROW and not PREVIOUS_PAGE -->{ICON_MOVE_UP_DISABLED}<!-- ELSE --><a href="{items.U_MOVE_UP}">{ICON_MOVE_UP}</a><!-- ENDIF --> <!-- IF items.S_LAST_ROW and not NEXT_PAGE -->{ICON_MOVE_DOWN_DISABLED}<!-- ELSE --><a href="{items.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a><!-- ENDIF -->
|
<a href="{items.U_EDIT}">{ICON_EDIT}</a> <a href="{items.U_DELETE}">{ICON_DELETE}</a> </td>
|
<a href="{items.U_EDIT}">{ICON_EDIT}</a> <a href="{items.U_DELETE}">{ICON_DELETE}</a> </td>
|
| </tr> <!-- BEGINELSE --> <tr class="row3"> <td colspan="{COLSPAN}">{L_ACP_NO_ITEMS}</td>
|
</tr> <!-- END items --> </tbody> </table>
|
</tr> <!-- END items --> </tbody> </table>
|
| <div>{PAGINATION}</div>
|
<p class="quick"> <input class="button2" name="add" type="submit" value="{L_ICON_ADD}" /> <input class="button2" type="submit" name="edit" value="{L_ICON_EDIT}" /> </p>
| <p class="quick"> <input class="button2" name="add" type="submit" value="{L_ICON_ADD}" /> <input class="button2" type="submit" name="edit" value="{L_ICON_EDIT}" /> </p>
|