PluginProbe ʕ •ᴥ•ʔ
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager / 2.2.2
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager v2.2.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 / templates / admin / admin-content.php
folders / templates / admin Last commit date
admin-content.php 6 years ago folder-deactivate-form.php 6 years ago general-settings.php 6 years ago help.php 6 years ago update.php 6 years ago upgrade-to-pro.php 6 years ago
admin-content.php
153 lines
1 <?php
2 defined('ABSPATH') or wp_die('Nope, not accessing this');
3 ?>
4 <style>
5 .ui-state-highlight {
6 background: transparent;
7 border: dashed 1px #0073AA;
8 width:180px;
9 height: 30px !important;
10 }
11 <?php
12 $string = "";
13 global $typenow;
14 $width = get_option("wcp_dynamic_width_for_" . $typenow);
15 if($width == null || empty($width)) {
16 $width = 292;
17 }
18 $width = $width - 40;
19 ?>
20 </style>
21 <div id="wcp-custom-style">
22 <style>
23 <?php
24 $string = "";
25 for($i=0;$i<=15;$i++) {
26 $string .= " .space > .route >";
27 $new_width = $width - (13+(20*$i));
28 ?>
29 #custom-menu > <?php echo $string ?> .title { width: <?php echo esc_attr($new_width) ?>px !important; }
30 <?php
31 }
32 ?>
33 </style>
34 </div>
35 <div id="media-css">
36
37 </div>
38 <?php
39 $optionName = $typenow."_parent_status";
40 $status = get_option($optionName);
41 global $typenow;
42 $title = ucfirst($typenow);
43 if($typenow == "page") {
44 $title = "Pages";
45 } else if($typenow == "post") {
46 $title = "Posts";
47 } else if($typenow == "attachment") {
48 $title = "Files";
49 }
50 $display_status = "wcp_dynamic_display_status_" . $typenow;
51 $display_status = get_option($display_status);
52 ?>
53 <div id="wcp-content" class="<?php echo esc_attr(isset($display_status) && $display_status == "hide"?"hide-folders-area":"") ?>" >
54 <div id="wcp-content-resize">
55 <div class="wcp-content">
56 <div class="wcp-hide-show-buttons">
57 <div class="toggle-buttons hide-folders <?php echo esc_attr(!isset($display_status) || $display_status != "hide"?"active":"") ?>"><span class="dashicons dashicons-arrow-left"></span></div>
58 <div class="toggle-buttons show-folders <?php echo esc_attr(isset($display_status) && $display_status == "hide"?"active":"") ?>"><span class="dashicons dashicons-arrow-right"></span></div>
59 </div>
60 <div class='wcp-container'>
61 <?php echo $form_html ?>
62 <div class="header-posts">
63 <a href="javascript:;" class="all-posts"><span class="wcp-icon folder-icon-insert_drive_file"></span> <?php esc_html_e("All ".$title, WCP_FOLDER) ?> <span class="total-count"><?php echo esc_attr($total_posts) ?></span></a>
64 </div>
65 <div class="un-categorised-items">
66 <a href="javascript:;" class="un-categorized-posts"><?php esc_html_e("Unassigned ".$title, WCP_FOLDER) ?> <span class="total-count total-empty"><?php echo esc_attr($total_empty) ?></span> </a>
67 </div>
68 <div id="custom-menu" class="wcp-custom-menu <?php echo ($status==1)?"active":"" ?>">
69 <!--<div class="wcp-parent" id="title0"><i class="fa fa-folder-o"></i> All Folders</div>-->
70 <ul class='space first-space' id='space_0'>
71 <?php echo $terms_data; ?>
72 </ul>
73 </div>
74 </div>
75 </div>
76 </div>
77 </div>
78 <div class="folder-popup-form" id="add-update-folder">
79 <div class="popup-form-content">
80 <div id="add-update-folder-title" class="add-update-folder-title">
81 Add Folder
82 </div>
83 <div class="folder-form-input">
84 <input id="add-update-folder-name" autocomplete="off" placeholder="Folder name">
85 </div>
86 <div class="folder-form-errors">
87 <span class="dashicons dashicons-info"></span> Please enter folder name
88 </div>
89 <div class="folder-form-buttons">
90 <a href="javascript:;" class="form-submit-btn" id="save-folder-data" style="width: 56px">Submit</a>
91 <a href="javascript:;" class="form-cancel-btn">Cancel</a>
92 </div>
93 </div>
94 </div>
95
96 <div class="folder-popup-form" id="update-folder-item">
97 <div class="popup-form-content">
98 <div id="update-folder-title" class="add-update-folder-title">
99 Rename Folder
100 </div>
101 <div class="folder-form-input">
102 <input id="update-folder-item-name" autocomplete="off" placeholder="Folder name">
103 </div>
104 <div class="folder-form-errors">
105 <span class="dashicons dashicons-info"></span> Please enter folder name
106 </div>
107 <div class="folder-form-buttons">
108 <a href="javascript:;" class="form-submit-btn" id="update-folder-data" style="width: 56px">Submit</a>
109 <a href="javascript:;" class="form-cancel-btn">Cancel</a>
110 </div>
111 </div>
112 </div>
113
114 <div class="folder-popup-form" id="confirm-remove-folder">
115 <div class="popup-form-content">
116 <div class="add-update-folder-title">
117 Are you sure you want to delete the selected folder?
118 </div>
119 <div class="folder-form-message">
120 Items in the folder will not be deleted.
121 </div>
122 <div class="folder-form-buttons">
123 <a href="javascript:;" class="form-cancel-btn">No, Keep it</a>
124 <a href="javascript:;" class="form-submit-btn" id="remove-folder-item">Yes, Delete it!</a>
125 </div>
126 </div>
127 </div>
128
129 <div class="folder-popup-form" id="no-more-folder-credit">
130 <div class="popup-form-content">
131 <div class="add-update-folder-title" id="folder-limitation-message">
132
133 </div>
134 <div class="folder-form-message">
135 Unlock unlimited amount of folders by upgrading to one of our pro plans.
136 </div>
137 <div class="folder-form-buttons">
138 <a href="javascript:;" class="form-cancel-btn">Cancel</a>
139 <a href="<?php echo esc_url(admin_url("admin.php?page=wcp_folders_upgrade")) ?>" target="_blank" class="form-submit-btn">See Pro Plans</a>
140 </div>
141 </div>
142 </div>
143
144 <div class="folder-popup-form" id="error-folder-popup">
145 <div class="popup-form-content">
146 <div class="add-update-folder-title" id="error-folder-popup-message">
147
148 </div>
149 <div class="folder-form-buttons">
150 <a href="javascript:;" class="form-cancel-btn">Close</a>
151 </div>
152 </div>
153 </div>