PluginProbe ʕ •ᴥ•ʔ
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager / 2.2
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager v2.2
3.1.9 3.1.8 3.1.7 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 trunk 1.3.7 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.7 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9 2.9.1 2.9.2
folders / includes / form.class.php
folders / includes Last commit date
folders.class.php 6 years ago form.class.php 6 years ago plugin.updates.php 6 years ago tree.class.php 6 years ago
form.class.php
54 lines
1 <?php
2 defined('ABSPATH') or wp_die('Nope, not accessing this');
3
4 class WCP_Forms {
5 public function __construct() {
6 parent::__construct();
7 }
8
9 public static function get_form_html($option_data = "") {
10 ob_start();
11 ?>
12 <div class="wcp-custom-form">
13 <div class="form-title">
14 <?php esc_html_e("Folders", WCP_FOLDER) ?>
15 <a href="javascript:;" class="add-new-folder" id="add-new-folder"><span class="folder-icon-create_new_folder"></span> <span><?php esc_html_e("New Folder", WCP_FOLDER) ?></span></a>
16 <div class="clear"></div>
17 </div>
18 <div class="form-options">
19 <ul>
20 <li>
21 <a href="javascript:;" id="inline-update"><span class="icon folder-icon-border_color"><span class="path1"></span><span class="path2"></span></span> <span class="text"><?php esc_html_e("Rename", WCP_FOLDER) ?></span> </a>
22 </li>
23 <li>
24 <a href="javascript:;" id="inline-remove"><span class="icon folder-icon-delete"></span> <span class="text"><?php esc_html_e("Delete", WCP_FOLDER) ?></span> </a>
25 </li>
26 <li class="last">
27 <a href="javascript:;" id="expand-collapse-list"><span class="icon folder-icon-expand_more"></span></span> </a>
28 </li>
29 </ul>
30 <div class="upgrade-message">
31 <?php
32 $total_folders = get_option("folder_old_plugin_folder_status");
33 if($total_folders == false || $total_folders < 10) {
34 $total_folders = 10;
35 }
36 $total = WCP_Folders::get_total_term_folders();
37 if($total > $total_folders) {
38 $total_folders = $total;
39 }
40 ?>
41 <span class="upgrade-message">You have used <span class='pink' id='current-folder'><?php echo esc_attr($total) ?></span>/<span id='total-folder'><?php echo esc_attr($total_folders) ?></span> Folders. <a class="pink" href="<?php echo esc_url(admin_url("admin.php?page=wcp_folders_upgrade")) ?>"><?php esc_html_e("Upgrade", WCP_FOLDER) ?></a></span>
42 <script>
43 folderLimitation = <?php echo esc_attr($total_folders); ?>;
44 </script>
45 </div>
46 </div>
47 <div class="form-loader">
48 <div class="form-loader-count"></div>
49 </div>
50 </div>
51 <?php
52 return ob_get_clean();
53 }
54 }