Remove legacy comments
This commit is contained in:
parent
5dc9319bb2
commit
e7fd4a4cd1
|
@ -94,14 +94,14 @@ class Edit extends BaseModule
|
||||||
$this->errorExit($this->t('Post not found.'), HTTPException\BadRequestException::class);
|
$this->errorExit($this->t('Post not found.'), HTTPException\BadRequestException::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = User::getById($this->session->getLocalUserId());
|
$user = User::getById($this->session->getLocalUserId());
|
||||||
|
|
||||||
$output = Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), [
|
$output = Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), [
|
||||||
'$title' => $this->t('Edit post'),
|
'$title' => $this->t('Edit post'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('jot-header.tpl'), [
|
$this->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('jot-header.tpl'), [
|
||||||
'$ispublic' => ' ', // $this->t('Visible to <strong>everybody</strong>'),
|
'$ispublic' => ' ',
|
||||||
'$nickname' => $this->app->getLoggedInUserNickname(),
|
'$nickname' => $this->app->getLoggedInUserNickname(),
|
||||||
'$is_mobile' => $this->mode->isMobile(),
|
'$is_mobile' => $this->mode->isMobile(),
|
||||||
]);
|
]);
|
||||||
|
@ -153,7 +153,7 @@ class Edit extends BaseModule
|
||||||
'$placeholdercategory' => (Feature::isEnabled($this->session->getLocalUserId(), 'categories') ? $this->t("Categories \x28comma-separated list\x29") : ''),
|
'$placeholdercategory' => (Feature::isEnabled($this->session->getLocalUserId(), 'categories') ? $this->t("Categories \x28comma-separated list\x29") : ''),
|
||||||
'$emtitle' => $this->t('Example: bob@example.com, mary@example.com'),
|
'$emtitle' => $this->t('Example: bob@example.com, mary@example.com'),
|
||||||
'$lockstate' => $lockstate,
|
'$lockstate' => $lockstate,
|
||||||
'$acl' => '', // populate_acl((($group) ? $group_acl : $a->user)),
|
'$acl' => '',
|
||||||
'$bang' => ($lockstate === 'lock' ? '!' : ''),
|
'$bang' => ($lockstate === 'lock' ? '!' : ''),
|
||||||
'$profile_uid' => $this->session->getLocalUserId(),
|
'$profile_uid' => $this->session->getLocalUserId(),
|
||||||
'$preview' => $this->t('Preview'),
|
'$preview' => $this->t('Preview'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user