function video_filter_dashboard_page

cis7 video_filter.module video_filter_dashboard_page($editor)
cle7 video_filter.module video_filter_dashboard_page($editor)
elmsmedia7 video_filter.module video_filter_dashboard_page($editor)
icor7 video_filter.module video_filter_dashboard_page($editor)
meedjum_blog7 video_filter.module video_filter_dashboard_page($editor)
mooc7 video_filter.module video_filter_dashboard_page($editor)

Creates the dashboard.

1 string reference to 'video_filter_dashboard_page'
video_filter_menu in sites/all/modules/ulmus/video_filter/video_filter.module
Implements hook_menu().

File

sites/all/modules/ulmus/video_filter/video_filter.module, line 410
Video filter is a highly flexible and easy extendable filter module to embed any type of video in your site using a simple tag.

Code

function video_filter_dashboard_page($editor) {
  module_invoke('admin_menu', 'suppress');
  // Add CSS.
  drupal_add_css(drupal_get_path('module', 'video_filter') . '/css/video_filter.css');

  switch ($editor) {
    case 'wysiwyg_tinymce':
      // Add JavaScript.
      drupal_add_js(wysiwyg_get_path('tinymce') . '/jscripts/tiny_mce/tiny_mce_popup.js');
      drupal_add_js(drupal_get_path('module', 'video_filter') . '/editors/tinymce/video_filter.js');
      break;

    case 'ckeditor':
    case 'wysiwyg_ckeditor':
      // Add JavaScript.
      drupal_add_js(drupal_get_path('module', 'video_filter') . '/editors/ckeditor/video_filter_dialog.js');
      break;

    case 'fckeditor':
    case 'wysiwyg_fckeditor':
      // Add JavaScript.
      drupal_add_js(drupal_get_path('module', 'video_filter') . '/editors/fckeditor/video_filter/video_filter_dialog.js');
      break;
  }

  print theme('video_filter_dashboard', array('form' => render(drupal_get_form('_video_filter_form'))));
  exit();
}