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 <http://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/Contact/Page/View/UserDashBoard/GroupContact.tpl"}
30 <div class="header-dark">
31 {ts}Email Preferences{/ts}
34 <form method="post" action="{crmURL p='/civicrm/member-dashboard/communications'}">
35 <div class="form-item">
36 <label for="preferred_mail_format">Preferred Email Format</label>
37 <select name="preferred_mail_format">
38 {foreach from=$mailFormats item=format}
40 {if $contact.preferred_mail_format eq $format}
48 <input type="submit" value="Save"/>
53 {include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
54 element=$dashboardElements.CiviEvent }