1 <span id="group-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('group-sidebar', 'group-sidebar-inflated');">
4 <div class="widget" id="group-sidebar">
5 <span class="fakelink" onclick="openCloseWidget('group-sidebar', 'group-sidebar-inflated');">
9 <div id="sidebar-group-list">
10 <ul role="menu" id="sidebar-group-ul">
11 {{foreach $groups as $group}}
12 <li role="menuitem" class="sidebar-group-li group-{{$group.id}}">
13 {{if ! $newgroup}}<span class="notify badge pull-right"></span>{{/if}}
15 <input type="checkbox"
16 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
17 onclick="return contactgroupChangeMember(this, '{{$group.id}}','{{$group.cid}}');"
18 {{if $group.ismember}}checked="checked"{{/if}}
22 <a class="groupsideedit" href="{{$group.edit.href}}" title="{{$edittext}}">
23 <span id="edit-sidebar-group-element-{{$group.id}}" class="group-edit-icon iconspacer small-pencil"><span class="sr-only">{{$edittext}}</span></span>
26 <a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
33 <div id="sidebar-new-group">
34 <a onclick="javascript:$('#group-new-form').fadeIn('fast');return false;">{{$createtext}}</a>
35 <form id="group-new-form" action="group/new" method="post" style="display:none;">
36 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
37 <input name="groupname" id="id_groupname" placeholder="{{$creategroup}}">
41 <div id="sidebar-edit-groups"><a href="{{$grouppage}}">{{$editgroupstext}}</a></div>
44 {{if $ungrouped}}<div id="sidebar-ungrouped"><a class="{{if $ungrouped_selected}}group-selected{{/if}}" href="nogroup">{{$ungrouped}}</a></div>{{/if}}
47 initWidget('group-sidebar', 'group-sidebar-inflated');