hesabixWpTheme/bbpress/alert-topic-lock.php

29 lines
850 B
PHP

<?php
/**
* هشدار قفل موضوع
*
* @package Hesabix2
* @subpackage bbPress
*/
defined( 'ABSPATH' ) || exit;
do_action( 'bbp_theme_before_alert_topic_lock' );
if ( bbp_show_topic_lock_alert() ) :
?>
<div class="bbp-alert-outer hesabix2-bbp-alert" role="alertdialog" aria-modal="true">
<div class="bbp-alert-inner">
<p class="bbp-alert-description"><?php bbp_topic_lock_description(); ?></p>
<p class="bbp-alert-actions">
<a class="bbp-alert-back button" href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php esc_html_e( 'بازگشت به انجمن', 'hesabix2' ); ?></a>
<a class="bbp-alert-close button hesabix2-bbp-alert__stay" href="#"><?php esc_html_e( 'ادامه ویرایش', 'hesabix2' ); ?></a>
</p>
</div>
</div>
<?php
endif;
do_action( 'bbp_theme_after_alert_topic_lock' );