1 | <form id="avatar_settings" method="post" action="{U_ACTION}"<!-- IF S_CAN_UPLOAD --> enctype="multipart/form-data"<!-- ENDIF -->>
|
---|
2 |
|
---|
3 | <fieldset>
|
---|
4 | <legend>{L_ACP_USER_AVATAR}</legend>
|
---|
5 | <dl>
|
---|
6 | <dt><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></dt>
|
---|
7 | <dd>{AVATAR_IMAGE}</dd>
|
---|
8 | <dd><label><input type="checkbox" class="radio" name="delete" /> {L_DELETE_AVATAR}</label></dd>
|
---|
9 | </dl>
|
---|
10 | <!-- IF not S_IN_AVATAR_GALLERY -->
|
---|
11 | <!-- IF S_UPLOAD_FILE -->
|
---|
12 | <dl>
|
---|
13 | <dt><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></dt>
|
---|
14 | <dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_MAX_FILESIZE}" /><input type="file" id="uploadfile" name="uploadfile" /></dd>
|
---|
15 | </dl>
|
---|
16 | <!-- ENDIF -->
|
---|
17 | <!-- IF S_REMOTE_UPLOAD -->
|
---|
18 | <dl>
|
---|
19 | <dt><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></dt>
|
---|
20 | <dd><input name="uploadurl" type="text" id="uploadurl" value="" /></dd>
|
---|
21 | </dl>
|
---|
22 | <!-- ENDIF -->
|
---|
23 | <!-- IF S_ALLOW_REMOTE -->
|
---|
24 | <dl>
|
---|
25 | <dt><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></dt>
|
---|
26 | <dd><input name="remotelink" type="text" id="remotelink" value="" /></dd>
|
---|
27 | </dl>
|
---|
28 | <dl>
|
---|
29 | <dt><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
|
---|
30 | <dd><input name="width" type="text" id="width" size="3" value="{USER_AVATAR_WIDTH}" /> <span>{L_PIXEL} × </span> <input type="text" name="height" size="3" value="{USER_AVATAR_HEIGHT}" /> <span>{L_PIXEL}</span></dd>
|
---|
31 | </dl>
|
---|
32 | <!-- ENDIF -->
|
---|
33 | <!-- IF S_DISPLAY_GALLERY -->
|
---|
34 | <dl>
|
---|
35 | <dt><label>{L_AVATAR_GALLERY}:</label></dt>
|
---|
36 | <dd><input class="button2" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></dd>
|
---|
37 | </dl>
|
---|
38 | <!-- ENDIF -->
|
---|
39 | <!-- ELSE -->
|
---|
40 | </fieldset>
|
---|
41 |
|
---|
42 | <fieldset>
|
---|
43 | <legend>{L_AVATAR_GALLERY}</legend>
|
---|
44 | <dl>
|
---|
45 | <dt><label for="category">{L_AVATAR_CATEGORY}:</label></dt>
|
---|
46 | <dd><select name="category" id="category">{S_CAT_OPTIONS}</select> <input class="button2" type="submit" value="{L_GO}" name="display_gallery" /></dd>
|
---|
47 | </dl>
|
---|
48 | <dl>
|
---|
49 | <table cellspacing="1">
|
---|
50 | <!-- BEGIN avatar_row -->
|
---|
51 | <tr>
|
---|
52 | <!-- BEGIN avatar_column -->
|
---|
53 | <td class="row1" style="text-align: center;"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" /></td>
|
---|
54 | <!-- END avatar_column -->
|
---|
55 | </tr>
|
---|
56 | <tr>
|
---|
57 | <!-- BEGIN avatar_option_column -->
|
---|
58 | <td class="row2" style="text-align: center;"><input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></td>
|
---|
59 | <!-- END avatar_option_column -->
|
---|
60 | </tr>
|
---|
61 | <!-- END avatar_row -->
|
---|
62 | </table>
|
---|
63 | </dl>
|
---|
64 | </fieldset>
|
---|
65 |
|
---|
66 | <fieldset class="quick" style="margin-top: -15px;">
|
---|
67 | <input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
|
---|
68 | </fieldset>
|
---|
69 |
|
---|
70 | <!-- ENDIF -->
|
---|
71 | </fieldset>
|
---|
72 |
|
---|
73 | <fieldset class="quick">
|
---|
74 | <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
---|
75 | {S_FORM_TOKEN}
|
---|
76 | </fieldset>
|
---|
77 |
|
---|
78 | </form>
|
---|