- $o .= replace_macros($t, array(
- '$submit' => t('Submit'),
- '$baseurl' => $a->get_baseurl(),
- '$title' => t("Theme settings"),
- '$style' => array('vier_style',t ('Set style'),$style,'',$styles),
- '$show_pages' => array('vier_show_pages', t('Community Pages'), $show_pages, '', $show_or_not),
- '$show_profiles' => array('vier_show_profiles', t('Community Profiles'), $show_profiles, '', $show_or_not),
- '$show_helpers' => array('vier_show_helpers', t('Help or @NewHere ?'), $show_helpers, '', $show_or_not),
- '$show_services' => array('vier_show_services', t('Connect Services'), $show_services, '', $show_or_not),
- '$show_friends' => array('vier_show_friends', t('Find Friends'), $show_friends, '', $show_or_not),
- '$show_lastusers' => array('vier_show_lastusers', t('Last users'), $show_lastusers, '', $show_or_not)
- ));
+ $o = replace_macros($t, [
+ '$submit' => L10n::t('Submit'),
+ '$baseurl' => System::baseUrl(),
+ '$title' => L10n::t("Theme settings"),
+ '$style' => ['vier_style', L10n::t('Set style'), $style, '', $styles],
+ '$show_pages' => ['vier_show_pages', L10n::t('Community Pages'), $show_pages, '', $show_or_not],
+ '$show_profiles' => ['vier_show_profiles', L10n::t('Community Profiles'), $show_profiles, '', $show_or_not],
+ '$show_helpers' => ['vier_show_helpers', L10n::t('Help or @NewHere ?'), $show_helpers, '', $show_or_not],
+ '$show_services' => ['vier_show_services', L10n::t('Connect Services'), $show_services, '', $show_or_not],
+ '$show_friends' => ['vier_show_friends', L10n::t('Find Friends'), $show_friends, '', $show_or_not],
+ '$show_lastusers' => ['vier_show_lastusers', L10n::t('Last users'), $show_lastusers, '', $show_or_not]
+ ]);