plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
$def with (results, fulltext=False) $ _ = i18n.get_namespace('/search') <div id="nav" style="margin-left: 0px;"> <div id="options"> <div class="navouter"> <img src="/static/images/nav.top.png" alt="Options" border="0" /> <div class="navinner"> <div class="navinner-padding"> <span class="navheader">Works</span> <br /><br /> $for b in results: $if fulltext: $ book = b[0] $ ocaid = b[1] $ pages = b[2] $else: $ book = b $ ocaid = None <div style="padding: 5px 10px 5px 10px; border-top: 0px solid #fff;"> <a href="$book.key/$book.title.replace(' ', '-')" class="datalink">$book.title_prefix $book.title</a> </div> </div> </div> <img src="/static/images/nav.bot.png" alt="" border="0" /> </div> </div> </div> |