Файловый менеджер - Редактировать - /home/bkunreyz/managedmedia.org/wp-content/plugins/local-reputation-suite/admin/partials/general.php
Назад
<?php if(isset($_GET['localreputorsuite_msg']) && $_GET['localreputorsuite_msg'] == 0){ extract($_SESSION['localreputorsuite_data']); }else{ if(isset($settings['general_settings']) && !empty($settings['general_settings'])) extract($settings['general_settings']); } if(!isset($widget_data_option) && isset($error_message)){ echo '<div class="notice notice-error is-dismissible">'; echo '<p>',$error_message,'</p>'; echo '</div>'; return ''; } ?> <!-- This file should primarily consist of HTML with a little bit of PHP. --> <form method="post" action="<?php echo admin_url('admin-post.php'); ?>"> <input type="hidden" name="action" value="localreputorsuite_settings"> <?php wp_nonce_field( 'localreputorsuite_settings', 'localreputorsuite_nonce_field' ); ?> <table class="form-table"> <tbody> <tr> <th scope="row">Website Widget Script</th> <td> <label for="all_page"> <input name="all_page" type="checkbox" id="lrs_all_page" value="1" <?php echo isset($all_page) && $all_page ? "checked" : ''; ?>> All page </label> </td> </tr> <tr <?php echo isset($all_page) ? ($all_page ? "style='visibility:visible;'" : "style='visibility:hidden;'") : "style='visibility:hidden;'"; ?>> <th>Website Widget</th> <td> <select name="widget_id" id="lrs_widget_id"> <option value="">Select Widget</option> <?php if(!empty($widget_data_option)){ foreach($widget_data_option as $folder){ echo '<optgroup label="',$folder->folder_name,'">'; if(!empty($folder->widgets)){ foreach($folder->widgets as $widget){ echo '<option value="',$widget->id,'" ',(isset( $widget_id ) ? $widget_id == $widget->id ? 'selected' : '' : ''),'>',$widget->name,'</option>'; } } echo '</optgroup>'; } } ?> </select> </td> </tr> </tbody> </table> <p class="submit"> <input type="hidden" name="localreputorsuite_key" value="general_settings"> <input type="submit" value="Save Settings" name="localreputorsuite_setting_form" class="button button-primary"> </p> </form>
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка