Changeset 1712690
- Timestamp:
- 08/12/2017 11:37:08 PM (9 years ago)
- Location:
- plugin-grouper/trunk
- Files:
-
- 45 added
- 11 deleted
- 4 edited
-
.gitignore (added)
-
README.html (deleted)
-
README.md (modified) (1 diff)
-
assets/angular (added)
-
assets/angular/angular-drag-and-drop-lists.js (added)
-
assets/angular/angular-indeterminate.min.js (added)
-
assets/angular/angular.min.js (added)
-
assets/css (deleted)
-
assets/design (added)
-
assets/design/colour chart.psd (added)
-
assets/dist (added)
-
assets/dist/css (added)
-
assets/dist/css/style.css (added)
-
assets/dist/css/style.min.css (added)
-
assets/dist/css/style.min.css.map (added)
-
assets/dist/scripts (added)
-
assets/dist/scripts/app.js (added)
-
assets/dist/scripts/app.min.js (added)
-
assets/dist/scripts/app.min.js.map (added)
-
assets/images (deleted)
-
assets/less (added)
-
assets/less/functions.less (added)
-
assets/less/group.less (added)
-
assets/less/list.less (added)
-
assets/less/modal.less (added)
-
assets/less/plugin-manager.less (added)
-
assets/script (deleted)
-
assets/scripts (added)
-
assets/scripts/app.js (added)
-
assets/scripts/controller.menu.js (added)
-
assets/scripts/controller.modal.js (added)
-
assets/scripts/controller.table.js (added)
-
assets/scripts/jquery.dom.js (added)
-
assets/scripts/service.data.js (added)
-
autoload.php (modified) (1 diff)
-
classes/Group.php (deleted)
-
classes/Hide.php (deleted)
-
classes/Init.php (deleted)
-
classes/Lock.php (deleted)
-
classes/ScreenOption.php (deleted)
-
classes/class-ajax.php (added)
-
classes/class-all-plugins.php (added)
-
classes/class-bootstrap.php (added)
-
classes/class-database.php (added)
-
classes/class-modal.php (added)
-
classes/class-option.php (added)
-
classes/class-plugin-base.php (added)
-
classes/class-table.php (added)
-
classes/constants (added)
-
classes/constants/class-colour.php (added)
-
classes/traits (added)
-
classes/traits/class-config.php (added)
-
gulpfile.js (added)
-
package-lock.json (added)
-
package.json (added)
-
plugin-grouper.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/modal.php (added)
-
templates/modal_table.php (deleted)
-
vendors (deleted)
Legend:
- Unmodified
- Added
- Removed
-
plugin-grouper/trunk/README.md
r1458754 r1712690 1 # Plugin Manager 1 # Plugin Manager Pro 2 2 If your plugin admin page had so many items, you would be struggle to manage them. Make them categorized with this plugin :D 3 3 4 4 * Category : Wordpress Plugin 5 * wordpress.org Plugin Repository : [https://wordpress.org/plugins/plugin-grouper]6 5 7 6 ## What am I able to do? -
plugin-grouper/trunk/autoload.php
r1418083 r1712690 1 1 <?php 2 2 /** 3 *4 3 * Plugin Manager 5 4 * 6 * @author Sujin 수진 Choi7 * @package PIGPR8 * @version 3.0.29 * @website https://www.facebook.com/WP-developer-Sujin-1182629808428000/5 * @author Sujin 수진 Choi 6 * @package plugin-manager 7 * @version 6.0.0 8 * @website http://www.sujinc.com/donation 10 9 * 11 * Licensed under The MITLicense10 * Licensed under The GPL License 12 11 * Redistributions of files must retain the above copyright notice 13 *14 12 */ 15 13 16 if ( !function_exists( 'PIGPR' ) ) { 17 function PIGPR() { 18 spl_autoload_register( function( $className ) { 19 $namespace = 'PIGPR\\'; 20 if ( stripos( $className, $namespace ) === false ) { 21 return; 14 if ( !function_exists( 'autoload_sujin_plugin_manager' ) ) { 15 function autoload_sujin_plugin_manager() { 16 spl_autoload_register( function( $class_name ) { 17 $namespace = 'Sujin\\Plugin\\PluginMgr\\'; 18 19 if ( stripos( $class_name, $namespace ) === false ) { 20 return; 22 21 } 23 22 24 $sourceDir = __DIR__ . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR; 25 $fileName = str_replace( array( $namespace, '\\' ), array( $sourceDir, DIRECTORY_SEPARATOR ), $className ) . '.php'; 23 $source_dir = __DIR__ . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR; 26 24 27 if ( is_readable( $fileName ) ) { 28 include $fileName; 25 // Delete Namespace 26 $path = str_replace( $namespace, '', $class_name ) . '.php'; 27 $path = explode( '\\', $path ); 28 29 // Separate Filename and Path 30 $file_name = array_pop( $path ); 31 32 // Change Path to path-name/path-name 33 $path = array_map( function( $string ) { 34 $out = array(); 35 36 preg_match_all( '/((?:^|[A-Z])[a-z]+)/', $string, $matches ); 37 foreach( $matches[0] as $match ) { 38 $out[] = strtolower( $match ); 39 } 40 41 return implode( '-', $out ); 42 }, $path ); 43 $path = implode( DIRECTORY_SEPARATOR, $path ); 44 45 // Change Filename to class-class-name.php 46 $file_name = strtolower( $file_name ); 47 $file_name = str_replace( '_', '-', $file_name ); 48 $file_name = '/class-' . $file_name; 49 50 $file_name = $source_dir . $path . $file_name; 51 52 if ( is_readable( $file_name ) ) { 53 include_once( $file_name ); 29 54 } 30 55 }); 31 56 } 32 57 33 PIGPR();58 autoload_sujin_plugin_manager(); 34 59 } -
plugin-grouper/trunk/plugin-grouper.php
r1474229 r1712690 1 1 <?php 2 2 /** 3 * Plugin Name: Plugin Manager4 * Plugin URI: http://www.sujinc.com/5 * Description: Too many plugins bothers you? Put them into group!6 * Version: 5.0.47 * Author: Sujin 수진 Choi8 * Author URI: http://www.sujinc.com/9 * License: GPLv2 or later10 * Text Domain: plugin-grouper3 * Plugin Name: Plugin Manager 4 * Plugin URI: https://wordpress.org/plugins/plugin-grouper/ 5 * Description: Too many plugins bothers you? Put them into group! 6 * Version: 6.0.0 7 * Author: Sujin 수진 Choi 8 * Author URI: http://www.sujinc.com/ 9 * License: GPLv2 or later 10 * Text Domain: plugin-manager 11 11 */ 12 12 … … 18 18 19 19 # Definitions 20 if ( !defined( ' PIGPR_PLUGIN_NAME' ) ) {20 if ( !defined( 'SUJIN_PLUGIN_MGR_BASE_NAME' ) ) { 21 21 $basename = trim( dirname( plugin_basename( __FILE__ ) ), '/' ); 22 22 23 if ( !is_dir( WP_PLUGIN_DIR . '/' . $basename ) ) { 23 24 $basename = explode( '/', $basename ); … … 25 26 } 26 27 27 define( ' PIGPR_PLUGIN_NAME', $basename );28 define( 'SUJIN_PLUGIN_MGR_BASE_NAME', $basename ); 28 29 } 29 30 30 if ( !defined( " PIGPR_PLUGIN_FILE_NAME" ) )31 define( " PIGPR_PLUGIN_FILE_NAME", basename(__FILE__));31 if ( !defined( "SUJIN_PLUGIN_MGR_NAME" ) ) 32 define( "SUJIN_PLUGIN_MGR_NAME", "Plugin Manager" ); 32 33 33 if ( !defined( " PIGPR_TEXTDOMAIN" ) )34 define( " PIGPR_TEXTDOMAIN", "plugin-grouper");34 if ( !defined( "SUJIN_PLUGIN_MGR_SLUG" ) ) 35 define( "SUJIN_PLUGIN_MGR_SLUG", sanitize_title( SUJIN_PLUGIN_MGR_NAME ) ); 35 36 36 if ( !defined( ' PIGPR_PLUGIN_DIR' ) )37 define( ' PIGPR_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . PIGPR_PLUGIN_NAME . '/');37 if ( !defined( 'SUJIN_PLUGIN_MGR_PATH' ) ) 38 define( 'SUJIN_PLUGIN_MGR_PATH', WP_PLUGIN_DIR . '/' . SUJIN_PLUGIN_MGR_BASE_NAME ); 38 39 39 if ( !defined( ' PIGPR_TEMPLATE_DIR' ) )40 define( ' PIGPR_TEMPLATE_DIR', PIGPR_PLUGIN_DIR . 'templates/');40 if ( !defined( 'SUJIN_PLUGIN_MGR_URL' ) ) 41 define( 'SUJIN_PLUGIN_MGR_URL', plugin_dir_url( __FILE__ ) ); 41 42 42 if ( !defined( 'PIGPR_ASSETS_URL') )43 define( 'PIGPR_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets/');43 if ( !defined( "SUJIN_PLUGIN_MGR_VERSION_KEY" ) ) 44 define( "SUJIN_PLUGIN_MGR_VERSION_KEY", "SUJIN_PLUGIN_MGR_VERSION" ); 44 45 45 if ( !defined( 'PIGPR_VENDOR_URL' ) ) 46 define( 'PIGPR_VENDOR_URL', plugin_dir_url( __FILE__ ) . 'vendors/' ); 47 48 if ( !defined( "PIGPR_VERSION_KEY" ) ) 49 define( "PIGPR_VERSION_KEY", "PIGPR_version" ); 50 51 if ( !defined( "PIGPR_VERSION_NUM" ) ) 52 define( "PIGPR_VERSION_NUM", "5.0.0" ); 46 if ( !defined( "SUJIN_PLUGIN_MGR_VERSION" ) ) 47 define( "SUJIN_PLUGIN_MGR_VERSION", "6.0.0" ); 53 48 54 49 # 가는거야~! 55 include_once( PIGPR_PLUGIN_DIR . "/autoload.php");56 new PIGPR\Init();50 include_once( "autoload.php" ); 51 Sujin\Plugin\PluginMgr\Bootstrap::get_instance(); -
plugin-grouper/trunk/readme.txt
r1474229 r1712690 4 4 Tags: plugin, group, category. manage, admin 5 5 Requires at least: 4.2.2 6 Tested up to: 4. 5.37 Stable tag: 5.0.46 Tested up to: 4.8.1 7 Stable tag: 6.0.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 15 15 If your plugin admin page had so many items, you would be struggle to manage them. Make them categorized with this plugin :D 16 * Update Warning : If you update from 4.0.0 to 5.0.0, some grouping configuration could be disappeared. Sorry about it.17 16 18 17 == Installation == 19 18 19 I believe you know everything already. 20 20 21 == Screenshots == 21 22 22 1. Set/ Unset Group 23 2. Grouping Tag on your List 24 3. Group List 25 4. Hide Plugin 26 5. Hide Link Texts 27 6. Delete Group 23 1. Screenshot 28 24 29 25 == Changelog == 26 = 6.0.0 = 27 * Update User Interface 28 * Using Angular to make it faster 29 * Show Hidden Plugins Feature 30 * Edit Group 31 30 32 = 5.0.0 = 31 33 * Update UI
Note: See TracChangeset
for help on using the changeset viewer.