mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Don't display additional content when the output mode is "raw"
This commit is contained in:
parent
bb97539a28
commit
405db86750
4 changed files with 26 additions and 23 deletions
|
@ -97,7 +97,7 @@ class Community extends Timeline
|
|||
$o .= Renderer::replaceMacros($tpl, ['$reload_uri' => $this->args->getQueryString()]);
|
||||
}
|
||||
|
||||
if (empty($request['mode']) || ($request['mode'] != 'raw')) {
|
||||
if (!$this->raw) {
|
||||
$tabs = $this->getTabArray($this->community->getTimelines($this->session->isAuthenticated()), 'community');
|
||||
$tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');
|
||||
$o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue