function print_scripts()
 {
     op_print_scripts('theme-settings');
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     wp_enqueue_script(OP_SN . '-admin-common', false, array(OP_SN . '-noconflict-js'), OP_VERSION);
     //'-blog-settings');
 }
Exemple #2
0
 function print_scripts()
 {
     op_print_scripts(array('wizard', $this->cur_step));
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     wp_enqueue_script(OP_SN . '-admin-common', false, array(OP_SN . '-noconflict-js'), OP_VERSION);
     //'-blog-settings');
 }
 function print_scripts()
 {
     op_print_scripts('theme-settings');
     wp_enqueue_style(OP_SN . '-admin-common');
     wp_enqueue_script(OP_SN . '-admin-common');
     //'-blog-settings');
 }
Exemple #4
0
 function print_scripts()
 {
     op_print_scripts(array('wizard', $this->cur_step));
     wp_enqueue_style(OP_SN . '-admin-common');
     wp_enqueue_script(OP_SN . '-admin-common');
     //'-blog-settings');
 }
 function print_scripts()
 {
     if (OP_CONTENT_UPLOAD) {
         wp_dequeue_script(OP_SN . '-fancybox');
         wp_dequeue_style(OP_SN . '-fancybox');
         wp_enqueue_style(OP_SN . '-admin-content-layout', OP_CSS . 'content_layout' . OP_SCRIPT_DEBUG . '.css', false, OP_VERSION);
     } else {
         op_print_scripts(array('page-wizard', $this->cur_step));
         wp_enqueue_style(OP_SN . '-admin-page-wizard', OP_CSS . 'page_builder' . OP_SCRIPT_DEBUG . '.css', array(OP_SN . '-admin-common'), OP_VERSION);
         wp_enqueue_script(OP_SN . '-admin-page-wizard', OP_JS . 'page_builder' . OP_SCRIPT_DEBUG . '.js', array(OP_SN . '-noconflict-js', OP_SN . '-admin-common'), OP_VERSION);
     }
 }
Exemple #6
0
 function print_scripts()
 {
     if (OP_CONTENT_UPLOAD) {
         wp_dequeue_script(OP_SN . '-fancybox');
         wp_dequeue_style(OP_SN . '-fancybox');
         wp_enqueue_style(OP_SN . '-admin-content-layout', OP_CSS . 'content_layout.css', false, '2011-10-05');
     } else {
         op_print_scripts(array('page-wizard', $this->cur_step));
         wp_enqueue_style(OP_SN . '-admin-page-wizard', OP_CSS . 'page_builder.css', array(OP_SN . '-admin-common'), '2011-10-05');
         wp_enqueue_script(OP_SN . '-admin-page-wizard', OP_JS . 'page_builder.js', array(OP_SN . '-admin-common'), '2011-10-05');
     }
 }
Exemple #7
0
 function print_scripts()
 {
     op_print_scripts('dashboard');
     wp_enqueue_style(OP_SN . '-admin-common');
     wp_enqueue_script(OP_SN . '-admin-common');
 }
 function print_scripts()
 {
     do_action('admin_enqueue_scripts');
     op_print_scripts('live-editor');
     /*$needed = array('editor','word-count','quicktags','wplink','wpdialogs-popup','wp-jquery-ui-dialog','wp-fullscreen','media-upload');
       foreach($needed as $need){
           wp_enqueue_script($need);
       }*/
     wp_enqueue_script(OP_SN . '-admin-live-editor', OP_JS . 'live_editor' . OP_SCRIPT_DEBUG . '.js', array(OP_SN . '-noconflict-js', OP_SN . '-admin-common', 'jquery-ui-sortable', 'swfupload-swfobject'), OP_VERSION);
     wp_enqueue_style(OP_SN . '-admin-live-editor', OP_CSS . 'live_editor' . OP_SCRIPT_DEBUG . '.css', array(OP_SN . '-admin-common'), OP_VERSION);
     wp_enqueue_script(OP_SN . '-loadScript', OP_JS . 'jquery/jquery.loadScript' . OP_SCRIPT_DEBUG . '.js', array(OP_SN . '-noconflict-js'), OP_VERSION);
 }
Exemple #9
0
 function print_scripts()
 {
     wp_enqueue_script(OP_SN . '-post-page', OP_JS . 'post_page' . OP_SCRIPT_DEBUG . '.js', array(OP_SN . '-noconflict-js', 'autosave'), OP_VERSION);
     op_print_scripts('post_page');
 }
 function print_scripts()
 {
     op_print_scripts('launch-suite');
     wp_enqueue_style(OP_SN . '-admin-launch-suite', OP_CSS . 'launch_suite' . OP_SCRIPT_DEBUG . '.css', array(OP_SN . '-admin-common'), OP_VERSION);
     wp_enqueue_script(OP_SN . '-admin-launch-suite', OP_JS . 'launch_suite' . OP_SCRIPT_DEBUG . '.js', array(OP_SN . '-noconflict-js', OP_SN . '-admin-common', 'jquery-ui-sortable'), OP_VERSION);
 }
Exemple #11
0
 function print_scripts()
 {
     op_print_scripts('dashboard');
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     op_enqueue_backend_scripts();
 }
 function print_scripts()
 {
     op_print_scripts('theme-settings');
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     op_enqueue_backend_scripts();
 }
Exemple #13
0
 function print_scripts()
 {
     op_print_scripts(array('wizard', $this->cur_step));
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     op_enqueue_backend_scripts();
 }
Exemple #14
0
 /**
  * Print head scripts
  * @return void
  */
 public function printScripts()
 {
     op_print_scripts('support');
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     op_enqueue_backend_scripts();
 }
Exemple #15
0
 function print_scripts()
 {
     wp_enqueue_script(OP_SN . '-post-page', OP_JS . 'post_page.js', array('autosave'), '2012-01-18');
     op_print_scripts('post_page');
 }
Exemple #16
0
 function print_scripts()
 {
     op_print_scripts('dashboard');
     wp_enqueue_style(OP_SN . '-admin-common', false, false, OP_VERSION);
     wp_enqueue_script(OP_SN . '-admin-common', false, array(OP_SN . '-noconflict-js'), OP_VERSION);
 }
Exemple #17
0
 function print_scripts()
 {
     op_print_scripts('launch-suite');
     // There was 1 line of css in this file. Literally and seriously only 1 line; this one: .op-hidden { display: none; }.
     // wp_enqueue_style(OP_SN.'-admin-launch-suite',  OP_CSS.'launch_suite'.OP_SCRIPT_DEBUG.'.css', array(OP_SN.'-admin-common'), OP_VERSION);
     if (OP_SCRIPT_DEBUG === '') {
         $launch_suite_dependency = array(OP_SN . '-noconflict-js', OP_SN . '-admin-common', 'jquery-ui-sortable');
     } else {
         $launch_suite_dependency = array(OP_SN . '-op-back-all');
     }
     wp_enqueue_script(OP_SN . '-admin-launch-suite', OP_JS . 'launch_suite' . OP_SCRIPT_DEBUG . '.js', $launch_suite_dependency, OP_VERSION);
 }
Exemple #18
0
 function print_scripts()
 {
     op_print_scripts('launch-suite');
     wp_enqueue_style(OP_SN . '-admin-launch-suite', OP_CSS . 'launch_suite.css', array(OP_SN . '-admin-common'), '2011-10-05');
     wp_enqueue_script(OP_SN . '-admin-launch-suite', OP_JS . 'launch_suite.js', array(OP_SN . '-admin-common', 'jquery-ui-sortable'), '2011-10-05');
 }