]> git.mxchange.org Git - friendica.git/blob - view/group_side.tpl
quattro-green: added Description to the theme.php
[friendica.git] / view / group_side.tpl
1 <div class="widget" id="group-sidebar">
2 <h3>$title</h3>
3
4 <div id="sidebar-group-list">
5         <ul id="sidebar-group-ul">
6                 {{ for $groups as $group }}
7                         <li class="sidebar-group-li">
8                                 {{ if $group.cid }}
9                                         <input type="checkbox" 
10                                                 class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action" 
11                                                 onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"
12                                                 {{ if $group.ismember }}checked="checked"{{ endif }}
13                                         />
14                                 {{ endif }}                     
15                                 {{ if $group.edit }}
16                                         <a class="groupsideedit" href="$group.edit.href" title="$edittext"><span id="edit-sidebar-group-element-$group.id" class="group-edit-icon iconspacer small-pencil"></span></a>
17                                 {{ endif }}
18                                 <a id="sidebar-group-element-$group.id" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}" href="$group.href">$group.text</a>
19                         </li>
20                 {{ endfor }}
21         </ul>
22         </div>
23   <div id="sidebar-new-group">
24   <a href="group/new">$createtext</a>
25   </div>
26 </div>
27
28