[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <!-- INCLUDE overall_header.html --> 2 3 <a name="maincontent"></a> 4 5 <!-- IF S_EDIT --> 6 7 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> 8 9 <script type="text/javascript"> 10 // <![CDATA[ 11 function update_image(newimage) 12 { 13 document.getElementById('image').src = (newimage) ? "{RANKS_PATH}/" + encodeURI(newimage) : "./images/spacer.gif"; 14 } 15 16 // ]]> 17 </script> 18 19 <h1>{L_ACP_MANAGE_RANKS}</h1> 20 21 <p>{L_ACP_RANKS_EXPLAIN}</p> 22 23 <form id="acp_ranks" method="post" action="{U_ACTION}"> 24 25 <fieldset> 26 <legend>{L_ACP_RANKS}</legend> 27 <dl> 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> 30 </dl> 31 <dl> 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> 35 </dl> 36 <dl> 37 <dt><label for="special_rank">{L_RANK_SPECIAL}:</label></dt> 38 <dd><label><input onclick="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 onclick="dE('posts', 1)" type="radio" class="radio" name="special_rank" value="0"<!-- IF not S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 40 </dl> 41 <!-- IF S_SPECIAL_RANK --><div id="posts" style="display: none;"><!-- ELSE --><div id="posts"><!-- ENDIF --> 42 <dl> 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> 45 </dl> 46 </div> 47 48 <p class="submit-buttons"> 49 <input type="hidden" name="action" value="save" /> 50 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}" /> 53 {S_FORM_TOKEN} 54 </p> 55 </fieldset> 56 </form> 57 58 <!-- ELSE --> 59 60 <h1>{L_ACP_MANAGE_RANKS}</h1> 61 62 <p>{L_ACP_RANKS_EXPLAIN}</p> 63 64 <form id="acp_ranks" method="post" action="{U_ACTION}"> 65 <fieldset class="tabulated"> 66 <legend>{L_ACP_MANAGE_RANKS}</legend> 67 68 <table cellspacing="1"> 69 <thead> 70 <tr> 71 <th>{L_RANK_IMAGE}</th> 72 <th>{L_RANK_TITLE}</th> 73 <th>{L_RANK_MINIMUM}</th> 74 <th>{L_ACTION}</th> 75 </tr> 76 </thead> 77 <tbody> 78 <!-- BEGIN ranks --> 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> 84 </tr> 85 <!-- END ranks --> 86 </tbody> 87 </table> 88 89 <p class="quick"> 90 <input class="button2" name="add" type="submit" value="{L_ADD_RANK}" /> 91 {S_FORM_TOKEN} 92 </p> 93 </fieldset> 94 </form> 95 96 <!-- ENDIF --> 97 98 <!-- INCLUDE overall_footer.html -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Oct 2 15:03:47 2013 | Cross-referenced by PHPXref 0.7.1 |