Commit 61f808c5 authored by Amin.MasterkinG's avatar Amin.MasterkinG
Browse files

Kaelthas template support HCaptcha/Recaptcha.

parent 60c99324
......@@ -31,6 +31,7 @@
<script src="<?php echo $antiXss->xss_clean(get_config("baseurl")); ?>/template/<?php echo $antiXss->xss_clean(get_config("template")); ?>/js/bootstrap.min.js"></script>
<script src="<?php echo $antiXss->xss_clean(get_config("baseurl")); ?>/template/<?php echo $antiXss->xss_clean(get_config("template")); ?>/js/bootsnav.js"></script>
<script src="<?php echo $antiXss->xss_clean(get_config("baseurl")); ?>/template/<?php echo $antiXss->xss_clean(get_config("template")); ?>/js/popper.min.js"></script>
<?php echo getCaptchaJS(); ?>
</head>
<body>
<video autoplay muted loop id="myVideo">
......
......@@ -78,15 +78,7 @@ require_once 'header.php'; ?>
<input type="password" class="form-control" placeholder="Re-Password"
name="repassword">
</div>
<div class="input-group">
<span class="input-group">Captcha</span>
<input type="text" class="form-control" placeholder="Captcha"
name="captcha">
</div>
<p style="text-align: center;margin-top: 10px;">
<img src="<?php echo user::$captcha->inline(); ?>"
style="border-radius: 5px;"/>
</p>
<?php echo GetCaptchaHTML();?>
<input name="submit" type="hidden" value="register">
<div class="text-center" style="margin-top: 10px;"><input type="submit"
class="btn btn-success"
......@@ -191,17 +183,8 @@ require_once 'header.php'; ?>
placeholder="Username"
name="username">
</div>
<?php } ?>
<div class="input-group">
<span class="input-group">Captcha</span>
<input type="text" class="form-control"
placeholder="Captcha"
name="captcha">
</div>
<p style="text-align: center;margin-top: 10px;">
<img src="<?php echo user::$captcha->inline(); ?>"
style="border-radius: 5px;"/>
</p>
<?php }
echo GetCaptchaHTML();?>
<input name="submit" type="hidden" value="restorepassword">
<div class="text-center" style="margin-top: 10px;"><input
type="submit"
......@@ -261,16 +244,7 @@ require_once 'header.php'; ?>
placeholder="Re-Password"
name="repassword">
</div>
<div class="input-group">
<span class="input-group">Captcha</span>
<input type="text" class="form-control"
placeholder="Captcha"
name="captcha">
</div>
<p style="text-align: center;margin-top: 10px;">
<img src="<?php echo user::$captcha->inline(); ?>"
style="border-radius: 5px;"/>
</p>
<?php echo GetCaptchaHTML();?>
<input name="submit" type="hidden" value="changepass">
<div class="text-center" style="margin-top: 10px;"><input
type="submit"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment