$this->errorExit($this->t('Post not found.'), HTTPException\BadRequestException::class);
}
- $fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
- 'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'];
+ $fields = [
+ 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
+ 'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'
+ ];
$item = Post::selectFirstForUser($this->session->getLocalUserId(), $fields, [
'id' => $postId,
$this->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('jot-header.tpl'), [
'$ispublic' => ' ',
+ '$geotag' => '',
'$nickname' => $this->app->getLoggedInUserNickname(),
'$is_mobile' => $this->mode->isMobile(),
]);
'$rand_num' => Crypto::randomDigits(12),
// Formatting button labels
- '$edbold' => $this->t('Bold'),
- '$editalic' => $this->t('Italic'),
- '$eduline' => $this->t('Underline'),
- '$edquote' => $this->t('Quote'),
- '$edcode' => $this->t('Code'),
- '$edurl' => $this->t('Link'),
- '$edattach' => $this->t('Link or Media'),
+ '$edbold' => $this->t('Bold'),
+ '$editalic' => $this->t('Italic'),
+ '$eduline' => $this->t('Underline'),
+ '$edquote' => $this->t('Quote'),
+ '$edcode' => $this->t('Code'),
+ '$edurl' => $this->t('Link'),
+ '$edattach' => $this->t('Link or Media'),
//jot nav tab (used in some themes)
- '$message' => $this->t('Message'),
- '$browser' => $this->t('Browser'),
- '$shortpermset' => $this->t('Permissions'),
+ '$message' => $this->t('Message'),
+ '$browser' => $this->t('Browser'),
+ '$shortpermset' => $this->t('Permissions'),
'$compose_link_title' => $this->t('Open Compose page'),
]);