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 | 22 | ||
23 | <% from r2.lib.template_helpers import replace_render, reddit_link %> | 23 | <% from r2.lib.template_helpers import replace_render, add_sr %> |
24 | <%namespace file="utils.html" import="plain_link" /> | ||
24 | 25 | ||
25 | <ul> | 26 | <ul> |
26 | %for a in thing.things: | 27 | %for a in thing.things: |
... | ... | ||
31 | %if thing.nextprev and (thing.prev or thing.next): | 32 | %if thing.nextprev and (thing.prev or thing.next): |
32 | <p class="nextprev"> ${_("view more:")}  | 33 | <p class="nextprev"> ${_("view more:")}  |
33 | %if thing.prev: | 34 | %if thing.prev: |
34 | <a href="${reddit_link(thing.prev, url = True)}">${_("prev")}</a> | 35 | ${plain_link(_("prev"), thing.prev)} |
35 | %endif | 36 | %endif |
36 | %if thing.prev and thing.next: | 37 | %if thing.prev and thing.next: |
37 |  |  | 38 |  |  |
38 | %endif | 39 | %endif |
39 | %if thing.next: | 40 | %if thing.next: |
40 | <a rel="nofollow" href="${reddit_link(thing.next, url = True)}">${_("next")}</a> | 41 | ${plain_link(_("next"), thing.next)} |
41 | %endif | 42 | %endif |
42 | </p> | 43 | </p> |
43 | %endif | 44 | %endif |