mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
fix previews
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9659 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6dec355d1c
commit
6c9ddcf1df
3 changed files with 4 additions and 8 deletions
|
@ -49,13 +49,9 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_PREVIEW}</legend>
|
<legend>{L_PREVIEW}</legend>
|
||||||
<!-- IF PREVIEW -->
|
<!-- IF CAPTCHA_PREVIEW -->
|
||||||
<div class="successbox">
|
|
||||||
<h3>{L_WARNING}</h3>
|
|
||||||
<p>{L_CAPTCHA_PREVIEW_MSG}</p>
|
|
||||||
</div>
|
|
||||||
<!-- INCLUDE {CAPTCHA_PREVIEW} -->
|
<!-- INCLUDE {CAPTCHA_PREVIEW} -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<p>{L_CAPTCHA_PREVIEW_MSG}</p>
|
<p>{L_CAPTCHA_PREVIEW_MSG}</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- include {CAPTCHA_PREVIEW} -->
|
<!-- INCLUDE {CAPTCHA_PREVIEW} -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset class="submit-buttons">
|
<fieldset class="submit-buttons">
|
||||||
|
|
|
@ -107,7 +107,7 @@ class phpbb_recaptcha extends phpbb_default_captcha
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'CAPTCHA_PREVIEW' => $this->get_demo_template(),
|
'CAPTCHA_PREVIEW' => $this->get_demo_template($id),
|
||||||
'CAPTCHA_NAME' => $this->get_class_name(),
|
'CAPTCHA_NAME' => $this->get_class_name(),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue