PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.0
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
fluent-community / app / Views / auth / login_form.php

login_form.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 2.10.0, at app/Views/auth/login_form.php

53 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (!defined('ABSPATH')) { exit;} // Exit if accessed directly ?>
2 <?php
3 /** @var array $settings @var array $defaults @var array $hiddenFields @var string $redirect */
4 $fluentCommunitySettings = $settings ?? [];
5 $fluentCommunityDefaults = $defaults ?? [];
6 $fluentCommunityHiddenFields = $hiddenFields ?? [];
7 $fluentCommunityRedirect = $redirect ?? '';
8 ?>
9 <div id="fcom_user_onboard_wrap" class="fcom_user_onboard">
10 <?php do_action('fluent_community/before_auth_form_header', 'login'); ?>
11 <div class="fcom_onboard_header">
12 <div class="fcom_onboard_header_title">
13 <h2>
14 <?php echo esc_html($fluentCommunitySettings['title']); ?>
15 </h2>
16 <p>
17 <?php echo wp_kses_post($fluentCommunitySettings['description']); ?>
18 </p>
19 </div>
20 </div>
21 <div class="fcom_onboard_body">
22 <div class="fcom_onboard_form">
23
24 <?php
25 \FluentCommunity\Modules\Auth\AuthHelper::nativeLoginForm([
26 'echo' => true,
27 'form_id' => 'fcom_user_login_form',
28 'value_remember' => true,
29 'redirect' => !empty($redirect_to) ? $redirect_to : '',
30 'value_username' => $fluentCommunityDefaults ? \FluentCommunity\Framework\Support\Arr::get($fluentCommunityDefaults, 'email') : '',
31 'label_log_in' => $fluentCommunitySettings['button_label'],
32 ], $fluentCommunityHiddenFields);
33 ?>
34
35 <div class="fcom_spaced_divider">
36 <?php if (!empty($signupUrl)): ?>
37 <div class="fcom_alt_auth_text">
38 <?php esc_html_e('Don\'t have an account?', 'fluent-community'); ?>
39 <a href="<?php echo esc_url($signupUrl); ?>">
40 <?php esc_html_e('Signup', 'fluent-community'); ?>
41 </a>
42 </div>
43 <?php endif; ?>
44 <p class="fcom_reset_pass_text">
45 <a href="<?php echo esc_url(wp_lostpassword_url($fluentCommunityRedirect)); ?>">
46 <?php esc_html_e('Lost your password?', 'fluent-community'); ?>
47 </a>
48 </p>
49 </div>
50 </div>
51 </div>
52 </div>
53