SILENT KILLERPanel

Current Path: > home > transcarter > > www > wp-content > plugins > contact-form-7 > modules >


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter//www/wp-content/plugins/contact-form-7/modules/

NameTypeSizeLast ModifiedActions
akismet Directory - -
constant-contact Directory - -
recaptcha Directory - -
sendinblue Directory - -
stripe Directory - -
acceptance.php File 7565 bytes January 21 2025 20:36:08.
checkbox.php File 9750 bytes January 21 2025 20:36:08.
count.php File 1483 bytes January 21 2025 20:36:08.
date.php File 5855 bytes January 21 2025 20:36:08.
disallowed-list.php File 1811 bytes January 21 2025 20:36:08.
doi-helper.php File 730 bytes January 21 2025 20:36:08.
file.php File 6358 bytes January 21 2025 20:36:08.
flamingo.php File 8537 bytes January 21 2025 20:36:08.
hidden.php File 776 bytes January 21 2025 20:36:08.
listo.php File 755 bytes January 21 2025 20:36:08.
number.php File 6433 bytes January 21 2025 20:36:08.
quiz.php File 6440 bytes January 21 2025 20:36:08.
really-simple-captcha.php File 14153 bytes January 21 2025 20:36:08.
reflection.php File 2320 bytes January 21 2025 20:36:08.
response.php File 460 bytes January 21 2025 20:36:08.
select.php File 6410 bytes January 21 2025 20:36:08.
submit.php File 2367 bytes January 21 2025 20:36:08.
text.php File 8193 bytes January 21 2025 20:36:08.
textarea.php File 5003 bytes January 21 2025 20:36:08.

Reading File: /home/transcarter//www/wp-content/plugins/contact-form-7/modules//count.php

<?php
/**
** A base module for [count], Twitter-like character count
**/

/* form_tag handler */

add_action( 'wpcf7_init', 'wpcf7_add_form_tag_count', 10, 0 );

function wpcf7_add_form_tag_count() {
	wpcf7_add_form_tag( 'count',
		'wpcf7_count_form_tag_handler',
		array(
			'name-attr' => true,
			'zero-controls-container' => true,
			'not-for-mail' => true,
		)
	);
}

function wpcf7_count_form_tag_handler( $tag ) {
	if ( empty( $tag->name ) ) {
		return '';
	}

	$targets = wpcf7_scan_form_tags( array( 'name' => $tag->name ) );
	$maxlength = $minlength = null;

	while ( $targets ) {
		$target = array_shift( $targets );

		if ( 'count' != $target->type ) {
			$maxlength = $target->get_maxlength_option();
			$minlength = $target->get_minlength_option();
			break;
		}
	}

	if ( $maxlength and $minlength
	and $maxlength < $minlength ) {
		$maxlength = $minlength = null;
	}

	if ( $tag->has_option( 'down' ) ) {
		$value = (int) $maxlength;
		$class = 'wpcf7-character-count down';
	} else {
		$value = '0';
		$class = 'wpcf7-character-count up';
	}

	$atts = array();

	$atts['id'] = $tag->get_id_option();
	$atts['class'] = $tag->get_class_option( $class );
	$atts['data-target-name'] = $tag->name;
	$atts['data-starting-value'] = $value;
	$atts['data-current-value'] = $value;
	$atts['data-maximum-value'] = $maxlength;
	$atts['data-minimum-value'] = $minlength;

	$html = sprintf(
		'<span %1$s>%2$s</span>',
		wpcf7_format_atts( $atts ),
		$value
	);

	return $html;
}

SILENT KILLER Tool