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 | <%namespace file="utils.html" import="plain_link"/> | ||
24 | |||
23 | <div class="sidebox ${thing.css_class}"> | 25 | <div class="sidebox ${thing.css_class}"> |
24 | <a class="morelink" | 26 | <% |
25 | %if not c.user_is_loggedin and thing.show_cover: | 27 | if not c.user_is_loggedin and thing.show_cover: |
26 | onclick="return(showcover(true, 'redirect_${thing.link}'));" | 28 | onclick="return(showcover(true, 'redirect_%s'));" % thing.link |
27 | %endif | 29 | else: |
28 | href="${thing.link}">${thing.title} »</a> | 30 | onclick = None |
31 | |||
32 | nocname = thing.nocname | ||
33 | %> | ||
34 | ${plain_link(thing.title,thing.link, _sr_path = False, _class="morelink", onclick=onclick, nocname=nocname)} | ||
29 | %if thing.subtitles: | 35 | %if thing.subtitles: |
30 | <div class="spacer"> | 36 | <div class="spacer"> |
31 | %for subtitle in thing.subtitles: | 37 | %for subtitle in thing.subtitles: |