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/form-anonymous.php +43 -43 2.0.0 → 2.5.0 View file →
@@ -1,43 +1,43 @@
1 -<?php
2 -
3 -/**
4 - * Anonymous User
5 - *
6 - * @package bbPress
7 - * @subpackage Theme
8 - */
9 -
10 -// Exit if accessed directly
11 -defined( 'ABSPATH' ) || exit;
12 -
13 -if ( bbp_current_user_can_access_anonymous_user_form() ) : ?>
14 -
15 - <?php do_action( 'bbp_theme_before_anonymous_form' ); ?>
16 -
17 - <fieldset class="bbp-form">
18 - <legend><?php ( bbp_is_topic_edit() || bbp_is_reply_edit() ) ? esc_html_e( 'Author Information', 'forumax' ) : esc_html_e( 'Your information:', 'forumax' ); ?></legend>
19 -
20 - <?php do_action( 'bbp_theme_anonymous_form_extras_top' ); ?>
21 -
22 - <p>
23 - <label for="bbp_anonymous_author"><?php esc_html_e( 'Name (required):', 'forumax' ); ?></label><br />
24 - <input type="text" id="bbp_anonymous_author" value="<?php bbp_author_display_name(); ?>" size="40" maxlength="100" name="bbp_anonymous_name" autocomplete="off" />
25 - </p>
26 -
27 - <p>
28 - <label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'forumax' ); ?></label><br />
29 - <input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
30 - </p>
31 -
32 - <p>
33 - <label for="bbp_anonymous_website"><?php esc_html_e( 'Website:', 'forumax' ); ?></label><br />
34 - <input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" size="40" maxlength="200" name="bbp_anonymous_website" />
35 - </p>
36 -
37 - <?php do_action( 'bbp_theme_anonymous_form_extras_bottom' ); ?>
38 -
39 - </fieldset>
40 -
41 - <?php do_action( 'bbp_theme_after_anonymous_form' ); ?>
42 -
43 -<?php endif;
1 +<?php
2 +
3 +/**
4 + * Anonymous User
5 + *
6 + * @package bbPress
7 + * @subpackage Theme
8 + */
9 +
10 +// Exit if accessed directly
11 +defined( 'ABSPATH' ) || exit;
12 +
13 +if ( bbp_current_user_can_access_anonymous_user_form() ) : ?>
14 +
15 + <?php do_action( 'bbp_theme_before_anonymous_form' ); ?>
16 +
17 + <fieldset class="bbp-form">
18 + <legend><?php ( bbp_is_topic_edit() || bbp_is_reply_edit() ) ? esc_html_e( 'Author Information', 'forumax' ) : esc_html_e( 'Your information:', 'forumax' ); ?></legend>
19 +
20 + <?php do_action( 'bbp_theme_anonymous_form_extras_top' ); ?>
21 +
22 + <p>
23 + <label for="bbp_anonymous_author"><?php esc_html_e( 'Name (required):', 'forumax' ); ?></label><br />
24 + <input type="text" id="bbp_anonymous_author" value="<?php bbp_author_display_name(); ?>" size="40" maxlength="100" name="bbp_anonymous_name" autocomplete="off" />
25 + </p>
26 +
27 + <p>
28 + <label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'forumax' ); ?></label><br />
29 + <input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
30 + </p>
31 +
32 + <p>
33 + <label for="bbp_anonymous_website"><?php esc_html_e( 'Website:', 'forumax' ); ?></label><br />
34 + <input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" size="40" maxlength="200" name="bbp_anonymous_website" />
35 + </p>
36 +
37 + <?php do_action( 'bbp_theme_anonymous_form_extras_bottom' ); ?>
38 +
39 + </fieldset>
40 +
41 + <?php do_action( 'bbp_theme_after_anonymous_form' ); ?>
42 +
43 +<?php endif;