mirror of
https://github.com/friendica/friendica
synced 2025-12-07 16:37:10 +01:00
simplify by making Smarty include directives behave like Friendica native ones
This commit is contained in:
parent
6603758a5e
commit
11c06e21b7
73 changed files with 376 additions and 587 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue