$tpl = get_markup_template('group_edit.tpl');
- $includes = array(
- '$field_input' => 'field_input.tpl',
- '$groupeditortpl' => 'groupeditor.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $context = $includes + array(
+ $context = array(
'$submit' => t('Submit'),
);
}
}
+ $context['$groupeditor'] = $groupeditor;
$context['$desc'] = t('Click on a contact to add or remove.');
if($change) {
- $context['$groupeditor'] = $groupeditor;
$tpl = get_markup_template('groupeditor.tpl');
echo replace_macros($tpl, $context);
killme();
}
- $context['$groupedit_info'] = $groupeditor;
return replace_macros($tpl, $context);
}