| 1 |
<?php |
<?php |
| 2 |
// $Id: vud.theme.inc,v 1.1.2.17 2009/08/08 21:05:57 lut4rp Exp $ |
// $Id: vud.theme.inc,v 1.1.2.18 2009/08/13 08:28:38 lut4rp Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 122 |
vud_add_css($widget_theme); // Search and add the CSS files. |
vud_add_css($widget_theme); // Search and add the CSS files. |
| 123 |
vud_add_js($widget_theme); // Search and add the JS files. |
vud_add_js($widget_theme); // Search and add the JS files. |
| 124 |
|
|
| 125 |
$output = $render_function($template_file, $variables); |
if (file_exists($template_file)) { |
| 126 |
|
$output = $render_function($template_file, $variables); |
| 127 |
|
} |
| 128 |
|
else { |
| 129 |
|
drupal_set_message("The $template_file is missing. Please create the file, or disable display of vote points.", 'error'); |
| 130 |
|
} |
| 131 |
return $output; |
return $output; |
| 132 |
} |
} |
| 133 |
|
|