HEX
Server: Apache/2
System: Linux server-27-254-144-72.da.direct 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: pokaorgani (1114)
PHP: 8.1.33
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/pokaorgani/public_html/wp-content/plugins/so-widgets-bundle/widgets/contact/tpl/simple.php
<?php
$captcha_name = $this->name_from_label( 'really-simple-captcha' );
?>

<div class="sow-form-field sow-form-field-captcha">
	<?php if ( $instance['design']['labels']['position'] != 'below' ) { ?>
		<label
			class="sow-form-field-label-<?php echo esc_attr( $instance['design']['labels']['position'] != 'inside' ? $instance['design']['labels']['position'] : 'above' ); ?>"
			for="<?php echo esc_attr( $captcha_name ); ?>"
		>
			<strong>
				<?php echo esc_html__( 'Captcha', 'so-widgets-bundle' ); ?>
			</strong>
		</label>
	<?php } ?>

	<?php if ( ! empty( $template_vars['really_simple_spam_error'] ) ) { ?>
		<div class="sow-error">
			<?php echo esc_html( $template_vars['really_simple_spam_error'] ); ?>
		</div>
	<?php } ?>

	<img
		src="<?php echo esc_url( plugins_url() . '/really-simple-captcha/tmp/' . $really_simple_spam_image ); ?>"
		width="<?php echo esc_attr( $really_simple_spam->img_size[0] ); ?>"
		height="<?php echo esc_attr( $really_simple_spam->img_size[1] ); ?>"
	>
	<span class="sow-field-container">
		<input
			type="text"
			name="<?php echo esc_attr( $captcha_name ); ?>"
			id="<?php echo esc_attr( $captcha_name ); ?>"
			value=""
			class="sow-text-field"
		>
	</span>
	<?php if ( $instance['design']['labels']['position'] == 'below' ) { ?>
		<label
			class="sow-form-field-label-left"
			for="<?php echo esc_attr( $captcha_name ); ?>"
		>
			<strong>
				<?php echo esc_html__( 'Captcha', 'so-widgets-bundle' ); ?>
			</strong>
		</label>
	<?php } ?>
	<input
		type="hidden"
		name="<?php echo esc_attr( $this->name_from_label( 'really-simple-captcha-prefix' ) ); ?>"
		value="<?php echo esc_attr( $really_simple_spam_prefix ); ?>"
	/>
</div>