Uname:Linux hosting.cormo.systems 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 78.24.162.143  /  Your IP : 216.73.216.17
Web Server : Apache
System : Linux hosting.cormo.systems 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64
User : web63 ( 5058)
PHP Version : 7.4.33
Disable Function : create_functions,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,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/clients/client34/web63/web/wp-content/plugins/pods/ui/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client34/web63/web/wp-content/plugins/pods/ui/fields/link.php
<?php

wp_enqueue_script( 'wplink' );
wp_enqueue_style( 'editor-buttons' );

pods_form_enqueue_script( 'pods-link-picker', PODS_URL . 'ui/js/pods-link-picker.js', array( 'jquery' ), '1.0.0' );

PodsForm::field_method( 'link', 'validate_link_modal' );

$url_attributes = array();
$url_type       = 'text';
if ( 1 == pods_var( 'link_html5', $options ) ) {
	$url_type = 'url';
}
$url_attributes['type']     = $url_type;
$url_attributes['class']    = 'linkPickerUrl';
$url_attributes['value']    = ( isset( $value['url'] ) ? $value['url'] : '' );
$url_attributes['tabindex'] = 2;
$url_name                   = $name . '[url]';
$url_attributes             = PodsForm::merge_attributes( $url_attributes, $url_name, $form_field_type, $options );

$text_attributes             = array();
$text_type                   = 'text';
$text_attributes['type']     = $text_type;
$text_attributes['class']    = 'linkPickerText';
$text_attributes['value']    = ( isset( $value['text'] ) ? $value['text'] : '' );
$text_attributes['tabindex'] = 2;
$text_name                   = $name . '[text]';
$text_attributes             = PodsForm::merge_attributes( $text_attributes, $text_name, $form_field_type, $options );

$target_attributes             = array();
$target_type                   = 'checkbox';
$target_attributes['type']     = $target_type;
$target_attributes['class']    = 'linkPickerTarget';
$target_attributes['value']    = '_blank';
$target_attributes['tabindex'] = 2;
$target_attributes['style']    = 'display: inline-block;';
if ( isset( $value['target'] ) && $value['target'] == '_blank' || ( ! isset( $value['target'] ) && ! empty( $options['link_new_window'] ) ) ) {
	$target_attributes['checked'] = 'checked';
}
$target_name       = $name . '[target]';
$target_attributes = PodsForm::merge_attributes( $target_attributes, $target_name, $form_field_type, $options );

$attributes       = array();
$attributes       = PodsForm::merge_attributes( $attributes, $name, $form_field_type, $options, 'pods-ui-field-link' );
$class_attributes = array( 'class' => $attributes['class'] );
?>

	<div<?php PodsForm::attributes( $class_attributes, $name, $form_field_type, $options ); ?>>
		<div class="pods-link-options">
			<p class="howto"><?php _e( 'Enter the destination URL' ); ?></p>
			<p>
			<div class="alignleft">
				<label><span><?php _e( 'URL' ); ?></span><input<?php PodsForm::attributes( $url_attributes, $url_name, $form_field_type, $options ); ?> /></label>
			</div>
			<div class="alignleft">
				<label><span><?php _e( 'Link Text' ); ?></span><input<?php PodsForm::attributes( $text_attributes, $text_name, $form_field_type, $options ); ?> /></label>
			</div>
			<div class="link-target">
				<label>
					<div>&nbsp;</div>
					<input<?php PodsForm::attributes( $target_attributes, $target_name, $form_field_type, $options ); ?> /> <?php _e( 'Open link in a new tab' ); ?>
				</label>
			</div>
			</p>		<br clear="both">

			<?php if ( 1 == pods_v( 'link_select_existing', $options, 1 ) ) { ?>
				<div class="howto link-existing-content" style="display: none;">
					<a href="#" class="podsLinkPopup"><?php _e( 'Or link to existing content' ); ?></a>
					<textarea id="pods-link-editor-hidden" disabled="disabled" style="display: none;"></textarea>
				</div>
			<?php } ?>
		</div>
	</div>

<?php
PodsForm::regex( $form_field_type, $options );

Youez - 2016 - github.com/yon3zu
LinuXploit