typo
[org.fsf.memberdashboard.git] / templates / CRM / Memberdashboard / Page / Communications.tpl
1 {*
2 FSF Member Dashboard
3 Copyright © 2014 Free Software Foundation, Inc.
4
5 This file is a part of FSF Member Dashboard.
6
7 FSF Member Dashboard is free software: you can redistribute it
8 and/or modify it under the terms of the GNU Affero General Public
9 License as published by the Free Software Foundation, either version
10 3 of the License, or (at your option) any later version.
11
12 FSF Member Dashboard is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with FSF Member Dashboard. If not, see
19 <https://www.gnu.org/licenses/>.
20 *}
21
22 <div class="crm-dashboard-groups">
23 <div class="header-dark">
24 {ts}Your Group(s){/ts}
25 </div>
26 {include file="CRM/Memberdashboard/Page/Element/Group.tpl"}
27
28 <div class="form-item">
29 <label for="group_id">Join a group</label>
30
31 <select class="crm-select2 crm-action-menu action-icon-plus"
32 name="group_id">
33 {foreach from=$groups key=group_id item=name}
34 <option value="{$group_id}">
35 {$name}
36 </option>
37 {/foreach}
38 </select>
39
40 <input class="crm-form-submit default" type="submit" value="Add"/>
41 </div>
42 </div>
43
44 <div>
45 <div class="header-dark">
46 {ts}Email Preferences{/ts}
47 </div>
48
49 <div class="form-item">
50 <label for="preferred_mail_format">Preferred Email Format</label>
51 <select class="crm-select2" name="preferred_mail_format">
52 {foreach from=$mailFormats item=format}
53 <option
54 {if $contact.preferred_mail_format eq $format}
55 selected="selected"
56 {/if}
57 value="{$format}">
58 {$format}
59 </option>
60 {/foreach}
61 </select>
62 <input class="crm-form-submit default" type="submit" value="Save"/>
63 </div>
64 </div>
65
66 {include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
67 element=$dashboardElements.CiviEvent }