[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/bbpress/ -> alert-topic-lock.php (source)

   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', 'bbpress' ); ?></a>
  22                  <a class="bbp-alert-close" href="#"><?php esc_html_e( 'Stay', 'bbpress' ); ?></a>
  23              </p>
  24          </div>
  25      </div>
  26  
  27  <?php endif;
  28  
  29  do_action( 'bbp_theme_after_alert_topic_lock' );


Generated: Sat Jan 18 01:01:32 2020 Cross-referenced by PHPXref 0.7.1