summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Boyer2011-11-26 19:41:21 (GMT)
committer Sam Boyer2011-11-26 19:41:21 (GMT)
commitb4b78ce57eb8fee931204f459fa72b64bb5fd3fd (patch)
tree9be57e01b4b420fd3ff2c78a023b2c5493b661e8
parentc6801e1d1be17edf1496b906bf59c2bbe467b20b (diff)
minor fixes so that the templates actually output stuff
-rw-r--r--includes/export-ui.theme.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/export-ui.theme.inc b/includes/export-ui.theme.inc
index 6791d7d..3f11533 100644
--- a/includes/export-ui.theme.inc
+++ b/includes/export-ui.theme.inc
@@ -95,11 +95,11 @@ function theme_ctools_operation_group($element) {
* set of operations on the top, and the main operations set on the left.
* This is probably fine for 98% of the applications that might use this UI.
*/
-function template_preprocess_ctools_export_ui_operations_page($vars) {
+function template_preprocess_ctools_export_ui_operations_page(&$vars) {
$element = $vars['element'];
$vars['operations'] = !empty($element['#operations']['operations']) ? $element['#operations']['operations'] : '';
- $vars['operations'] = !empty($element['#operations']['actions']) ? $element['#operations']['actions'] : '';
+ $vars['actions'] = !empty($element['#operations']['actions']) ? $element['#operations']['actions'] : '';
$vars['content'] = $element['#content'];
$vars['save'] = drupal_render($element['#save_form']);
}
@@ -114,6 +114,8 @@ function template_preprocess_ctools_export_ui_operations_page($vars) {
* directory and that is annoying to the CTools organization system.
*/
function theme_ctools_export_ui_operations_page($vars) {
+ extract($vars);
+
return <<<EOF
<div id="ctools-export-ui-edit">
<div class="ctools-export-ui-wrapper">