mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-22 00:15:23 +00:00
4e9bd8b8f0
adding of .generic-content-wrapper is needed and useful for derivative themes but it should not contain any styling information for redbasic theme. therefor i added .generic-content-wrapper-styled as a quickfix for spots where redbasic is not finished yet. Sidenote: please avoid opening a div in one *.tpl and close it in another or (even worse) open a div in a *.tpl and close it in an already templatified mod/*.php. This will really make the code and templates very, very confusing.
34 lines
808 B
Smarty
Executable file
34 lines
808 B
Smarty
Executable file
<div class="generic-content-wrapper-styled">
|
|
<h3>{{$header}}</h3>
|
|
|
|
{{if $links}}
|
|
{{foreach $links as $l}}
|
|
<a class="channels-links" href="{{$l.0}}" title="{{$l.1}}">{{$l.2}}</a>
|
|
{{/foreach}}
|
|
{{/if}}
|
|
<div class="channels-break"></div>
|
|
|
|
{{if $channel_usage_message}}
|
|
<div id="channel-usage-message" class="usage-message">
|
|
{{$channel_usage_message}}
|
|
</div>
|
|
{{/if}}
|
|
{{if $selected}}
|
|
<div id="selected-channel">
|
|
<div id="channels-selected">{{$msg_selected}}</div>
|
|
{{include file="channel.tpl" channel=$selected}}
|
|
</div>
|
|
<div class="channels-end selected"></div>
|
|
{{/if}}
|
|
<br />
|
|
<div id="channels-desc" class="descriptive-text">{{$desc}}</div>
|
|
|
|
<div id="all-channels">
|
|
{{foreach $all_channels as $chn}}
|
|
{{include file="channel.tpl" channel=$chn}}
|
|
{{/foreach}}
|
|
</div>
|
|
|
|
<div class="channels-end all"></div>
|
|
|
|
</div>
|