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