HEX
Server: Apache/2
System: Linux server1c 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64
User: swtinter (1023)
PHP: 8.2.23
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/swtinter/public_html/wp-content/plugins/forminator/admin/views/settings/dashboard/content.php
<?php
/**
 * Template admin/views/settings/dashboard/content.php
 *
 * @package Forminator
 */

$module_type        = $args['module_type'];
$dashboard_settings = forminator_get_dashboard_settings( $module_type, array() );
$num_recent         = isset( $dashboard_settings['num_recent'] ) ? $dashboard_settings['num_recent'] : 5;
$published          = isset( $dashboard_settings['published'] ) ? filter_var( $dashboard_settings['published'], FILTER_VALIDATE_BOOLEAN ) : true;
$draft              = isset( $dashboard_settings['draft'] ) ? filter_var( $dashboard_settings['draft'], FILTER_VALIDATE_BOOLEAN ) : true;
?>

<div class="sui-form-field">

	<label for="listings-<?php echo esc_attr( $module_type ); ?>-limit" id="listings-<?php echo esc_attr( $module_type ); ?>-limit-label" class="sui-settings-label"><?php echo esc_html( $args['title'] ); ?></label>

	<span id="listings-<?php echo esc_attr( $module_type ); ?>-limit-message" class="sui-description" style="margin-bottom: 10px;"><?php echo esc_html( $args['description'] ); ?></span>

	<input
		type="number"
		min="0"
		value="<?php echo esc_attr( $num_recent ); ?>"
		placeholder="0"
		id="listings-<?php echo esc_attr( $module_type ); ?>-limit"
		name="num_recent[<?php echo esc_attr( $module_type ); ?>]"
		class="sui-form-control sui-input-sm"
		style="max-width: 100px;"
		aria-labelledby="listings-<?php echo esc_attr( $module_type ); ?>-limit-label"
		aria-describedby="listings-<?php echo esc_attr( $module_type ); ?>-limit-message"
		aria-required="true"
	/>

	<span class="sui-error-message" style="display: none;"><?php esc_html_e( 'This field shouldn\'t be empty.', 'forminator' ); ?></span>

</div>

<div class="sui-form-field">

	<label id="listings-<?php echo esc_attr( $module_type ); ?>-status-label" class="sui-settings-label"><?php esc_html_e( 'Status', 'forminator' ); ?></label>

	<span id="listings-<?php echo esc_attr( $module_type ); ?>-status-message" class="sui-description" style="margin-bottom: 10px;"><?php echo esc_html( $args['status_descr'] ); ?></span>

	<label for="forminator-<?php echo esc_attr( $module_type ); ?>-status-published" class="sui-checkbox sui-checkbox-sm sui-checkbox-stacked">
		<input
			type="checkbox"
			name="published[<?php echo esc_attr( $module_type ); ?>]"
			value="true"
			id="forminator-<?php echo esc_attr( $module_type ); ?>-status-published"
			aria-labelledby="listings-<?php echo esc_attr( $module_type ); ?>-status-label listings-<?php echo esc_attr( $module_type ); ?>-status-published"
			aria-describedby="listings-<?php echo esc_attr( $module_type ); ?>-status-message"
			<?php echo checked( $published ); ?>
		/>
		<span aria-hidden="true"></span>
		<span id="listings-<?php echo esc_attr( $module_type ); ?>-status-published"><?php esc_html_e( 'Published', 'forminator' ); ?></span>
	</label>

	<label for="forminator-<?php echo esc_attr( $module_type ); ?>-status-drafts" class="sui-checkbox sui-checkbox-sm sui-checkbox-stacked">
		<input
			type="checkbox"
			name="draft[<?php echo esc_attr( $module_type ); ?>]"
			value="true"
			id="forminator-<?php echo esc_attr( $module_type ); ?>-status-drafts"
			aria-labelledby="listings-<?php echo esc_attr( $module_type ); ?>-status-label listings-<?php echo esc_attr( $module_type ); ?>-status-drafts"
			aria-describedby="listings-<?php echo esc_attr( $module_type ); ?>-status-message"
			<?php echo checked( $draft ); ?>
		/>
		<span aria-hidden="true"></span>
		<span id="listings-<?php echo esc_attr( $module_type ); ?>-status-drafts"><?php esc_html_e( 'Drafts', 'forminator' ); ?></span>
	</label>

</div>