diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/channel.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/channel.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/channel.tpl | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl index af4f9b703..b49cf19cc 100644..100755 --- a/view/tpl/channel.tpl +++ b/view/tpl/channel.tpl @@ -1,12 +1,17 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} <div class="channel-selection"> -{{ if $channel.default_links }} -{{ if $channel.default }} -<div class="channel-selection-default default">$msg_default</div> -{{ else }} -<div class="channel-selection-default"><a href="manage/$channel.channel_id/default">$msg_make_default</a></div> -{{ endif }} -{{ endif }} -<a href="$channel.link" class="channel-selection-photo-link" title="$channel.channel_name"><img class="channel-photo" src="$channel.xchan_photo_m" alt="$channel.channel_name" /></a> -<a href="$channel.link" class="channel-selection-name-link" title="$channel.channel_name"><div class="channel-name">$channel.channel_name</div></a> +{{if $channel.default_links}} +{{if $channel.default}} +<div class="channel-selection-default default">{{$msg_default}}</div> +{{else}} +<div class="channel-selection-default"><a href="manage/{{$channel.channel_id}}/default">{{$msg_make_default}}</a></div> +{{/if}} +{{/if}} +<a href="{{$channel.link}}" class="channel-selection-photo-link" title="{{$channel.channel_name}}"><img class="channel-photo" src="{{$channel.xchan_photo_m}}" alt="{{$channel.channel_name}}" /></a> +<a href="{{$channel.link}}" class="channel-selection-name-link" title="{{$channel.channel_name}}"><div class="channel-name">{{$channel.channel_name}}</div></a> </div> <div class="channel-selection-end"></div> |