friendica-github/view/templates/content_wrapper.tpl
2024-08-24 20:23:27 +02:00

19 lines
567 B
Smarty

{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
<div {{if $name}}id="{{$name}}-wrapper"{{/if}} class="general-content-wrapper">
{{* give different possibilities for the size of the heading *}}
{{if $title && $title_size}}
<h{{$title_size}} {{if $name}}id="{{$name}}-heading"{{/if}}>{{$title}}</h{{$title_size}}>
{{elseif $title}}
{{include file="section_title.tpl"}}
{{/if}}
{{* output the content *}}
{{$content nofilter}}
</div>