Skip to content

Commit 47e315f

Browse files
authored
Update loginpage.php
1 parent 95598c8 commit 47e315f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

trunk/web/template/bshark/loginpage.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@
7171
<i class="iconfont icon-key"></i>
7272
<input placeholder="<?php echo $MSG_PASSWORD;?>" autocomplete="new-password" type="password" name="password">
7373
</div>
74+
<?php if ($OJ_VCODE) { ?>
75+
<div class="input-o">
76+
<input name="vcode" placeholder="验证码" type="text">
77+
</div>
78+
<img id="vcode-img" src="vcode.php" onclick="this.src='vcode.php?'+Math.random()" height="30px">
79+
<?php } ?>
80+
7481
<button class="button-login"><?php echo $MSG_LOGIN;?></button>
7582
</form>
7683
<script src="<?php echo $OJ_CDN_URL?>/include/md5-min.js"></script>

0 commit comments

Comments
 (0)