fictioneer/partials/_modal-bbcodes.php
2024-05-17 12:34:14 +02:00

39 lines
1.3 KiB
PHP

<?php
/**
* Partial: BBCodes Modal
*
* @package WordPress
* @subpackage Fictioneer
* @since 4.0.0
*/
// No direct access!
defined( 'ABSPATH' ) OR exit;
?>
<div id="bbcodes-modal" class="bbcodes modal" data-nosnippet hidden>
<label for="modal-bbcodes-toggle" class="background-close"></label>
<div class="modal__wrapper">
<label class="close" for="modal-bbcodes-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
<?php fictioneer_icon( 'fa-xmark' ); ?>
</label>
<div class="modal__header drag-anchor"><?php echo fcntr( 'bbcodes_modal' ); ?></div>
<div class="modal__row modal__description _bbcodes">
<div><?php echo fcntr( 'bbcode_b' ); ?></div>
<div><?php echo fcntr( 'bbcode_i' ); ?></div>
<div><?php echo fcntr( 'bbcode_s' ); ?></div>
<div><?php echo fcntr( 'bbcode_li' ); ?></div>
<div><?php printf( fcntr( 'bbcode_img' ), '' ); ?></div>
<div><?php echo fcntr( 'bbcode_link' ); ?></div>
<div><?php echo fcntr( 'bbcode_link_name' ); ?></div>
<?php echo fcntr( 'bbcode_quote' ); ?>
<div><?php echo fcntr( 'bbcode_spoiler' ); ?></div>
<div><?php echo fcntr( 'bbcode_ins' ); ?></div>
<div><?php echo fcntr( 'bbcode_del' ); ?></div>
</div>
</div>
</div>