PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.0 2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 All 30 releases
← All changes | templates/content-single-topic-lead.php +13 -35 2.4.0 → 2.5.0 View file →
@@ -88,43 +88,21 @@
88 88 );
89 89 else :
90 90 if ( get_option( '_bbp_enable_subscriptions' ) == 1 && forumax_get_opt( 'is_topic_subscription' ) == 1 ) :
91 91 ?>
92 - <div class="frmx-inline-login-prompt frmx-inline-login-prompt--compact">
93 - <h3 class="frmx-inline-login-title"><?php echo esc_html( forumax_get_opt( 'subscription_modal_title' ) ); ?></h3>
94 - <p class="frmx-inline-login-subtitle"><?php echo esc_html( forumax_get_opt( 'subscription_modal_subtitle' ) ); ?></p>
95 - <div class="frmx-subscription-login-form">
96 - <?php if ( function_exists( 'forumax_get_opt' ) && forumax_get_opt( 'topic_login_shortcode' ) ) : ?>
97 - <?php echo do_shortcode( forumax_get_opt( 'topic_login_shortcode' ) ); ?>
98 - <?php else : ?>
99 - <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
100 - <fieldset class="bbp-form">
101 - <legend><?php esc_html_e( 'Log In', 'forumax' ); ?></legend>
102 -
103 - <div class="bbp-username">
104 - <label for="frmx-subscription-user-login"><?php esc_html_e( 'Username', 'forumax' ); ?>: </label>
105 - <input type="text" name="log" value="" size="20" maxlength="100" id="frmx-subscription-user-login" placeholder="<?php esc_attr_e( 'Username or Email', 'forumax' ); ?>" autocomplete="off" />
106 - </div>
107 -
108 - <div class="bbp-password">
109 - <label for="frmx-subscription-user-pass"><?php esc_html_e( 'Password', 'forumax' ); ?>: </label>
110 - <input type="password" name="pwd" value="" size="20" id="frmx-subscription-user-pass" placeholder="<?php esc_attr_e( 'Password', 'forumax' ); ?>" autocomplete="off" />
111 - </div>
112 -
113 - <div class="bbp-remember-me">
114 - <input type="checkbox" name="rememberme" value="forever" id="frmx-subscription-rememberme" />
115 - <label for="frmx-subscription-rememberme"><?php esc_html_e( 'Keep me signed in', 'forumax' ); ?></label>
116 - </div>
117 -
118 - <?php do_action( 'login_form' ); ?>
119 -
120 - <div class="bbp-submit-wrapper">
121 - <button type="submit" name="user-submit" id="frmx-subscription-user-submit" class="button submit user-submit fill-brand"><?php esc_html_e( 'Log In', 'forumax' ); ?></button>
122 - <?php bbp_user_login_fields(); ?>
123 - </div>
124 - </fieldset>
125 - </form>
126 - <?php endif; ?>
92 + <button class="button subscription-login-btn frmx-subscribe-trigger-btn">
93 + <?php esc_html_e( 'Log in to subscribe', 'forumax' ); ?>
94 + </button>
95 + <div class="subscription-login-modal frmx-topic-sub-modal">
96 + <div class="subscription-login-modal-inner">
97 + <button class="subscription-login-modal-close" aria-label="<?php esc_attr_e( 'Close', 'forumax' ); ?>">&times;</button>
98 + <h3 class="frmx-inline-login-title"><?php echo esc_html( forumax_get_opt( 'subscription_modal_title', __( 'Login to the community', 'forumax' ) ) ); ?></h3>
99 + <p class="frmx-inline-login-subtitle"><?php echo esc_html( forumax_get_opt( 'subscription_modal_subtitle', __( 'You must be logged in to subscribe to this topic.', 'forumax' ) ) ); ?></p>
100 + <div class="frmx-subscription-login-form">
101 + <button type="button" class="button fill-brand frmx-scroll-to-login">
102 + <?php esc_html_e( 'Go to login form', 'forumax' ); ?>
103 + </button>
104 + </div>
127 105 </div>
128 106 </div>
129 107 <?php
130 108 endif;