html-filemanager-language.php
1 year ago
html-filemanager-list-operations.php
1 year ago
html-filemanager-settings.php
1 year ago
html-filemanager-user-role-restrictions.php
1 year ago
html-filemanager.php
1 month ago
index.php
5 years ago
html-filemanager.php
38 lines
| 1 | <?php |
| 2 | defined('ABSPATH') || exit; |
| 3 | $lang = !empty( $this->options['njt_fs_file_manager_settings']['fm_locale']) ? $this->options['njt_fs_file_manager_settings']['fm_locale'] : ''; |
| 4 | ?> |
| 5 | <div class="njt-fs-file-manager"> |
| 6 | <div class="njt-fs-select-theme"> |
| 7 | <div class="njt-fs-wrap njt-fs-mr0"> |
| 8 | <h1 class="wp-heading-inline njt-fs-pd0"><?php _e("Filester - WordPress File Manager Pro", 'filester'); ?></h1> |
| 9 | </div> |
| 10 | <div class="select-theme-content"> |
| 11 | <?php |
| 12 | $selectorThemes = get_option('njt_fs_selector_themes', array()); |
| 13 | if (!is_array($selectorThemes)) { |
| 14 | $selectorThemes = array(); |
| 15 | } |
| 16 | $selectedTheme = isset($selectorThemes[$this->userRole]['themesValue']) ? $selectorThemes[$this->userRole]['themesValue'] : null; |
| 17 | ?> |
| 18 | <div class="njt-fs-wrap njt-fs-mr0"> |
| 19 | <h3 class="wp-heading-inline select-theme-title"><?php _e("Select theme:", 'filester'); ?></h3> |
| 20 | </div> |
| 21 | <select name="selector-themes" id="selector-themes"> |
| 22 | <option value="Default"><?php _e("Default Elfinder", 'filester'); ?></option> |
| 23 | <option value="dark-slim"><?php _e("Dark Slim", 'filester'); ?></option> |
| 24 | <option value="Material"><?php _e("Material", 'filester'); ?></option> |
| 25 | <option value="Material-Gray"><?php _e("Material Gray", 'filester'); ?></option> |
| 26 | <option value="Material-Light"><?php _e("Material Light", 'filester'); ?></option> |
| 27 | <option value="windows-10"><?php _e("Windows 10", 'filester'); ?></option> |
| 28 | </select> |
| 29 | <input type="hidden" name="selected-theme" value="<?php echo esc_attr($selectedTheme) ?>"> |
| 30 | |
| 31 | </div> |
| 32 | </div> |
| 33 | |
| 34 | <div class="clear"></div> |
| 35 | <div id="njt-fs-file-manager"> |
| 36 | </div> |
| 37 | </div> |
| 38 |