$switchtotext = 400;
$tpl = get_markup_template('group_edit.tpl');
- $context = array('$submit' => t('Submit'));
+
+ $context = array(
+ '$submit' => t('Submit'),
+ );
if(($a->argc == 2) && ($a->argv[1] === 'new')) {
}
}
- $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);
}