mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 16:34:33 +02:00
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
92850d4482
commit
544168244c
30 changed files with 5 additions and 32 deletions
|
@ -78,7 +78,6 @@ class Schedule extends BaseProfile
|
|||
$tpl = Renderer::getMarkupTemplate('profile/schedule.tpl');
|
||||
$o .= Renderer::replaceMacros($tpl, [
|
||||
'$form_security_token' => BaseModule::getFormSecurityToken("profile_schedule"),
|
||||
'$baseurl' => DI::baseUrl(),
|
||||
'$title' => DI::l10n()->t('Scheduled Posts'),
|
||||
'$nickname' => $this->parameters['nickname'] ?? '',
|
||||
'$scheduled_at' => DI::l10n()->t('Scheduled'),
|
||||
|
|
|
@ -141,7 +141,6 @@ class UnkMail extends \Friendica\BaseModule
|
|||
|
||||
$tpl = Renderer::getMarkupTemplate('profile/unkmail-header.tpl');
|
||||
$this->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
|
||||
'$baseurl' => $this->baseUrl,
|
||||
'$nickname' => $user['nickname'],
|
||||
'$linkurl' => $this->l10n->t('Please enter a link URL:')
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue