PluginProbe ʕ •ᴥ•ʔ
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager / 2.0.2
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager v2.0.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 / general-settings.php
folders / templates / admin Last commit date
admin-content.php 7 years ago general-settings.php 7 years ago upgrade-to-pro.php 7 years ago
general-settings.php
79 lines
1 <style>
2 span.upgrade-message {
3 padding: 5px 10px;
4 background: #fff;
5 display: inline-block;
6 font-size: 14px;
7 color: #000;
8 }
9 a.pink, span.pink {
10 color: #FF5983;
11 text-decoration: none;
12 font-weight: bold;
13 }
14 #setting-form {
15 float: left;
16 width: 300px;
17 }
18 <?php if ( function_exists( 'is_rtl' ) && is_rtl() ) { ?>
19 #setting-form {
20 float: right;
21 }
22 <?php } ?>
23 </style>
24 <div class="wrap">
25 <h1><?php _e( 'Folders Settings', WCP_FOLDER ); ?></h1>
26 <form action="options.php" method="post" id="setting-form"><?php
27 settings_fields( 'folders_settings' );
28 do_settings_sections( __FILE__ );
29 $options = get_option('folders_settings');
30 ?>
31 <table class="form-table">
32 <?php
33 $post_types = get_post_types( array( 'public' => true ), 'objects' );
34 $post_array = array("page", "post", "attachment");
35 foreach ( $post_types as $post_type ) : ?>
36 <?php
37 if ( ! $post_type->show_ui) continue;
38 if(in_array($post_type->name, $post_array)){
39 ?>
40 <tr>
41 <th>
42 <label for="folders_<?php echo $post_type->name; ?>" ><?php echo __( 'Use folders with:', WCP_FOLDER )." ".$post_type->label; ?></label>
43 </th>
44 <td>
45 <input type="checkbox" id="folders_<?php echo $post_type->name; ?>" name="folders_settings[]" value="<?php echo $post_type->name; ?>"<?php if ( in_array( $post_type->name, $options ) ) echo ' checked="checked"'; ?>/>
46 </td>
47 </tr>
48 <?php
49 } endforeach; ?>
50 <tr>
51 <th>
52 <label for="folders_<?php echo $post_type->name; ?>" ><?php echo __( 'Show Folders in Menu:', WCP_FOLDER ); ?></label>
53 </th>
54 <td>
55 <?php $val = get_option("folders_show_in_menu"); ?>
56 <input type="hidden" name="folders_show_in_menu" value="off" />
57 <input type="checkbox" name="folders_show_in_menu" value="on" <?php echo ($val == "on")?"checked='checked'":"" ?>/>
58 </td>
59 </tr>
60 <tr>
61 <td colspan="2" style="padding: 10px 0">
62 <?php
63 $total_folders = get_option("folder_old_plugin_folder_status");
64 if($total_folders == false || $total_folders < 10) {
65 $total_folders = 10;
66 }
67 $total = WCP_Folders::get_total_term_folders();
68 if($total > $total_folders) {
69 $total_folders = $total;
70 }
71 ?>
72 <span class="upgrade-message">You have used <?php echo "<span class='pink'>".$total."</span>/".$total_folders ?> Folders. <a class="pink" href="<?php echo admin_url("admin.php?page=wcp_folders_upgrade") ?>"><?php echo __("Upgrade", WCP_FOLDER) ?></a></span>
73 </td>
74 </tr>
75 </table>
76 <input type="hidden" name="folders_settings1[premio_folder_option]" value="yes" />
77 <?php submit_button(); ?>
78 </form>
79 </div>