simplify by making Smarty include directives behave like Friendica native ones

This commit is contained in:
Zach Prezkuta
2012-12-25 11:48:02 -07:00
parent 6603758a5e
commit 11c06e21b7
73 changed files with 376 additions and 587 deletions

View File

@@ -60,13 +60,7 @@ function uimport_content(&$a) {
$tpl = get_markup_template("uimport.tpl");
$includes = array(
'$field_custom' => 'field_custom.tpl',
);
$includes = set_template_includes($a->theme['template_engine'], $includes);
return replace_macros($tpl, $includes + array(
return replace_macros($tpl, array(
'$regbutt' => t('Import'),
'$import' => array(
'title' => t("Move account"),