| Server IP : 151.101.66.159 / Your IP : 216.73.216.66 Web Server : Flywheel/5.1.0 System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64 User : root ( ) PHP Version : 7.4.33.18 Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wp-content/plugins/pods/ui/admin/ |
Upload File : |
<?php
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
// Prevent non-admins.
if ( ! pods_is_admin( 'pods_components' ) ) {
die( '-1' );
}
?>
<div class="wrap pods-admin">
<div id="icon-pods" class="icon32"><br /></div>
<form action="" method="post" class="pods-submittable">
<div class="pods-submittable-fields">
<?php PodsForm::output_field( 'action', 'pods_admin_components', 'hidden' ); ?>
<?php PodsForm::output_field( 'component', $component, 'hidden' ); ?>
<?php PodsForm::output_field( 'method', 'settings', 'hidden' ); ?>
<?php PodsForm::output_field( '_wpnonce', wp_create_nonce( 'pods-component-' . $component . '-settings' ), 'hidden' ); ?>
<h2><?php esc_html_e( 'Settings', 'pods' ); ?>: <?php echo esc_html( $component_label ); ?></h2>
<?php
if ( isset( $_GET['do'] ) ) {
pods_message( esc_html__( 'Settings saved successfully.', 'pods' ) );
}
?>
<table class="form-table pods-manage-field">
<?php
$depends_on = false;
foreach ( $options as $field_name => $field_option ) {
$field_option = PodsForm::field_setup( $field_option, null, $field_option['type'] );
$field_option['disable_dfv'] = true;
$dep_options = PodsForm::dependencies( $field_option );
$dep_classes = $dep_options['classes'];
$dep_data = $dep_options['data'];
if ( ( ! empty( $depends_on ) || ! empty( $dep_classes ) ) && $depends_on != $dep_classes ) {
if ( ! empty( $depends_on ) ) {
?>
</tbody>
<?php
}
if ( ! empty( $dep_classes ) ) {
?>
<tbody class="pods-field-option-container <?php echo esc_attr( $dep_classes ); ?>" <?php PodsForm::data( $dep_data ); ?>>
<?php
}
}
if ( ! is_array( $field_option['group'] ) ) {
$value = pods_v( $field_name, $settings, $field_option['default'] );
?>
<tr valign="top" class="pods-field-option" id="pods-setting-<?php echo esc_attr( $field_name ); ?>">
<th>
<?php PodsForm::output_label( 'pods_setting_' . $field_name, $field_option['label'], pods_v( 'help', $field_option ), $field_option ); ?>
</th>
<td>
<?php PodsForm::output_field( 'pods_setting_' . $field_name, $value, $field_option['type'], $field_option ); ?>
</td>
</tr>
<?php
} else {
?>
<tr valign="top" class="pods-field-option-group" id="pods-setting-<?php echo esc_attr( $field_name ); ?>">
<th class="pods-field-option-group-label">
<?php echo esc_html( $field_option['label'] ); ?>
</th>
<td class="pods-pick-values pods-pick-checkbox">
<ul>
<?php
foreach ( $field_option['group'] as $field_group_name => $field_group_option ) {
$field_group_option = PodsForm::field_setup( $field_group_option, null, $field_group_option['type'] );
if ( 'boolean' !== $field_group_option['type'] ) {
continue;
}
$field_group_option['boolean_yes_label'] = $field_group_option['label'];
$group_dep_options = PodsForm::dependencies( $field_group_option );
$group_dep_classes = $group_dep_options['classes'];
$group_dep_data = $group_dep_options['data'];
$value = pods_v( $field_group_name, $settings, $field_group_option['default'] );
?>
<li class="<?php echo esc_attr( $group_dep_classes ); ?>" <?php PodsForm::data( $group_dep_data ); ?>>
<?php PodsForm::output_field( 'pods_setting_' . $field_group_name, $value, $field_group_option['type'], $field_group_option ); ?>
</li>
<?php
}
?>
</ul>
</td>
</tr>
<?php
}//end if
if ( false !== $depends_on || ! empty( $dep_classes ) ) {
$depends_on = $dep_options;
}
}//end foreach
if ( ! empty( $depends_on ) ) {
?>
</tbody>
<?php
}
?>
</table>
<p class="submit">
<input type="submit" name="submit" id="submit" class="button button-primary" value="<?php esc_attr_e( 'Save Changes', 'pods' ); ?>">
<img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</p>
</div>
</form>
</div>
<script type="text/javascript">
jQuery( function ( $ ) {
$( document ).Pods( 'validate' );
$( document ).Pods( 'submit' );
$( document ).Pods( 'dependency' );
$( document ).Pods( 'confirm' );
$( document ).Pods( 'exit_confirm' );
} );
var pods_admin_submit_callback = function ( id ) {
document.location = <?php echo json_encode( esc_url_raw( pods_query_arg( array( 'do' => 'save' ) ) ) ); ?>;
}
</script>