Commit | Line | Data |
---|---|---|
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 | ||
10 | <div class="header-dark">LibrePlanet</div> | |
11 | ||
9015e289 WT |
12 | <a href="https://libreplanet.org"> |
13 | <img src="//static.fsf.org/nosvn/big-logo.png" alt="LibrePlanet" /> | |
9cf8ce75 | 14 | </a> |
7d701e33 DT |
15 | |
16 | <p> | |
17 | Associate members get gratis admission to | |
9015e289 | 18 | <a href="https://libreplanet.org">LibrePlanet</a>, |
7d701e33 DT |
19 | the FSF's annual conference. |
20 | </p> | |
21 | ||
22 | <p> | |
23 | Use your FSF account to join a | |
9015e289 | 24 | <a href="https://libreplanet.org/"> |
7d701e33 DT |
25 | local free software group at LibrePlanet. |
26 | </a> | |
27 | </p> | |
28 | ||
29 | <div class="header-dark">Jabber/XMPP</div> | |
30 | ||
31 | <p> | |
32 | Your Jabber/XMPP account is: <strong>{$user->name}@member.fsf.org</strong> | |
33 | </p> | |
34 | ||
35 | <h3>Instructions</h3> | |
36 | ||
37 | <p> | |
38 | Use your FSF username as the jabber username, and member.fsf.org as | |
39 | the domain if your XMPP client supports server discovery via a DNS | |
40 | SRV record lookup. Most XMPP clients support this. If your client | |
41 | does not, you can use jabber.member.fsf.org as the server name. Make | |
42 | sure to enable encryption: we support TLS on port 5222 only. Your | |
43 | password is the same as your FSF member password. (Please report | |
44 | any problems you might encounter to | |
45 | <a href="mailto:sysadmin@gnu.org">sysadmin@gnu.org</a>.) | |
46 | </p> | |
47 | ||
48 | <div class="header-dark">Email Forwarding</div> | |
49 | ||
50 | <p> | |
51 | You may maintain up to five email aliases. Each localpart name | |
52 | exists in the member.fsf.org domain name and can forward to one | |
53 | email address. The localpart you request might not be available. | |
54 | </p> | |
55 | ||
56 | <p> | |
57 | For example, a localpart of "yyz" with a forward to value of | |
58 | "xyzzy@example.com" would cause mail sent to "yyz@member.fsf.org" to | |
59 | be forwarded to "xyzzy@example.com". | |
60 | </p> | |
61 | ||
62 | <p> | |
63 | Please note that it may take up to a half hour for new forwards to | |
64 | take effect. | |
65 | </p> | |
66 | ||
67 | {if !empty($emailAliases)} | |
68 | <form method="POST" | |
69 | action="{crmURL p='civicrm/member-dashboard/benefits' q='action=edit'}"> | |
70 | <table> | |
71 | <thead> | |
7f213439 | 72 | <tr> |
7d701e33 DT |
73 | <th>Delete</th> |
74 | <th>Local Part</th> | |
75 | <th>Forward</th> | |
7f213439 | 76 | </tr> |
7d701e33 DT |
77 | </thead> |
78 | <tbody> | |
79 | {foreach from=$emailAliases item=alias} | |
80 | <tr> | |
81 | <td> | |
82 | <input type="checkbox" name="delete[{$alias->id}]" value="delete" /> | |
83 | <input type="hidden" name="ids[]" value="{$alias->id}" /> | |
84 | </td> | |
85 | <td> | |
86 | <input type="text" name="localparts[]" value="{$alias->localpart}" /> | |
87 | </td> | |
88 | <td> | |
89 | <input type="text" name="forwards[]" value="{$alias->forward}" /> | |
90 | </td> | |
91 | </tr> | |
92 | {/foreach} | |
93 | </tbody> | |
94 | </table> | |
95 | ||
96 | <input class="crm-form-submit default" type="submit" value="Save" /> | |
97 | </form> | |
98 | {/if} | |
99 | ||
100 | <h3>Add New Alias</h3> | |
7f213439 | 101 | |
7d701e33 DT |
102 | <form method="POST" |
103 | action="{crmURL p='civicrm/member-dashboard/benefits' q='action=add'}"> | |
104 | <label for="localpart">Local part</label> | |
105 | <input type="text" name="localpart" /> | |
106 | <label for="forward">Forward</label> | |
107 | <input type="text" name="forward" /> | |
108 | <input class="crm-form-submit default" type="submit" value="Add" /> | |
7f213439 | 109 | </form> |
3346ef47 | 110 | |
f5310d9e DT |
111 | {if !empty($buttonUrl) } |
112 | <div class="header-dark">Member button</div> | |
113 | ||
114 | <p> | |
115 | Display this member button proudly on your website to show how | |
116 | long you have been an FSF member! | |
117 | </p> | |
118 | ||
119 | <div width="1000px"> | |
120 | <div style="margin: 0 auto;"> | |
121 | <img style="width:182px" src="{$buttonUrl}{$contact.id}.png" /> | |
122 | </div> | |
123 | </div> | |
124 | {/if} | |
125 | ||
7d701e33 DT |
126 | <div class="header-dark">Member Forums</div> |
127 | ||
128 | <p> | |
129 | Post and participate in our | |
130 | <a href="https://my.fsf.org/associate/forum"> | |
131 | Members-Only Forums | |
132 | </a> | |
133 | </p> | |
134 | {else} | |
135 | <div class="header-dark">Members Only</div> | |
136 | ||
137 | <p> | |
138 | Only FSF Associate Members can access this page. | |
139 | <a href="https://fsf.org/join">Become an FSF Associate Member today!</a> | |
140 | </p> | |
141 | {/if} |