1
<!-- INCLUDE overall_header.html -->
3
<a name="maincontent"></a>
7
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
9
<script type="text/javascript">
11
function update_image(newimage)
13
document.getElementById('image').src = (newimage) ? "{RANKS_PATH}/" + encodeURI(newimage) : "./images/spacer.gif";
19
<h1>{L_ACP_MANAGE_RANKS}</h1>
21
<p>{L_ACP_RANKS_EXPLAIN}</p>
23
<form id="acp_ranks" method="post" action="{U_ACTION}">
26
<legend>{L_ACP_RANKS}</legend>
28
<dt><label for="title">{L_RANK_TITLE}:</label></dt>
29
<dd><input name="title" type="text" id="title" value="{RANK_TITLE}" maxlength="255" /></dd>
32
<dt><label for="rank_image">{L_RANK_IMAGE}:</label></dt>
33
<dd><select name="rank_image" id="rank_image" onchange="update_image(this.options[selectedIndex].value);">{S_FILENAME_LIST}</select></dd>
34
<dd><img src="{RANK_IMAGE}" id="image" alt="" /></dd>
37
<dt><label for="special_rank">{L_RANK_SPECIAL}:</label></dt>
38
<dd><label><input onchange="dE('posts', -1)" type="radio" class="radio" name="special_rank" value="1" id="special_rank"<!-- IF S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
39
<label><input onchange="dE('posts', 1)" type="radio" class="radio" name="special_rank" value="0"<!-- IF not S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
41
<!-- IF S_SPECIAL_RANK --><div id="posts" style="display: none;"><!-- ELSE --><div id="posts"><!-- ENDIF -->
43
<dt><label for="min_posts">{L_RANK_MINIMUM}:</label></dt>
44
<dd><input name="min_posts" type="text" id="min_posts" maxlength="10" value="{MIN_POSTS}" /></dd>
48
<p class="submit-buttons">
49
<input type="hidden" name="action" value="save" />
51
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
52
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
60
<h1>{L_ACP_MANAGE_RANKS}</h1>
62
<p>{L_ACP_RANKS_EXPLAIN}</p>
64
<form id="acp_ranks" method="post" action="{U_ACTION}">
65
<fieldset class="tabulated">
66
<legend>{L_ACP_MANAGE_RANKS}</legend>
68
<table cellspacing="1">
71
<th>{L_RANK_IMAGE}</th>
72
<th>{L_RANK_TITLE}</th>
73
<th>{L_RANK_MINIMUM}</th>
79
<!-- IF ranks.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
80
<td style="text-align: center;"><!-- IF ranks.S_RANK_IMAGE --><img src="{ranks.RANK_IMAGE}" alt="{ranks.RANK_TITLE}" title="{ranks.RANK_TITLE}" /><!-- ELSE --> - <!-- ENDIF --></td>
81
<td style="text-align: center;">{ranks.RANK_TITLE}</td>
82
<td style="text-align: center;"><!-- IF ranks.S_SPECIAL_RANK --> - <!-- ELSE -->{ranks.MIN_POSTS}<!-- ENDIF --></td>
83
<td style="text-align: center;"><a href="{ranks.U_EDIT}">{ICON_EDIT}</a> <a href="{ranks.U_DELETE}">{ICON_DELETE}</a></td>
90
<input class="button2" name="add" type="submit" value="{L_ADD_RANK}" />
98
<!-- INCLUDE overall_footer.html -->