You are here

function template_preprocess_video_filter_dashboard in Video Filter 6.3

Same name and namespace in other branches
  1. 7.3 video_filter.module \template_preprocess_video_filter_dashboard()

Template preprocess function for video_filter_dashboard().

File

./video_filter.module, line 45

Code

function template_preprocess_video_filter_dashboard(&$variables) {

  // Construct page title.
  $head_title = array(
    strip_tags(drupal_get_title()),
    variable_get('site_name', 'Drupal'),
  );
  $variables['head_title'] = implode(' | ', $head_title);
  $variables['base_path'] = base_path();
  $variables['front_page'] = url();
  $variables['head'] = drupal_get_html_head();
  $variables['help'] = theme('help');
  $variables['language'] = $GLOBALS['language'];
  $variables['language']->dir = $GLOBALS['language']->direction ? 'rtl' : 'ltr';
  $variables['messages'] = isset($variables['show_messages']) ? theme('status_messages') : '';
  $variables['styles'] = drupal_get_css();
  $variables['scripts'] = drupal_get_js();
  $variables['title'] = t('Video filter');
}