1a107601fa490ca69215facceebe3d0dc5e7f1f8 | 6bcef0037bdb2d139a15065c3f31e872bae79df3 | ||
---|---|---|---|
17 | ## the Original Code is CondeNet, Inc. | 17 | ## the Original Code is CondeNet, Inc. |
18 | ## | 18 | ## |
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 | <%namespace file="utils.html" import="plain_link"/> | ||
22 | 23 | ||
23 | <div class="subredditbox"> | 24 | <div class="subredditbox"> |
24 | <form method="post" action="/post/subscriptions" id="sr_subscriptions" | 25 | <form method="post" action="/post/subscriptions" id="sr_subscriptions" |
... | ... | ||
50 | onchange="return change_sr('${sr._fullname}');" | 51 | onchange="return change_sr('${sr._fullname}');" |
51 | id="sr_sel_chx_${sr._fullname}"/> | 52 | id="sr_sel_chx_${sr._fullname}"/> |
52 | %endif | 53 | %endif |
53 | <a href="${sr.path or '/'}">${sr.name}</a> | 54 | <% |
55 | if sr.path: | ||
56 | path = sr.path | ||
57 | else: | ||
58 | path = '/' | ||
59 | %> | ||
60 | ${plain_link(sr.name, path, _sr_path=False, nocname=True)} | ||
54 | </li> | 61 | </li> |
55 | %endfor | 62 | %endfor |
56 | </ul> | 63 | </ul> |
... | ... | ||
58 | %endfor | 65 | %endfor |
59 | <div class="clear"></div> | 66 | <div class="clear"></div> |
60 | </form> | 67 | </form> |
61 | <a class="morelink" href="/reddits/"> | 68 | ${plain_link(unsafe('%s »' % _("more")), "/reddits/", _class="morelink", |
62 | ${_("more")} » | 69 | fmt='%s', _sr_path=False, nocname=True)} |
63 | </a> | ||
64 | </div> | 70 | </div> |