typo
[org.fsf.memberdashboard.git] / templates / CRM / Memberdashboard / Page / Benefits.tpl
CommitLineData
7d701e33
DT
1{if $hasValidMembership}
2 <div class="header-dark">Shop Discount</div>
3
4 <p>
5 Enjoy 20% off all merchandise at the
6 <a href="http://shop.fsf.org/">FSF shop</a>
7 using promotional code <strong>ASSOC</strong>
8 </p>
9
7d701e33 10
4560328b
RR
11 <div class="header-dark"> Discount on Hardware from ThinkPenguin </div>
12
13 <p>
14 <a href="https://www.thinkpenguin.com/">ThinkPenguin</a> is a purveyor of computers and
15 peripherals that provides 5% off all their products to FSF members. ThinkPenguin offers some
16 devices that are certified by the FSF under our <a href="https://www.fsf.org/ryf">Respects
17 Your Freedom hardware certification</a>, and all of their products are able to run or
18 interface with <a href="https://www.gnu.org/distros/free-distros.html">free GNU/Linux
19 distributions</a>. Use the discount code <strong>FSFMEMBER</strong> at checkout.
20 </p>
21
22
2db6180a
AE
23 {if !empty($buttonUrl) }
24 <div class="header-dark">Member button</div>
25
26 <p>
27 Display this member button proudly on your website to show how
28 long you have been an FSF member!
29 </p>
30
31 <img src="{$buttonUrl}{$contact.id}.png" />
32 {/if}
33
4560328b 34
2db6180a
AE
35 <div class="header-dark">LibrePlanet</div>
36
37 <a href="https://libreplanet.org">
38 <img src="//static.fsf.org/nosvn/big-logo.png" alt="LibrePlanet" />
39 </a>
7d701e33
DT
40
41 <p>
2db6180a
AE
42 Associate members get gratis admission to
43 <a href="https://libreplanet.org">LibrePlanet</a>,
44 the FSF's annual conference.
7d701e33
DT
45 </p>
46
7d701e33 47 <p>
2db6180a
AE
48 Use your FSF account to join a
49 <a href="https://libreplanet.org/">
50 local free software group at LibrePlanet.
51 </a>
7d701e33
DT
52 </p>
53
2db6180a 54
7d701e33
DT
55 <div class="header-dark">Email Forwarding</div>
56
57 <p>
58 You may maintain up to five email aliases. Each localpart name
59 exists in the member.fsf.org domain name and can forward to one
60 email address. The localpart you request might not be available.
61 </p>
62
63 <p>
64 For example, a localpart of "yyz" with a forward to value of
65 "xyzzy@example.com" would cause mail sent to "yyz@member.fsf.org" to
66 be forwarded to "xyzzy@example.com".
67 </p>
68
69 <p>
70 Please note that it may take up to a half hour for new forwards to
b0c848d4
IK
71 take effect, and that sending mail from the forwarded address to the
72 alias won't work. Using the previous example, sending mail from
73 xyzzy@example.com to yyz@member.fsf.org won't work.
7d701e33
DT
74 </p>
75
76 {if !empty($emailAliases)}
77 <form method="POST"
78 action="{crmURL p='civicrm/member-dashboard/benefits' q='action=edit'}">
79 <table>
80 <thead>
7f213439 81 <tr>
7d701e33
DT
82 <th>Delete</th>
83 <th>Local Part</th>
84 <th>Forward</th>
7f213439 85 </tr>
7d701e33
DT
86 </thead>
87 <tbody>
88 {foreach from=$emailAliases item=alias}
89 <tr>
90 <td>
91 <input type="checkbox" name="delete[{$alias->id}]" value="delete" />
92 <input type="hidden" name="ids[]" value="{$alias->id}" />
93 </td>
94 <td>
95 <input type="text" name="localparts[]" value="{$alias->localpart}" />
96 </td>
97 <td>
98 <input type="text" name="forwards[]" value="{$alias->forward}" />
99 </td>
100 </tr>
101 {/foreach}
102 </tbody>
103 </table>
104
105 <input class="crm-form-submit default" type="submit" value="Save" />
106 </form>
107 {/if}
108
4560328b 109 <h2>Add New Alias</h2>
7f213439 110
7d701e33
DT
111 <form method="POST"
112 action="{crmURL p='civicrm/member-dashboard/benefits' q='action=add'}">
113 <label for="localpart">Local part</label>
114 <input type="text" name="localpart" />
115 <label for="forward">Forward</label>
116 <input type="text" name="forward" />
117 <input class="crm-form-submit default" type="submit" value="Add" />
7f213439 118 </form>
3346ef47 119
f5310d9e 120
2db6180a
AE
121 <div class="header-dark">Jabber/XMPP</div>
122
123 <p>
124 Your Jabber/XMPP account is: <strong>{$user->name}@member.fsf.org</strong>
125 </p>
126
127 <h2>Instructions</h2>
128
129 <p>
130 Use your FSF username as the jabber username, and member.fsf.org as
131 the domain if your XMPP client supports server discovery via a DNS
132 SRV record lookup. Most XMPP clients support this. If your client
133 does not, you can use jabber.member.fsf.org as the server name. Make
134 sure to enable encryption: we support TLS on port 5222 only. Your
135 password is the same as your FSF member password. (Please report
136 any problems you might encounter to
137 <a href="mailto:sysadmin@gnu.org">sysadmin@gnu.org</a>.)
138 </p>
f5310d9e 139
f5310d9e 140
7d701e33
DT
141 <div class="header-dark">Member Forums</div>
142
143 <p>
144 Post and participate in our
bb6487cf 145 <a href="https://forum.members.fsf.org">
7d701e33
DT
146 Members-Only Forums
147 </a>
148 </p>
a19ba350 149
9d4dd946
RR
150 <div class="header-dark">VideoConference</div>
151
152 <p>
153 Access to freedom-respecting videoconferencing via
154 <a href="https://jitsi.member.fsf.org">
155 our Jitsi Meet instance
70023852 156 </a>. You can start new rooms as a host using your membership user and password, and invite guests.
9d4dd946
RR
157 </p>
158
159
a19ba350
AE
160 <div class="header-dark">Other Member Benefits</div>
161
162 <p>
163 <a href="https://www.fsf.org/associate/benefits">
164 Learn more about the benefits of membership.
165 </a>
166 </p>
167
7d701e33
DT
168{else}
169 <div class="header-dark">Members Only</div>
170
171 <p>
172 Only FSF Associate Members can access this page.
173 <a href="https://fsf.org/join">Become an FSF Associate Member today!</a>
174 </p>
175{/if}