Changeset 926528
- Timestamp:
- 06/04/2014 03:27:22 PM (12 years ago)
- Location:
- multi-video-box/trunk
- Files:
-
- 2 edited
-
multi-video-box.php (modified) (9 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multi-video-box/trunk/multi-video-box.php
r729509 r926528 8 8 Author URI: http://www.nuttymango.com/ 9 9 License: GPL2 10 THIS PLUG-IN IS NO LONGER SUPPORTED BY THE DEVELOPER. 10 11 */ 11 12 … … 85 86 // Get the SQL for creating the database tables 86 87 $ary_delete_table_sql = mvob_delete_database_tables(); 87 88 88 89 // Loop the array, deleting tables 89 90 foreach ( $ary_delete_table_sql AS $table_sql ) { … … 142 143 function mvob_public_styles () { 143 144 // Public styles for Content Manager 144 wp_register_style( 'mvob-public-styles', MVOB_PLUGIN_URL . 'css/mvob_public_style.css' , __FILE__ , '20130515' , 'all' ); 145 wp_register_style( 'mvob-public-styles', MVOB_PLUGIN_URL . 'css/mvob_public_style.css' , __FILE__ , '20130515' , 'all' ); 145 146 wp_enqueue_style( 'mvob-public-styles' ); 146 147 … … 150 151 // Include AJAX scripts 151 152 wp_enqueue_script( 'mvob-ajax' , MVOB_PLUGIN_URL . 'js/mvob_public_ajax.js' , array( 'jquery' ) ); 152 wp_localize_script( 'mvob-ajax' , 'mvob_ajax_data' , 153 array( 153 wp_localize_script( 'mvob-ajax' , 'mvob_ajax_data' , 154 array( 154 155 'ajaxurl' => admin_url( 'admin-ajax.php' ), 155 156 'mvob_nonce' => wp_create_nonce( 'mvob_nonce' ) … … 166 167 $screen = get_current_screen(); 167 168 168 if ( ( $screen->id == $mvob_main ) || ( $screen->id == $mvob_settings ) || ( $screen->id == $mvob_inst ) || ( $screen->id == $mvob_videos ) || ( $screen->id == $mvob_groups ) ) { 169 if ( ( $screen->id == $mvob_main ) || ( $screen->id == $mvob_settings ) || ( $screen->id == $mvob_inst ) || ( $screen->id == $mvob_videos ) || ( $screen->id == $mvob_groups ) ) { 169 170 // Admin styles 170 wp_register_style( 'mvob-styles', MVOB_PLUGIN_URL . 'css/mvob_style_compressed.css' , __FILE__ , '2013427' , 'all' ); 171 wp_register_style( 'mvob-styles', MVOB_PLUGIN_URL . 'css/mvob_style_compressed.css' , __FILE__ , '2013427' , 'all' ); 171 172 wp_enqueue_style( 'mvob-styles' ); 172 173 } … … 197 198 if ( isset( $_REQUEST['action'] ) && is_numeric( array_search( $_REQUEST['action'] , $ary_mvob_ajax_screens ) ) ) { 198 199 // AJAX for MVOB 199 wp_register_script( 'mvob-ajax', MVOB_PLUGIN_URL . 'js/mvob_jquery_ajax.js' , __FILE__ ); 200 wp_register_script( 'mvob-ajax', MVOB_PLUGIN_URL . 'js/mvob_jquery_ajax.js' , __FILE__ ); 200 201 wp_enqueue_script( 'mvob-ajax' ); 201 202 }*/ … … 203 204 if ( ( $screen->id == $mvob_videos ) || ( $screen->id == $mvob_groups ) ) { 204 205 // Admin scripts 205 wp_register_script( 'mvob-scripts', MVOB_PLUGIN_URL . 'js/mvob_scripts.js' , __FILE__ ); 206 wp_register_script( 'mvob-scripts', MVOB_PLUGIN_URL . 'js/mvob_scripts.js' , __FILE__ ); 206 207 wp_enqueue_script( 'mvob-scripts' ); 207 208 } … … 210 211 if ( $screen->id == $mvob_inst ) { 211 212 // Javascript for Instructions page 212 wp_register_script( 'mvob-inst', MVOB_PLUGIN_URL . 'js/instructions.js' , __FILE__ ); 213 wp_register_script( 'mvob-inst', MVOB_PLUGIN_URL . 'js/instructions.js' , __FILE__ ); 213 214 wp_enqueue_script( 'mvob-inst' ); 214 215 } … … 230 231 } 231 232 232 /* Function to initialize Admin 233 /* Function to initialize Admin 233 234 ------------------------------ */ 234 235 function mvob_admin_init() { -
multi-video-box/trunk/readme.txt
r729509 r926528 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 This plug-in allows you to display groups of videos in a single box. 11 This plug-in allows you to display groups of videos in a single box. 12 13 THIS PLUG-IN IS NO LONGER SUPPORTED BY THE DEVELOPER. 12 14 13 15 == Description == 14 16 15 17 This plug-in allows you to display groups of videos in a single box. It uses an AJAX-driven tab system to load selected videos. The plug-in currently supports the use of videos hosted on YouTube, Vimeo, Daily Motion, Vevo, Metacafe, MuchShare, NowVideo, VideoMega, ShareVid, Flashx.TV, and Putlocker. CSS is fully-customizable. 18 19 THIS PLUG-IN IS NO LONGER SUPPORTED BY THE DEVELOPER. 16 20 17 21 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.