Commit | Line | Data |
---|---|---|
27e48ace AC |
1 | <% val you = Init.getUserId (); |
2 | ||
3 | @header [("title", ["Member preferences"])]; | |
4 | ||
5 | if $"cmd" = "mod" then | |
6 | if $"dir" = "on" then | |
7 | Pref.setDirectory you | |
8 | else | |
9 | Pref.unsetDirectory you | |
10 | end | |
11 | ||
12 | %><h3><b>Preferences updated</b></h3><% | |
13 | end %> | |
14 | ||
15 | <form action="pref"> | |
16 | <input type="hidden" name="cmd" value="mod"> | |
17 | <table> | |
18 | <tr> <td align="right"><input type="checkbox" name="dir"<% if Pref.hasDirectory you then %> checked<% end %>></td> <td>Include me in the public member directory</td> </tr> | |
19 | <tr> <td><input type="submit" value="Save"></td> </tr> | |
20 | </table> | |
21 | ||
22 | <% @footer[] %> |