1a107601fa490ca69215facceebe3d0dc5e7f1f86bcef0037bdb2d139a15065c3f31e872bae79df3
19
## All portions of the code written by CondeNet are Copyright (c) 2006-2008
19
## All portions of the code written by CondeNet are Copyright (c) 2006-2008
20
## CondeNet, Inc. All Rights Reserved."
20
## CondeNet, Inc. All Rights Reserved."
21
################################################################################
21
################################################################################
22
 
22
<%namespace file="utils.html" import="language_tool, language_checkboxes, plain_link"/>
23
<%namespace file="utils.html" import="language_tool, language_checkboxes"/>
 
 
24
 
23
 
25
<%def name="checkbox(text, name)">
24
<%def name="checkbox(text, name)">
26
    <input name="${name}" id="${name}" type="checkbox"\
25
    <input name="${name}" id="${name}" type="checkbox"\
...
 
...
 
60
%endif
59
%endif
61
 
60
 
62
<%
61
<%
 
 
62
   if c.cname:
 
 
63
       param = "?cnameframe=1"
 
 
64
   else:
 
 
65
       param = ""
 
 
66
 
63
   if c.user_is_loggedin:
67
   if c.user_is_loggedin:
64
       action = "/post/options"
68
       action = "/post/options" + param
65
   else:
69
   else:
66
       action = "/post/unlogged_options"
70
       action = "/post/unlogged_options" + param
67
 %>
71
 %>
68
<form action="${action}" method="post" class="pretty-form short-text">
72
<form action="${action}" method="post" class="pretty-form short-text">
69
<input type="hidden" name="uh" value="${c.modhash}" />
73
<input type="hidden" name="uh" value="${c.modhash}" />
...
 
...
 
75
      ${language_tool(allow_blank = False, show_regions = True,
79
      ${language_tool(allow_blank = False, show_regions = True,
76
                      default_lang = c.user.pref_lang)}
80
                      default_lang = c.user.pref_lang)}
77
      &#32;<span class="little gray hover">(*) ${_("incomplete")}
81
      &#32;<span class="little gray hover">(*) ${_("incomplete")}
78
        &#32;<a href="/feedback">${_("volunteer to translate")}</a></span>
82
      &#32;${plain_link(_("volunteer to translate"), "/feedback")}</span>
79
    </td>
83
    </td>
80
  </tr>
84
  </tr>
81
  <tr>
85
  <tr>
...
 
...
 
156
  &#32;<span class="little gray">(1 - ${g.max_comments})</span>
160
  &#32;<span class="little gray">(1 - ${g.max_comments})</span>
157
    </td>
161
    </td>
158
  </tr>
162
  </tr>
159
 
163
  <tr>
 
 
164
    <th>${_("display options")}</th>
 
 
165
    <td class="prefright">
 
 
166
      ${checkbox(_("allow reddits to show me custom styles"), "show_stylesheets")}
 
 
167
    </td>
 
 
168
  </tr>
160
  <tr>
169
  <tr>
161
    <th>${_("privacy options")}</th>
170
    <th>${_("privacy options")}</th>
162
    <td class="prefright">
171
    <td class="prefright">