]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/smarty3/group_side.tpl
add warning message about automatically generated templates
[friendica.git] / view / theme / quattro / smarty3 / group_side.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}<div id="group-sidebar" class="widget">
6         <div class="title tool">
7                 <h3 class="label">{{$title}}</h3>
8                 <a href="group/new" title="{{$createtext}}" class="action"><span class="icon text s16 add"> {{$add}}</span></a>
9         </div>
10
11         <div id="sidebar-group-list">
12                 <ul>
13                         {{foreach $groups as $group}}
14                         <li class="tool  {{if $group.selected}}selected{{/if}}">
15                                 <a href="{{$group.href}}" class="label">
16                                         {{$group.text}}
17                                 </a>
18                                 {{if $group.edit}}
19                                         <a href="{{$group.edit.href}}" class="action"><span class="icon text s10 edit">{{$group.edit.title}}</span></a>
20                                 {{/if}}
21                                 {{if $group.cid}}
22                                         <input type="checkbox" 
23                                                 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
24                                                 onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
25                                                 {{if $group.ismember}}checked="checked"{{/if}}
26                                         />
27                                 {{/if}}
28                         </li>
29                         {{/foreach}}
30                 </ul>
31         </div>
32 </div>  
33