HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/mussarq_bak/wp-content/themes/wpnull24/framework/templates/form/submit.php
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );

/**
 * Output a form's hidden field
 *
 * @var $name                string Field name
 * @var $classes             string Additional field classes
 * @var $title               string Submit button title
 * @var $btn_classes         string Additional button classes
 * @var $btn_inner_css       string Button inner css
 * @var $btn_size_mobiles    string Button Size on Mobiles
 *
 * @action Before the template: 'us_before_template:templates/form/submit'
 * @action After the template: 'us_after_template:templates/form/submit'
 * @filter Template variables: 'us_template_vars:templates/form/submit'
 */

$name = isset( $name ) ? $name : '';
$classes = ! empty( $classes ) ? ( ' ' . $classes ) : '';
$title = ! empty( $title ) ? $title : us_translate( 'Submit' );
$btn_classes = ! empty( $btn_classes ) ? ( ' ' . $btn_classes ) : '';
$btn_inner_css = ! empty( $btn_inner_css ) ? ( '  style="' . $btn_inner_css . '"' ) : '';
$icon = isset( $icon ) ? us_prepare_icon_tag( $icon ) : '';
$icon_pos = isset( $icon_pos ) ? $icon_pos : 'left';

// Add Size on mobiles as inline style tag
$inline_style = '';
if ( ! empty( $btn_size_mobiles ) ) {
	global $us_cform_index;
	$inline_style .= '<style>@media(max-width:600px){.us_form_' . $us_cform_index . ' .w-btn{font-size:' . $btn_size_mobiles . '!important}}</style>';
}

// Swap icon position for RTL
if ( is_rtl() ) {
	$icon_pos = ( $icon_pos == 'left' ) ? 'right' : 'left';
}

?>
<div class="w-form-row for_submit<?php echo $classes ?>">
	<div class="w-form-row-field">
		<?php echo $inline_style ?>
		<button class="w-btn<?php echo $btn_classes ?>"<?php echo $btn_inner_css ?> type="submit" aria-label="<?php echo esc_attr( $title ) ?>">
			<span class="g-preloader type_1"></span>
			<?php echo ( $icon_pos == 'left' ) ? $icon : ''; ?>
			<span class="w-btn-label"><?php echo strip_tags( $title, '<br>' ) ?></span>
			<?php echo ( $icon_pos == 'right' ) ? $icon : ''; ?>
		</button>
	</div>
</div>