function template_preprocess_linkit_dashboard in Linkit 6
Same name and namespace in other branches
- 7 linkit.module \template_preprocess_linkit_dashboard()
Template preprocess function for theme_linkit_dashboard().
File
- ./
linkit.module, line 138 - Main file for linkit module.
Code
function template_preprocess_linkit_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'] = drupal_get_title();
}