mirror of
https://github.com/ZeroDream-CN/SakuraPanel.git
synced 2026-05-13 17:05:34 +08:00
Feature: Invitation registration
增加凭邀请码注册功能,注册页面
This commit is contained in:
committed by
GitHub
Unverified
parent
6c881ff5c0
commit
e14938b79b
+7
-1
@@ -51,6 +51,12 @@ if(!$_config['register']['enable']) {
|
|||||||
<p><input type="number" class="form-control" name="verifycode" id="verifycode" require /></p>
|
<p><input type="number" class="form-control" name="verifycode" id="verifycode" require /></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
if($_config['register']['invite']) {
|
||||||
|
?>
|
||||||
|
<p><b>邀请码</b></p>
|
||||||
|
<p><input type="text" class="form-control" name="invitecode" id="invitecode" require /></p>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<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>
|
||||||
@@ -105,4 +111,4 @@ EOF;
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user