# formidable/6.24.1/classes/views/frm-fields/back-end/inline-modal.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version 6.24.1. 34 lines.

- Page: https://pluginprobe.com/plugins/formidable/6.24.1/code/classes/views/frm-fields/back-end/inline-modal.php
- Raw: https://pluginprobe.com/plugins/formidable/6.24.1/raw/classes/views/frm-fields/back-end/inline-modal.php
- Modified: 2025-09-09T18:18:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/6.24.1/code/classes/views/frm-fields/back-end/inline-modal.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

if ( ! $args['dismiss-icon'] ) {
	$args['class'] .= ' frm-modal-no-dismiss';
}
if ( ! $args['show'] ) {
	$args['class'] .= ' frm_hidden';
}
?>
<div class="frm-inline-modal frm-modal postbox <?php echo esc_attr( $args['class'] ); ?>" id="<?php echo esc_attr( $args['id'] ); ?>">
	<?php if ( $args['dismiss-icon'] ) { ?>
		<a href="#" class="dismiss" title="<?php esc_attr_e( 'Close', 'formidable' ); ?>">
			<?php FrmAppHelper::icon_by_class( 'frmfont frm_close_icon', array( 'aria-label' => __( 'Close', 'formidable' ) ) ); ?>
		</a>
	<?php } ?>

	<?php if ( $args['title'] ) { ?>
		<ul class="frm-nav-tabs">
			<li class="frm-tabs">
				<a href="#">
					<?php echo esc_html( $args['title'] ); ?>
				</a>
			</li>
		</ul>
	<?php } ?>

	<div class="<?php echo esc_attr( $args['inside_class'] ); ?>">
		<?php call_user_func( $args['callback'], $args['args'] ); ?>
	</div>
</div>

```
