if ($max_dailies) {
$r = q("select count(*) as total from user where register_date > UTC_TIMESTAMP - INTERVAL 1 day");
if ($r && $r[0]['total'] >= $max_dailies) {
if ($max_dailies) {
$r = q("select count(*) as total from user where register_date > UTC_TIMESTAMP - INTERVAL 1 day");
if ($r && $r[0]['total'] >= $max_dailies) {
- $tpl = get_markup_template("uimport.tpl");
- return replace_macros($tpl, [
+ $tpl = Renderer::getMarkupTemplate("uimport.tpl");
+ return Renderer::replaceMacros($tpl, [
'$regbutt' => L10n::t('Import'),
'$import' => [
'title' => L10n::t("Move account"),
'$regbutt' => L10n::t('Import'),
'$import' => [
'title' => L10n::t("Move account"),