You are here

function template_preprocess_linkit_dashboard in Linkit 7

Same name and namespace in other branches
  1. 6 linkit.module \template_preprocess_linkit_dashboard()

Template preprocess function for theme_linkit_dashboard().

File

./linkit.module, line 119
Main file for linkit module.

Code

function template_preprocess_linkit_dashboard(&$variables) {

  // Construct page title
  $variables['head_title'] = t('Linkit dashboard');
  $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['css'] = drupal_add_css();
  $variables['styles'] = drupal_get_css();
  $variables['scripts'] = drupal_get_js();
}