1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/adm/style/captcha_qa_acp.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,92 @@
1.4 +<!-- INCLUDE overall_header.html -->
1.5 +
1.6 +<a name="maincontent"></a>
1.7 +
1.8 +
1.9 + <a href="<!-- IF U_LIST -->{U_LIST}<!-- ELSE -->{U_ACTION}<!-- ENDIF -->" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
1.10 +
1.11 + <h1>{L_QUESTIONS}</h1>
1.12 +
1.13 + <p>{L_QUESTIONS_EXPLAIN}</p>
1.14 +<!-- IF S_LIST -->
1.15 + <form id="captcha_qa" method="post" action="{U_ACTION}">
1.16 +
1.17 + <fieldset class="tabulated">
1.18 + <legend>{L_QUESTIONS}</legend>
1.19 +
1.20 + <table cellspacing="1">
1.21 + <thead>
1.22 + <tr>
1.23 + <th colspan="3">{L_QUESTIONS}</th>
1.24 + </tr>
1.25 + <tr class="row3">
1.26 + <td style="text-align: center;">{L_QUESTION_TEXT}</td>
1.27 + <td style="width: 5%; text-align: center;">{L_QUESTION_LANG}</td>
1.28 + <td style="vertical-align: top; width: 50px; text-align: center; white-space: nowrap;">{L_ACTION}</td>
1.29 + </tr>
1.30 + </thead>
1.31 + <tbody>
1.32 + <!-- BEGIN questions -->
1.33 +
1.34 + <!-- IF questions.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
1.35 +
1.36 + <td style="text-align: left;">{questions.QUESTION_TEXT}</td>
1.37 + <td style="text-align: center;">{questions.QUESTION_LANG}</td>
1.38 + <td style="text-align: center;"><a href="{questions.U_EDIT}">{ICON_EDIT}</a> <a href="{questions.U_DELETE}">{ICON_DELETE}</a></td>
1.39 + </tr>
1.40 + <!-- END questions -->
1.41 + </tbody>
1.42 + </table>
1.43 + <fieldset class="quick">
1.44 + <input class="button1" type="submit" name="add" value="{L_ADD}" />
1.45 + <input type="hidden" name="action" value="add" />
1.46 + <input type="hidden" name="configure" value="1" />
1.47 + <input type="hidden" name="select_captcha" value="{CLASS}" />
1.48 +
1.49 + {S_FORM_TOKEN}
1.50 + </fieldset>
1.51 + {S_FORM_TOKEN}
1.52 + </fieldset>
1.53 + </form>
1.54 +<!-- ELSE -->
1.55 + <!-- IF S_ERROR -->
1.56 + <div class="errorbox">
1.57 + <h3>{L_WARNING}</h3>
1.58 + <p>{L_QA_ERROR_MSG}</p>
1.59 + </div>
1.60 + <!-- ENDIF -->
1.61 + <form id="captcha_qa" method="post" action="{U_ACTION}">
1.62 + <fieldset>
1.63 + <legend>{L_EDIT_QUESTION}</legend>
1.64 + <dl>
1.65 + <dt><label for="strict">{L_QUESTION_STRICT}:</label><br /><span>{L_QUESTION_STRICT_EXPLAIN}</span></dt>
1.66 + <dd><label><input type="radio" class="radio" name="strict" value="1"<!-- IF STRICT --> id="strict" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
1.67 + <label><input type="radio" class="radio" name="strict" value="0"<!-- IF not STRICT --> id="strict" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
1.68 + </dl>
1.69 +
1.70 + <dl>
1.71 + <dt><label for="lang_iso">{L_QUESTION_LANG}</label><br /><span>{L_QUESTION_LANG_EXPLAIN}</span></dt>
1.72 + <dd><select id="lang_iso" name="lang_iso"><!-- BEGIN langs --><option value="{langs.ISO}" <!-- IF langs.ISO == LANG_ISO --> selected="selected" <!-- ENDIF -->>{langs.NAME}</option><!-- END langs --></select></dd>
1.73 + </dl>
1.74 + <dl>
1.75 + <dt><label for="question_text">{L_QUESTION_TEXT}</label><br /><span>{L_QUESTION_TEXT_EXPLAIN}</span></dt>
1.76 + <dd><input id="question_text" maxlength="255" size="60" name="question_text" type="text" value="{QUESTION_TEXT}" /></dd>
1.77 + </dl>
1.78 + <dl>
1.79 + <dt><label for="answers">{L_QUESTION_ANSWERS}</label><br /><span>{L_ANSWERS_EXPLAIN}</span></dt>
1.80 + <dd><textarea id="answers" style="word-wrap: normal; overflow-x: scroll;" name="answers" rows="15" cols="800" >{ANSWERS}</textarea></dd>
1.81 + </dl>
1.82 + </fieldset>
1.83 + <fieldset class="quick">
1.84 + <input class="button1" type="submit" name="submit" value="{L_SUBMIT}" />
1.85 + <input type="hidden" name="question_id" value="{QUESTION_ID}" />
1.86 + <input type="hidden" name="action" value="add" />
1.87 + <input type="hidden" name="configure" value="1" />
1.88 + <input type="hidden" name="select_captcha" value="{CLASS}" />
1.89 +
1.90 + {S_FORM_TOKEN}
1.91 + </fieldset>
1.92 + </form>
1.93 +<!-- ENDIF -->
1.94 +
1.95 +<!-- INCLUDE overall_footer.html -->