1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/adm/style/acp_bots.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,102 @@
1.4 +<!-- INCLUDE overall_header.html -->
1.5 +
1.6 +<a name="maincontent"></a>
1.7 +
1.8 +<!-- IF S_EDIT_BOT -->
1.9 +
1.10 + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.11 +
1.12 + <h1>{L_TITLE}</h1>
1.13 +
1.14 + <p>{L_BOT_EDIT_EXPLAIN}</p>
1.15 +
1.16 + <!-- IF S_ERROR -->
1.17 + <div class="errorbox">
1.18 + <h3>{L_WARNING}</h3>
1.19 + <p>{ERROR_MSG}</p>
1.20 + </div>
1.21 + <!-- ENDIF -->
1.22 +
1.23 + <form id="acp_bots" method="post" action="{U_ACTION}">
1.24 +
1.25 + <fieldset>
1.26 + <legend>{L_TITLE}</legend>
1.27 + <dl>
1.28 + <dt><label for="bot_name">{L_BOT_NAME}:</label><br /><span>{L_BOT_NAME_EXPLAIN}</span></dt>
1.29 + <dd><input name="bot_name" type="text" id="bot_name" value="{BOT_NAME}" maxlength="255" /></dd>
1.30 + </dl>
1.31 + <dl>
1.32 + <dt><label for="bot_style">{L_BOT_STYLE}:</label><br /><span>{L_BOT_STYLE_EXPLAIN}</span></dt>
1.33 + <dd><select id="bot_style" name="bot_style">{S_STYLE_OPTIONS}</select></dd>
1.34 + </dl>
1.35 + <dl>
1.36 + <dt><label for="bot_lang">{L_BOT_LANG}:</label><br /><span>{L_BOT_LANG_EXPLAIN}</span></dt>
1.37 + <dd><select id="bot_lang" name="bot_lang">{S_LANG_OPTIONS}</select></dd>
1.38 + </dl>
1.39 + <dl>
1.40 + <dt><label for="bot_active">{L_BOT_ACTIVE}:</label></dt>
1.41 + <dd><select id="bot_active" name="bot_active">{S_ACTIVE_OPTIONS}</select></dd>
1.42 + </dl>
1.43 + <dl>
1.44 + <dt><label for="bot_agent">{L_BOT_AGENT}:</label><br /><span>{L_BOT_AGENT_EXPLAIN}</span></dt>
1.45 + <dd><input name="bot_agent" type="text" id="bot_agent" value="{BOT_AGENT}" maxlength="255" /></dd>
1.46 + </dl>
1.47 + <dl>
1.48 + <dt><label for="bot_ip">{L_BOT_IP}:</label><br /><span>{L_BOT_IP_EXPLAIN}</span></dt>
1.49 + <dd><input name="bot_ip" type="text" id="bot_ip" value="{BOT_IP}" maxlength="255" /></dd>
1.50 + </dl>
1.51 +
1.52 + <p class="submit-buttons">
1.53 + <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
1.54 + <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
1.55 + {S_FORM_TOKEN}
1.56 + </p>
1.57 + </fieldset>
1.58 + </form>
1.59 +
1.60 +<!-- ELSE -->
1.61 +
1.62 + <h1>{L_BOTS}</h1>
1.63 +
1.64 + <p>{L_BOTS_EXPLAIN}</p>
1.65 +
1.66 + <form id="acp_bots" method="post" action="{U_ACTION}">
1.67 +
1.68 + <table cellspacing="1">
1.69 + <thead>
1.70 + <tr>
1.71 + <th>{L_BOT_NAME}</th>
1.72 + <th>{L_BOT_LAST_VISIT}</th>
1.73 + <th colspan="3">{L_OPTIONS}</th>
1.74 + <th>{L_MARK}</th>
1.75 + </tr>
1.76 + </thead>
1.77 + <tbody>
1.78 + <!-- BEGIN bots -->
1.79 + <!-- IF bots.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
1.80 + <td style="width: 50%;">{bots.BOT_NAME}</td>
1.81 + <td style="width: 15%; white-space: nowrap;" align="center"> {bots.LAST_VISIT} </td>
1.82 + <td style="text-align: center;"> <a href="{bots.U_ACTIVATE_DEACTIVATE}">{bots.L_ACTIVATE_DEACTIVATE}</a> </td>
1.83 + <td style="text-align: center;"> <a href="{bots.U_EDIT}">{L_EDIT}</a> </td>
1.84 + <td style="text-align: center;"> <a href="{bots.U_DELETE}">{L_DELETE}</a> </td>
1.85 + <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{bots.BOT_ID}" /></td>
1.86 + </tr>
1.87 + <!-- END bots -->
1.88 + </tbody>
1.89 + </table>
1.90 +
1.91 + <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
1.92 + <input class="button2" name="add" type="submit" value="{L_BOT_ADD}" />
1.93 + </fieldset>
1.94 +
1.95 + <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
1.96 + <select name="action">{S_BOT_OPTIONS}</select>
1.97 + <input class="button2" name="submit" type="submit" value="{L_SUBMIT}" />
1.98 + <p class="small"><a href="#" onclick="marklist('acp_bots', 'mark', true);">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('acp_bots', 'mark', false);">{L_UNMARK_ALL}</a></p>
1.99 + {S_FORM_TOKEN}
1.100 + </fieldset>
1.101 + </form>
1.102 +
1.103 +<!-- ENDIF -->
1.104 +
1.105 +<!-- INCLUDE overall_footer.html -->