| Server IP : 39.106.62.82 / Your IP : 216.73.217.128 Web Server : nginx/1.14.1 System : Linux iz2ze1m0zmp2dk5c3j5ap5z 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /webdata/gohomesh.com/wp-content/plugins/pods/ui/admin/ |
Upload File : |
<div class="wrap pods-admin pods-admin--flex">
<div class="pods-admin__content-container">
<form action="" method="post" class="pods-submittable pods-form pods-form-settings">
<div id="icon-pods" class="icon32"><br /></div>
<?php
$default = 'settings';
$tabs = [
'settings' => __( 'Settings', 'pods' ),
'tools' => __( 'Tools', 'pods' ),
'reset' => __( 'Cleanup & Reset', 'pods' ),
];
/**
* Allow filtering of settings page tabs.
*
* @since 2.8.0
*
* @param array $tabs List of settings page tabs.
*/
$tabs = apply_filters( 'pods_admin_settings_tabs', $tabs );
$current_tab = pods_v( 'tab', 'get', $default, true );
if ( ! isset( $tabs[ $current_tab ] ) ) {
$current_tab = $default;
}
?>
<h2 class="nav-tab-wrapper">
<?php
foreach ( $tabs as $tab => $label ) {
$class = '';
if ( $tab === $current_tab ) {
$class = ' nav-tab-active';
$label = 'Pods ' . $label;
}
$url = pods_query_arg( [ 'tab' => $tab ], [ 'page' ] );
?>
<a href="<?php echo esc_url( $url ); ?>" class="nav-tab<?php echo esc_attr( $class ); ?>">
<?php echo $label; ?>
</a>
<?php
}
?>
</h2>
<img src="<?php echo esc_url( PODS_URL ); ?>ui/images/pods-logo-notext-rgb-transparent.png" class="pods-leaf-watermark-right" />
<?php
wp_nonce_field( 'pods-settings' );
/**
* Allow customizations on tab page before output.
*
* @since 2.8.0
*/
do_action( 'pods_admin_settings_page_pre_' . $current_tab );
pods_view( PODS_DIR . 'ui/admin/settings-' . sanitize_title( $current_tab ) . '.php' );
/**
* Allow customizations on tab page after output.
*
* @since 2.8.0
*/
do_action( 'pods_admin_settings_page_post_' . $current_tab );
?>
</form>
</div>
<?php
/**
* Allow additional output after the container area of the Pods settings screen.
*
* @since 2.7.17
*/
do_action( 'pods_admin_after_settings' );
?>
</div>