fixes and tweaks to Smarty processing

This commit is contained in:
Zach Prezkuta 2013-01-12 05:58:54 -07:00
commit 609c45e791
29 changed files with 64 additions and 66 deletions

View file

@ -220,16 +220,15 @@ function group_content(&$a) {
}
}
$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);
}