You are here

public function DefaultTemplate::theme_preprocess in MediaFront 7

Same name and namespace in other branches
  1. 6.2 players/osmplayer/player/templates/default/template.php \DefaultTemplate::theme_preprocess()
  2. 6 players/osmplayer/player/templates/default/template.php \DefaultTemplate::theme_preprocess()

A theme preprocess function for the main player.

File

players/osmplayer/player/templates/default/template.php, line 135

Class

DefaultTemplate
Copyright (c) 2010 Alethia Inc, http://www.alethia-inc.com Developed by Travis Tidwell | travist at alethia-inc.com

Code

public function theme_preprocess(&$variables) {
  $variables['templates']['teaservoter'] = $this
    ->theme($variables, '_teaservoter');
  $variables['templates']['voter'] = $this
    ->theme($variables, '_nodevoter');
  $variables['templates']['controlBar'] = $this
    ->theme($variables, '_controlbar');
  $variables['templates']['titlebar'] = $this
    ->theme($variables, '_titlebar');
  $variables['templates']['menu'] = $this
    ->theme($variables, '_menu');
  $variables['templates']['node'] = $this
    ->theme($variables, '_node');
  $variables['templates']['teaser'] = $this
    ->theme($variables, '_teaser');
  $variables['templates']['scrollBar'] = $this
    ->theme($variables, '_scrollbar');
  $variables['templates']['links'] = $variables['params']['links'] ? theme($variables, '_links') : '';
  $variables['templates']['pager'] = $this
    ->theme($variables, '_pager');
  $variables['templates']['playlist'] = $this
    ->theme($variables, '_playlist');
}