adm/style/captcha_qa_acp.html
author indvdum (gotoindvdum[at]gmail[dot]com)
Thu, 08 Mar 2012 01:33:19 +0400
changeset 11 0a7892c58331
parent 0 ceef6d64c21d
permissions -rw-r--r--
Style fix
     1 <!-- INCLUDE overall_header.html -->
     2 
     3 <a name="maincontent"></a>
     4 
     5 
     6 	<a href="<!-- IF U_LIST -->{U_LIST}<!-- ELSE -->{U_ACTION}<!-- ENDIF -->" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
     7 
     8 	<h1>{L_QUESTIONS}</h1>
     9 
    10 	<p>{L_QUESTIONS_EXPLAIN}</p>
    11 <!-- IF S_LIST -->
    12 	<form id="captcha_qa" method="post" action="{U_ACTION}">
    13 
    14 	<fieldset class="tabulated">
    15 	<legend>{L_QUESTIONS}</legend>
    16 
    17 	<table cellspacing="1">
    18 	<thead>
    19 	<tr>
    20 		<th colspan="3">{L_QUESTIONS}</th>
    21 	</tr>
    22 	<tr class="row3">
    23 		<td style="text-align: center;">{L_QUESTION_TEXT}</td>
    24 		<td style="width: 5%; text-align: center;">{L_QUESTION_LANG}</td>
    25 		<td style="vertical-align: top; width: 50px; text-align: center; white-space: nowrap;">{L_ACTION}</td>
    26 	</tr>
    27 	</thead>
    28 	<tbody>
    29 	<!-- BEGIN questions -->
    30 
    31 		<!-- IF questions.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
    32 
    33 		<td style="text-align: left;">{questions.QUESTION_TEXT}</td>
    34 		<td style="text-align: center;">{questions.QUESTION_LANG}</td>
    35 		<td style="text-align: center;"><a href="{questions.U_EDIT}">{ICON_EDIT}</a>&nbsp;<a href="{questions.U_DELETE}">{ICON_DELETE}</a></td>
    36 		</tr>
    37 		<!-- END questions -->
    38 	</tbody>
    39 	</table>
    40 	<fieldset class="quick">
    41 		<input class="button1" type="submit" name="add" value="{L_ADD}" />
    42 		<input  type="hidden" name="action" value="add" />
    43 		<input  type="hidden" name="configure" value="1" />
    44 		<input  type="hidden" name="select_captcha" value="{CLASS}" />
    45 
    46 		{S_FORM_TOKEN}
    47 	</fieldset>
    48 	{S_FORM_TOKEN}
    49 	</fieldset>
    50 	</form>
    51 <!-- ELSE -->
    52 	<!-- IF S_ERROR -->
    53 		<div class="errorbox">
    54 			<h3>{L_WARNING}</h3>
    55 			<p>{L_QA_ERROR_MSG}</p>
    56 		</div>
    57 	<!-- ENDIF -->
    58 	<form id="captcha_qa" method="post" action="{U_ACTION}">
    59 	<fieldset>
    60 		<legend>{L_EDIT_QUESTION}</legend>
    61 	<dl>
    62 		<dt><label for="strict">{L_QUESTION_STRICT}:</label><br /><span>{L_QUESTION_STRICT_EXPLAIN}</span></dt>
    63 		<dd><label><input type="radio" class="radio" name="strict" value="1"<!-- IF STRICT --> id="strict" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
    64 			<label><input type="radio" class="radio" name="strict" value="0"<!-- IF not STRICT --> id="strict" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
    65 	</dl>
    66 
    67 	<dl>
    68 		<dt><label for="lang_iso">{L_QUESTION_LANG}</label><br /><span>{L_QUESTION_LANG_EXPLAIN}</span></dt>
    69 		<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>
    70 	</dl>
    71 	<dl>
    72 		<dt><label for="question_text">{L_QUESTION_TEXT}</label><br /><span>{L_QUESTION_TEXT_EXPLAIN}</span></dt>
    73 		<dd><input id="question_text" maxlength="255" size="60" name="question_text" type="text" value="{QUESTION_TEXT}" /></dd>
    74 	</dl>
    75 	<dl>
    76 		<dt><label for="answers">{L_QUESTION_ANSWERS}</label><br /><span>{L_ANSWERS_EXPLAIN}</span></dt>
    77 		<dd><textarea id="answers" style="word-wrap: normal; overflow-x: scroll;" name="answers" rows="15" cols="800" >{ANSWERS}</textarea></dd>
    78 	</dl>
    79 	</fieldset>
    80 	<fieldset class="quick">
    81 		<input class="button1" type="submit" name="submit" value="{L_SUBMIT}" />
    82 		<input type="hidden" name="question_id" value="{QUESTION_ID}" />
    83 		<input type="hidden" name="action" value="add" />
    84 		<input  type="hidden" name="configure" value="1" />
    85 		<input  type="hidden" name="select_captcha" value="{CLASS}" />
    86 
    87 		{S_FORM_TOKEN}
    88 	</fieldset>
    89 	</form>
    90 <!-- ENDIF -->
    91 
    92 <!-- INCLUDE overall_footer.html -->