);
$t = get_markup_template("admin_site.tpl");
- return replace_macros($t, array(
+
+ $includes = array(
+ '$field_checkbox' => 'field_checkbox.tpl',
+ '$field_input' => 'field_input.tpl',
+ '$field_select' => 'field_select.tpl',
+ '$field_textarea' => 'field_textarea.tpl',
+ );
+ $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+ return replace_macros($t, $includes + array(
'$title' => t('Administration'),
'$page' => t('Site'),
'$submit' => t('Submit'),
}
}
- return replace_macros($t, array(
+ $includes = array(
+ '$field_checkbox' => 'field_checkbox.tpl',
+ '$field_input' => 'field_input.tpl',
+ '$field_select' => 'field_select.tpl',
+ );
+ $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+ return replace_macros($t, $includes + array(
'$title' => t('Administration'),
'$page' => t('Logs'),
'$submit' => t('Submit'),
}
$tpl = get_markup_template("admin_remoteupdate.tpl");
- return replace_macros($tpl, array(
+
+ $includes = array(
+ '$field_input' => 'field_input.tpl',
+ '$field_password' => 'field_password.tpl',
+ );
+ $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+ return replace_macros($tpl, $includes + array(
'$baseurl' => $a->get_baseurl(true),
'$submit' => t("Update now"),
'$close' => t("Close"),
'$ftppath' => array('ftppath', t("FTP Path"), '/',''),
'$ftpuser' => array('ftpuser', t("FTP User"), '',''),
'$ftppwd' => array('ftppwd', t("FTP Password"), '',''),
- '$remotefile'=>array('remotefile','', $u['2'],'')
+ '$remotefile'=>array('remotefile','', $u['2'],''),
));
}