diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/channel.tpl | 2 | ||||
-rw-r--r-- | view/tpl/channels.tpl | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl new file mode 100644 index 000000000..a18c4c1bb --- /dev/null +++ b/view/tpl/channel.tpl @@ -0,0 +1,2 @@ +<img class="channel-photo" src="$channel.photo" alt="$channel.name" /> +<div class="channel-name">$channel.name</div> diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl new file mode 100644 index 000000000..bfff3964f --- /dev/null +++ b/view/tpl/channels.tpl @@ -0,0 +1,19 @@ +<h3>$header</h3> + +<div id="channels-desc" class="descriptive-text">$desc</div> + +{{ if $links }} +{{ for $links as $l }} +<a class="channels-links" href="$l.0" title="$l.1">$l.2</a> +{{ endfor }} +{{ endif }} + +<div align="center">{{ inc channel.tpl with $chn = $active }}</div> +<div align="center">$act_desc</div> + + +{{ for $all_channels as $chn }} +{{ inc channel.tpl with $channel = $chn }} +{{ endfor }} + +<div class="channels-end"></div> |