Fix: Login page link bug

解决关闭注册后找回密码链接不显示问题
This commit is contained in:
Akkariin Meiko 2020-01-21 11:24:17 +08:00 committed by GitHub
parent 9a79d201c1
commit de97c5f5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,11 +42,13 @@ global $_config;
<p><b>密码</b></p> <p><b>密码</b></p>
<p><input type="password" class="form-control" name="password" id="password" require /></p> <p><input type="password" class="form-control" name="password" id="password" require /></p>
<p><button type="submit" class="btn btn-primary full-width">登录</button></p> <p><button type="submit" class="btn btn-primary full-width">登录</button></p>
<p class='text-center'>
<?php <?php
if($_config['register']['enable']) { if($_config['register']['enable']) {
echo "<p class='text-center'><a href='?page=register'>注册新账号</a> | <a href='?page=findpass'>忘记密码?</a></p>"; echo "<a href='?page=register'>注册新账号</a> | ";
} }
?> ?>
<a href='?page=findpass'>忘记密码?</a></p>
</form> </form>
</div> </div>
</center> </center>
@ -73,4 +75,4 @@ EOF;
} }
?> ?>
</body> </body>
</html> </html>