PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.1 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 All 31 releases
← All changes | templates/alert-topic-lock.php +29 -29 2.0.0 → 2.5.0 View file →
@@ -1,29 +1,29 @@
1 -<?php
2 -
3 -/**
4 - * Topic Lock Alert
5 - *
6 - * @package bbPress
7 - * @subpackage Theme
8 - */
9 -
10 -// Exit if accessed directly
11 -defined( 'ABSPATH' ) || exit;
12 -
13 -do_action( 'bbp_theme_before_alert_topic_lock' ); ?>
14 -
15 -<?php if ( bbp_show_topic_lock_alert() ) : ?>
16 -
17 - <div class="bbp-alert-outer">
18 - <div class="bbp-alert-inner">
19 - <p class="bbp-alert-description"><?php bbp_topic_lock_description(); ?></p>
20 - <p class="bbp-alert-actions">
21 - <a class="bbp-alert-back" href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php esc_html_e( 'Leave', 'forumax' ); ?></a>
22 - <a class="bbp-alert-close" href="#"><?php esc_html_e( 'Stay', 'forumax' ); ?></a>
23 - </p>
24 - </div>
25 - </div>
26 -
27 -<?php endif;
28 -
29 -do_action( 'bbp_theme_after_alert_topic_lock' );
1 +<?php
2 +
3 +/**
4 + * Topic Lock Alert
5 + *
6 + * @package bbPress
7 + * @subpackage Theme
8 + */
9 +
10 +// Exit if accessed directly
11 +defined( 'ABSPATH' ) || exit;
12 +
13 +do_action( 'bbp_theme_before_alert_topic_lock' ); ?>
14 +
15 +<?php if ( bbp_show_topic_lock_alert() ) : ?>
16 +
17 + <div class="bbp-alert-outer">
18 + <div class="bbp-alert-inner">
19 + <p class="bbp-alert-description"><?php bbp_topic_lock_description(); ?></p>
20 + <p class="bbp-alert-actions">
21 + <a class="bbp-alert-back" href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php esc_html_e( 'Leave', 'forumax' ); ?></a>
22 + <a class="bbp-alert-close" href="#"><?php esc_html_e( 'Stay', 'forumax' ); ?></a>
23 + </p>
24 + </div>
25 + </div>
26 +
27 +<?php endif;
28 +
29 +do_action( 'bbp_theme_after_alert_topic_lock' );