2 {{* Template for the contact group list *}}
5 {{* The contacts who are already members of the contact group *}}
7 <h3>{{$groupeditor.label_members}}</h3>
8 <div id="group-members" class="contact_list">
10 {{if $groupeditor.members }}
12 {{foreach $groupeditor.members as $c}}
13 {{* If there are too many contacts we use another view mode *}}
15 <div class="contact-block-textdiv mpgroup">
16 <a class="contact-block-link mpgroup fakelink" target="redir" onclick="groupChangeMember({{$c.change_member.gid}},{{$c.change_member.cid}},'{{$c.change_member.sec_token}}'); return true;" title="{{$c.name}} [{{$c.itemurl}}]" alt="{{$c.name}}">
21 {{* The normal view mode *}}
22 <div class="contact-block-div mpgroup">
23 <a class="contact-block-link mpgroup fakelink" target="redir" onclick="groupChangeMember({{$c.change_member.gid}},{{$c.change_member.cid}},'{{$c.change_member.sec_token}}'); return true;">
24 <img class="contact-block-img mpgroup " src="{{$c.thumb}}" title="{{$c.name}} [{{$c.itemurl}}]" alt="{{$c.name}}">
31 {{$groupeditor.group_is_empty}}
35 <div id="group-members-end"></div>
36 <hr id="group-separator" />
40 {{* The contacts who are not members of the contact group *}}
42 <h3>{{$groupeditor.label_contacts}}</h3>
43 <div id="group-all-contacts" class="contact_list">
44 {{foreach $groupeditor.contacts as $m}}
45 <div class="contact-block-textdiv mpall">
47 <a class="contact-block-link mpall fakelink" target="redir" onclick="groupChangeMember({{$m.change_member.gid}},{{$m.change_member.cid}},'{{$m.change_member.sec_token}}'); return true;" title="{{$m.name}} [{{$m.itemurl}}]" alt="{{$m.name}}">
49 <a class="contact-block-link mpall" href="{{$m.url}}" title="{{$m.name}} [{{$m.itemurl}}]" alt="{{$m.name}}">
51 {{* If there are too many contacts we use another view mode *}}
55 <img class="contact-block-img mpall " src="{{$m.thumb}}" title="{{$m.name}} [{{$m.itemurl}}]" alt="{{$m.name}}">
61 <div id="group-all-contacts-end"></div>