Replaced hardcoded name "ROC CMS" for placeholder $sitename, and missing href's with $host. Renamed database script and database table for temporal users. Renamed CMS_AUTH_API AS CMS_USER_TEMP_API. Revert design to use CMS_TEMPORAL_USER and clean CMS_USER. Refactor rename cms_auth_storage_* classes to CMS_TEMPORAL_USER_STORAGE_* Added Pending Registrations to the admin menu to show the list of pending registrarions added CSS to display temporal users
40 lines
1.6 KiB
Smarty
40 lines
1.6 KiB
Smarty
<div>
|
|
<form action="{$site_url/}account/roc-register" method="post">
|
|
<fieldset>
|
|
<legend>Registration</legend>
|
|
<div>
|
|
<input type="text" id="name" name="name" value="{$name/}" required autofocus />
|
|
<label for="name">Name</label>
|
|
{if isset="$error_name"}
|
|
<span><i>{$error_name/}</i></span> <br>
|
|
{/if}
|
|
</div>
|
|
<div>
|
|
<input type="password" id="password" name="password" value="" required/>
|
|
<label for="password">Password</label>
|
|
</div>
|
|
<div>
|
|
<input type="email" id="email" name="email" value="{$email/}" required/>
|
|
<label for="email">Email</label>
|
|
{if isset="$error_email"}
|
|
<span><i>{$error_email/}</i></span> <br>
|
|
{/if}
|
|
</div>
|
|
<div>
|
|
<textarea rows="4" cols="50" name="personal_information" id="personal_information" required>
|
|
{$personal_information/}
|
|
</textarea>
|
|
<label for="personal_information">Tell us why you want to register an account</label>
|
|
{if isset="$error_application"}
|
|
<span><i>{$error_application/}</i></span> <br>
|
|
{/if}
|
|
</div>
|
|
{unless isempty="$recaptcha_site_key"}
|
|
<div class="g-recaptcha" data-sitekey="{$recaptcha_site_key/}"></div>
|
|
<br/>
|
|
{/unless}
|
|
<button type="submit">Register</button>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|