Файловый менеджер - Редактировать - /home2/cocinasdalloway/constructorasmn.com/wp-content/plugins/catch-ids/partials/display-dashboard.php
Назад
<?php /** * Provide a admin area dashboard view for the plugin * * This file is used to markup the admin-facing aspects of the plugin. * * @link https://catchplugins.com * @since 1.0.0 * * @package Catch_Ids * @subpackage Catch_Ids/admin/partials */ ?> <div id="catch-ids" class="catchids-main"> <div class="content-wrapper"> <div class="header"> <h2><?php esc_html_e( 'Settings', 'catch-infinite-scroll-pro' ); ?></h2> </div> <!-- .Header --> <div class="content"> <div class="module-container catch-ids-options"> <?php $options = catchids_get_options(); $post_types = catchids_get_all_post_types(); foreach ( $post_types as $key => $value ) : ?> <!-- Custom Post Types --> <div id="module-<?php echo $key; ?>" class="catch-modules"> <div class="module-header <?php echo $options[ $key ] ? 'active' : 'inactive'; ?>"> <h3 class="module-title"><?php esc_html_e( $value, 'catch-ids' ); ?></h3> <div class="switch"> <input type="hidden" name="catch_ids_nonce" id="catch_ids_nonce" value="<?php echo esc_attr( wp_create_nonce( 'catch_ids_nonce' ) ); ?>" /> <input type="checkbox" id="catchids_options[<?php echo $key; ?>]" class="catchids-input-switch" rel="<?php echo $key; ?>" <?php checked( true, $options[ $key ] ); ?> > <label for="catchids_options[<?php echo $key; ?>]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <?php endforeach; ?> <!-- Media --> <div id="module-<?php echo 'media'; ?>" class="catch-modules"> <div class="module-header <?php echo $options['media'] ? 'active' : 'inactive'; ?>"> <h3 class="module-title"><?php esc_html_e( 'Media', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[media]" class="catchids-input-switch" rel="media" <?php checked( true, $options['media'] ); ?> > <label for="catchids_options[media]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <!-- Categories --> <div id="module-<?php echo 'category'; ?>" class="catch-modules"> <div class="module-header <?php echo $options['category'] ? 'active' : 'inactive'; ?>"> <h3 class="module-title"><?php esc_html_e( 'Categories', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[category]" class="catchids-input-switch" rel="category" <?php checked( true, $options['category'] ); ?> > <label for="catchids_options[category]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <!-- Users --> <div id="module-<?php echo 'user'; ?>" class="catch-modules"> <div class="module-header <?php echo $options['user'] ? 'active' : 'inactive'; ?>"> <h3 class="module-title"><?php esc_html_e( 'Users', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[user]" class="catchids-input-switch" rel="user" <?php checked( true, $options['user'] ); ?> > <label for="catchids_options[user]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <!-- Comments --> <div id="module-<?php echo 'comment'; ?>" class="catch-modules"> <div class="module-header <?php echo $options['comment'] ? 'active' : 'inactive'; ?>"> <h3 class="module-title"><?php esc_html_e( 'Comments', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[comment]" class="catchids-input-switch" rel="comment" <?php checked( true, $options['comment'] ); ?> > <label for="catchids_options[comment]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> </div><!-- .module-container --> </div><!-- .content --> </div> <!-- .content-wrapper --> </div> <!-- Main Content-->
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка