diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-07-18 23:37:09 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-07-18 23:37:09 +0000 |
commit | ba0d8b5a55ae69e228f303c01ba0fe2f545489ee (patch) | |
tree | 035fcb195e2cc6dde8a1fd4d1834d149e44f82d3 /phpBB/adm/style | |
parent | d61afd3509de3823c4f405fc95f8f799f073c505 (diff) | |
download | forums-ba0d8b5a55ae69e228f303c01ba0fe2f545489ee.tar forums-ba0d8b5a55ae69e228f303c01ba0fe2f545489ee.tar.gz forums-ba0d8b5a55ae69e228f303c01ba0fe2f545489ee.tar.bz2 forums-ba0d8b5a55ae69e228f303c01ba0fe2f545489ee.tar.xz forums-ba0d8b5a55ae69e228f303c01ba0fe2f545489ee.zip |
Initial commit for the QA captcha. Needs language & style finetuning and bug searching & fixing
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9786 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/style')
-rwxr-xr-x | phpBB/adm/style/captcha_qa_acp.html | 93 | ||||
-rwxr-xr-x | phpBB/adm/style/captcha_qa_acp_demo.html | 7 |
2 files changed, 100 insertions, 0 deletions
diff --git a/phpBB/adm/style/captcha_qa_acp.html b/phpBB/adm/style/captcha_qa_acp.html new file mode 100755 index 0000000000..2ff35bcef1 --- /dev/null +++ b/phpBB/adm/style/captcha_qa_acp.html @@ -0,0 +1,93 @@ +<!-- INCLUDE overall_header.html --> + +<a name="maincontent"></a> + + + + <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> + + <h1>{L_QUESTIONS}</h1> + + <p>{L_QUESTIONS_EXPLAIN}</p> +<!-- IF S_LIST --> + <form id="captcha_qa" method="post" action="{U_ACTION}"> + + <fieldset class="tabulated"> + <legend>{L_QUESTIONS}</legend> + + <table cellspacing="1"> + <thead> + <tr> + <th colspan="3">{L_QUESTIONS}</th> + </tr> + <tr class="row3"> + <td style="text-align: center;">{L_QUESTION_TEXT}</td> + <td style="text-align: center;">{L_QUESTION_LANG}</td> + <td style="text-align: center;">{L_ACTION}</td> + </tr> + </thead> + <tbody> + <!-- BEGIN questions --> + + <!-- IF questions.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td style="text-align: center;">{questions.QUESTION_TEXT}</td> + <td style="text-align: center;">{questions.QUESTION_LANG}</td> + <td style="text-align: center;"><a href="{questions.U_EDIT}">{ICON_EDIT}</a><a href="{questions.U_DELETE}">{ICON_DELETE}</a></td> + </tr> + <!-- END questions --> + </tbody> + </table> + <fieldset class="quick"> + <input class="button1" type="submit" name="add" value="{L_ADD}" /> + <input type="hidden" name="action" value="add" /> + <input type="hidden" name="configure" value="1" /> + <input type="hidden" name="select_captcha" value="{CLASS}" /> + + {S_FORM_TOKEN} + </fieldset> + {S_FORM_TOKEN} + </fieldset> + </form> +<!-- ELSE --> + <!-- IF S_ERROR --> + <div class="errorbox"> + <h3>{L_WARNING}</h3> + <p>{QA_ERROR_MSG}</p> + </div> + <!-- ENDIF --> + <form id="captcha_qa" method="post" action="{U_ACTION}"> + <fieldset> + <legend>{L_QUESTIONS}</legend> + <dl> + <dt><label for="strict">{L_QUESTION_STRICT}:</label><br /><span>{L_QUESTION_STRICT_EXPLAIN}</span></dt> + <dd><label><input type="radio" class="radio" name="strict" value="1"<!-- IF STRICT --> id="strict" checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label><input type="radio" class="radio" name="strict" value="0"<!-- IF not STRICT --> id="strict" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> + </dl> + + <dl> + <dt><label for="lang_iso">{L_QUESTION_LANG}</label><br /><span>{L_QUESTION_LANG_EXPLAIN}</span></dt> + <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> + </dl> + <dl> + <dt><label for="question_text">{L_QUESTION_TEXT}</label><br /><span>{L_QUESTION_TEXT_EXPLAIN}</span></dt> + <dd><input id="question_text" name="question_text" type="text" value="{QUESTION_TEXT}" /></dd> + </dl> + <dl> + <dt><label for="answers">{L_QUESTION_ANSWERS}</label><br /><span>{L_ANSWERS_EXPLAIN}</span></dt> + <dd><textarea id="answers" name="answers">{ANSWERS}</textarea></dd> + </dl> + </fieldset> + <fieldset class="quick"> + <input class="button1" type="submit" name="submit" value="{L_SUBMIT}" /> + <input type="hidden" name="question_id" value="{QUESTION_ID}" /> + <input type="hidden" name="action" value="add" /> + <input type="hidden" name="configure" value="1" /> + <input type="hidden" name="select_captcha" value="{CLASS}" /> + + {S_FORM_TOKEN} + </fieldset> + </form> +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html --> diff --git a/phpBB/adm/style/captcha_qa_acp_demo.html b/phpBB/adm/style/captcha_qa_acp_demo.html new file mode 100755 index 0000000000..5c3f9c320e --- /dev/null +++ b/phpBB/adm/style/captcha_qa_acp_demo.html @@ -0,0 +1,7 @@ +<dl> + <dt><label for="answer">{L_QUESTION}:</label><br /><span>{L_QUESTION_EXPLAIN}</span></dt> +
+ <dd> + <input type="text" />
+ </dd> +</dl> |