1
<!-- INCLUDE overall_header.html -->
3
<a name="maincontent"></a>
7
<script type="text/javascript" defer="defer">
13
smiley['{smile.SMILEY_URL}'] = Array();
14
smiley['{smile.SMILEY_URL}']['code'] = '{smile.CODE}';
15
smiley['{smile.SMILEY_URL}']['emotion'] = '{smile.EMOTION}';
16
smiley['{smile.SMILEY_URL}']['width'] = {smile.WIDTH};
17
smiley['{smile.SMILEY_URL}']['height'] = {smile.HEIGHT};
18
smiley['{smile.SMILEY_URL}']['order'] = {smile.ORDER};
21
function update_image(newimage)
23
var use_element = smiley[newimage];
25
document.getElementById('add_image_src').src = '{PHPBB_ROOT_PATH}{IMG_PATH}/' + encodeURI(newimage);
26
document.getElementById('add_code').value = use_element['code'];
27
document.getElementById('add_emotion').value = use_element['emotion'];
28
document.getElementById('add_width').value = use_element['width'];
29
document.getElementById('add_height').value = use_element['height'];
31
element = document.getElementById('add_order');
32
for (var i = 0; i < element.length; i++)
34
if (element.options[i].value == use_element['order'])
36
document.getElementById('add_order').options.selectedIndex = i;
44
function toggle_select(icon, display, select)
46
var disp = document.getElementById('order_disp[' + icon + ']');
47
var nodisp = document.getElementById('order_no_disp[' + icon + ']');
48
disp.disabled = !display;
49
nodisp.disabled = display;
52
document.getElementById(select).selectedIndex = 0;
53
nodisp.className = 'disabled-options';
58
document.getElementById(select).selectedIndex = {S_ORDER_LIST_DISPLAY_COUNT};
59
disp.className = 'disabled-options';
60
nodisp.className = '';
66
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
72
<form id="acp_icons" method="post" action="{U_ACTION}">
74
<fieldset class="tabulated">
75
<legend>{L_TITLE}</legend>
77
<table cellspacing="1">
80
<th colspan="{COLSPAN}">{L_CONFIG}</th>
82
<!-- IF .items or S_ADD_CODE -->
87
<td>{L_SMILIES_CODE}</td>
88
<td>{L_SMILIES_EMOTION}</td>
92
<td>{L_DISPLAY_ON_POSTING}</td>
93
<!-- IF ID or S_ADD -->
103
<!-- IF items.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
105
<td style="text-align: center;"><img src="{items.IMG_SRC}" alt="" title="" /><input type="hidden" name="image[{items.IMG}]" value="1" /></td>
106
<td style="vertical-align: top;">[{items.IMG}]</td>
107
<!-- IF S_SMILIES -->
108
<td><input class="text post" type="text" name="code[{items.IMG}]" value="{items.CODE}" size="10" maxlength="50" /></td>
109
<td><input class="text post" type="text" name="emotion[{items.IMG}]" value="{items.EMOTION}" size="10" maxlength="50" /></td>
111
<td><input class="text post" type="text" size="3" name="width[{items.IMG}]" value="{items.WIDTH}" /></td>
112
<td><input class="text post" type="text" size="3" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td>
114
<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}]');"/>
115
<!-- IF items.S_ID -->
116
<input type="hidden" name="id[{items.IMG}]" value="{items.ID}" />
119
<!-- IF ID or S_ADD -->
120
<td><select id="order[{items.IMG}]" name="order[{items.IMG}]">
121
<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>
122
<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>
126
<td><input type="checkbox" class="radio" name="add_img[{items.IMG}]" value="1" /></td>
130
<!-- IF S_ADD_CODE -->
132
<th colspan="{COLSPAN}">{L_ADD_SMILEY_CODE}</th>
135
<td style="text-align: center;"><select name="add_image" id="add_image" onchange="update_image(this.options[selectedIndex].value);">{S_IMG_OPTIONS}</select></td>
136
<td style="vertical-align: top;"><img src="{IMG_SRC}" id="add_image_src" alt="" title="" /></td>
137
<td><input class="text post" type="text" name="add_code" id="add_code" value="{CODE}" size="10" maxlength="50" /></td>
138
<td><input class="text post" type="text" name="add_emotion" id="add_emotion" value="{EMOTION}" size="10" maxlength="50" /></td>
139
<td><input class="text post" type="text" size="3" name="add_width" id="add_width" value="{WIDTH}" /></td>
140
<td><input class="text post" type="text" size="3" name="add_height" id="add_height" value="{HEIGHT}" /></td>
141
<td><input type="checkbox" class="radio" name="add_display_on_posting" checked="checked" onclick="toggle_select('add', this.checked, 'add_order');"/></td>
142
<td><select id="add_order" name="add_order">
143
<optgroup id="order_disp[add]" label="{L_DISPLAY_POSTING}">{S_ADD_ORDER_LIST_DISPLAY}</optgroup>
144
<optgroup id="order_no_disp[add]" label="{L_DISPLAY_POSTING_NO}" disabled="disabled" class="disabled-options" >{S_ADD_ORDER_LIST_UNDISPLAY}</optgroup>
146
<td><input type="checkbox" class="radio" name="add_additional_code" value="1" /></td>
151
<td colspan="{COLSPAN}">{L_NO_ICONS}</td>
157
<p class="submit-buttons">
158
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
159
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
165
<!-- ELSEIF S_CHOOSE_PAK -->
167
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
173
<form id="acp_icons" method="post" action="{U_ACTION}">
176
<legend>{L_IMPORT}</legend>
178
<!-- IF not S_PAK_OPTIONS -->
179
<p>{L_NO_PAK_OPTIONS}</p>
183
<dt><label for="pak">{L_SELECT_PACKAGE}</label></dt>
184
<dd><select id="pak" name="pak">{S_PAK_OPTIONS}</select></dd>
186
<dt><label for="current">{L_CURRENT}</label><br /><span>{L_CURRENT_EXPLAIN}</span></dt>
187
<dd><label><input type="radio" class="radio" id="current" name="current" value="keep" checked="checked" /> {L_KEEP_ALL}</label>
188
<label><input type="radio" class="radio" name="current" value="replace" /> {L_REPLACE_MATCHES}</label>
189
<label><input type="radio" class="radio" name="current" value="delete" /> {L_DELETE_ALL}</label></dd>
193
<input class="button1" type="submit" id="import" name="import" value="{L_IMPORT_SUBMIT}" />
207
<div class="successbox">
213
<form id="acp_icons" method="post" action="{U_ACTION}">
215
<div style="text-align: right;"><a href="{U_IMPORT}">{L_IMPORT}</a> | <a href="{U_EXPORT}">{L_EXPORT}</a></div>
217
<fieldset class="tabulated">
219
<legend>{L_TITLE}</legend>
221
<table cellspacing="1">
225
<!-- IF S_SMILIES -->
234
<!-- IF items.S_SPACER -->
236
<td class="row3" colspan="{COLSPAN}" style="text-align: center;">{L_NOT_DISPLAYED}</td>
239
<!-- IF items.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
240
<td style="width: 85%; text-align: center;"><img src="{items.IMG_SRC}" width="{items.WIDTH}" height="{items.HEIGHT}" alt="{items.ALT_TEXT}" title="{items.ALT_TEXT}" /></td>
241
<!-- IF S_SMILIES -->
242
<td style="text-align: center;">{items.CODE}</td>
243
<td style="text-align: center;">{items.EMOTION}</td>
245
<td style="text-align: right; white-space: nowrap;">
246
<!-- IF items.S_FIRST_ROW -->{ICON_MOVE_UP_DISABLED}<!-- ELSE --><a href="{items.U_MOVE_UP}">{ICON_MOVE_UP}</a><!-- ENDIF -->
247
<!-- IF items.S_LAST_ROW -->{ICON_MOVE_DOWN_DISABLED}<!-- ELSE --><a href="{items.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a><!-- ENDIF -->
248
<a href="{items.U_EDIT}">{ICON_EDIT}</a> <a href="{items.U_DELETE}">{ICON_DELETE}</a>
256
<input class="button2" name="add" type="submit" value="{L_ICON_ADD}" /> <input class="button2" type="submit" name="edit" value="{L_ICON_EDIT}" />
264
<!-- INCLUDE overall_footer.html -->