1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-30 21:45:01 +03:00

Fixes #362 Доработка каптчи

This commit is contained in:
Denis Shakhov 2014-05-19 14:35:20 +07:00
parent 6c79b86ad6
commit 185fe6c504
2 changed files with 1 additions and 5 deletions

View file

@ -67,7 +67,6 @@ ls.user = (function ($) {
$('.js-modal-toggle-registration').on('click', function (e) {
$('[data-tab-target=tab-pane-registration]').tab('activate');
ls.captcha.update();
$('#modal-login').modal('show');
e.preventDefault();
});

View file

@ -7,10 +7,7 @@
{extends './field.text.tpl'}
{block 'field_input' prepend}
<span style="background-image: url({cfg name='path.framework.libs_vendor.web'}/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}&n={rand()}&name={$sCaptchaName});"
data-type="captcha"
data-captcha-name="{$smarty.local.sName}"
class="form-auth-captcha"></span>
<span data-type="captcha" data-captcha-name="{$smarty.local.sName}" class="form-auth-captcha"></span>
{$_aRules = [
'required' => true,