| 1 |
<?php |
| 2 |
// Exit if accessed directly |
| 3 |
if( !defined( 'ABSPATH' ) ) exit; |
| 4 |
|
| 5 |
$fields = wpforo_register_fields(); |
| 6 |
?> |
| 7 |
|
| 8 |
<p id="wpforo-title"><?php wpforo_phrase('Forum - Registration') ?></p> |
| 9 |
|
| 10 |
<?php if( wpforo_feature('user-register') ): ?> |
| 11 |
<form name="wpfreg" action="" enctype="multipart/form-data" method="POST"> |
| 12 |
<div class="wpforo-register-wrap wpfbg-9"> |
| 13 |
<div class="wpforo-register-content"> |
| 14 |
<h3><?php wpforo_phrase('Join us today!') ?></h3> |
| 15 |
<div class="wpf-table wpforo-register-table wpfbg-9" style="padding-bottom:0px;"> |
| 16 |
|
| 17 |
<?php wpforo_fields( $fields ); ?> |
| 18 |
|
| 19 |
<div class="wpf-tr"> |
| 20 |
<div class="wpf-td wpfw-1"><?php do_action('register_form') ?></div> |
| 21 |
<div class="wpf-cl"></div> |
| 22 |
</div> |
| 23 |
<?php if( wpforo_feature('user-register-email-confirm') ): ?> |
| 24 |
<div class="wpf-tr"> |
| 25 |
<div class="wpf-td wpfw-1"> |
| 26 |
<i class="fas fa-info-circle wpfcl-5 wpf-reg-info" aria-hidden="true" style="font-size:16px;"></i> <?php wpforo_phrase('After registration you will receive an email confirmation with a link to set a new password') ?> |
| 27 |
</div> |
| 28 |
<div class="wpf-cl"></div> |
| 29 |
</div> |
| 30 |
<?php endif; ?> |
| 31 |
<div class="wpf-tr"> |
| 32 |
<div class="wpf-td wpfw-1"> |
| 33 |
<div class="wpf-field wpf-field-type-submit" style="text-align:center; width:100%;"> |
| 34 |
<input type="submit" name="wpfororeg" value="<?php wpforo_phrase('Register') ?>" /> |
| 35 |
</div> |
| 36 |
<div class="wpf-field wpf-extra-field-end"> |
| 37 |
<div class="wpf-field-wrap" style="text-align:center; width:100%;"> |
| 38 |
<?php do_action('wpforo_register_form_end') ?> |
| 39 |
<div class="wpf-field-cl"></div> |
| 40 |
</div> |
| 41 |
</div> |
| 42 |
<div class="wpf-field-cl"></div> |
| 43 |
</div> |
| 44 |
<div class="wpf-cl"></div> |
| 45 |
</div> |
| 46 |
<div class="wpf-cl"></div> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
</form> |
| 51 |
<?php else: ?> |
| 52 |
<div class="wpforo-register-wrap"> |
| 53 |
<div class="wpforo-register-content"> |
| 54 |
<p class="wpf-p-error"><?php wpforo_phrase('User registration is disabled') ?></p> |
| 55 |
</div> |
| 56 |
</div> |
| 57 |
<?php endif; ?> |
| 58 |
<p> </p><p> </p><p> </p> |