3 Copyright © 2014 Free Software Foundation, Inc.
5 This file is a part of FSF Member Dashboard.
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.
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.
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/>.
22 <div class="crm-dashboard-groups">
23 <div class="header-dark">
24 {ts}Your Group(s){/ts}
26 {include file="CRM/Memberdashboard/Page/Element/Group.tpl"}
28 <div class="form-item">
29 <label for="group_id">Join a group</label>
31 <select class="crm-select2 crm-action-menu action-icon-plus"
33 {foreach from=$groups key=group_id item=name}
34 <option value="{$group_id}">
40 <input class="crm-form-submit default" type="submit" value="Add"/>
45 <div class="header-dark">
46 {ts}Email Preferences{/ts}
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}
54 {if $contact.preferred_mail_format eq $format}
62 <input class="crm-form-submit default" type="submit" value="Save"/>
66 {include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
67 element=$dashboardElements.CiviEvent }