- $tpl = get_markup_template('wallmsg-header.tpl');
- $a->page['htmlhead'] .= replace_macros($tpl, array(
- '$baseurl' => System::baseUrl(true),
- '$nickname' => $user['nickname'],
- '$linkurl' => t('Please enter a link URL:')
- ));
-
- $tpl = get_markup_template('wallmsg-end.tpl');
- $a->page['end'] .= replace_macros($tpl, array(
- '$baseurl' => System::baseUrl(true),
- '$nickname' => $user['nickname'],
- '$linkurl' => t('Please enter a link URL:')
- ));
-
- $tpl = get_markup_template('wallmessage.tpl');
- $o .= replace_macros($tpl,array(
- '$header' => t('Send Private Message'),
- '$subheader' => sprintf( t('If you wish for %s to respond, please check that the privacy settings on your site allow private mail from unknown senders.'), $user['username']),
- '$to' => t('To:'),
- '$subject' => t('Subject:'),
- '$recipname' => $user['username'],
+ $tpl = Renderer::getMarkupTemplate('wallmsg-header.tpl');
+ DI::page()['htmlhead'] .= Renderer::replaceMacros($tpl, [
+ '$baseurl' => DI::baseUrl()->get(true),