- $t = get_markup_template('settings.tpl', 'addon/catavatar/');
- $s .= replace_macros ($t, [
- '$postpost' => !empty($_POST['catavatar-morecat']) || !empty($_POST['catavatar-emailcat']),
- '$uncache' => time(),
- '$uid' => local_user(),
- '$usecat' => L10n::t('Use Cat as Avatar'),
- '$morecat' => L10n::t('More Random Cat!'),
- '$emailcat' => L10n::t('Reset to email Cat'),
- '$seed' => PConfig::get(local_user(), 'catavatar', 'seed', false),
- '$header' => L10n::t('Cat Avatar Settings'),
+ $t = Renderer::getMarkupTemplate('settings.tpl', 'addon/catavatar/');
+ $html = Renderer::replaceMacros($t, [
+ '$uncache' => time(),
+ '$uid' => local_user(),
+ '$setrandomize' => DI::l10n()->t('Set default profile avatar or randomize the cat.'),