You are here

function template_preprocess_jquery_countdown_layout in jQuery Countdown 6

implements template_preprocess prepare template file sugestions based upon the jquery.countdown id submitted by theme function

Parameters

$variables:

Return value

void

File

./jquery_countdown.theme.inc, line 58
implements the theme functions to display the countdown

Code

function template_preprocess_jquery_countdown_layout(&$variables) {

  // use the script id as template suggestion so we can create a element based template file override for the layout
  $variables['template_files'][] = str_replace('_', '-', 'jquery-countdown-layout' . '-' . $variables['jcid']);
}