srchub/indefero/src/IDF/templates/idf/wiki/search.html

14 lines
483 B
HTML
Raw Normal View History

2013-07-20 22:41:56 +00:00
{extends "idf/wiki/base.html"}
{block docclass}yui-t1{assign $inWiki=true}{/block}
{block body}
{$pages.render}
{if !$user.isAnonymous()}
{aurl 'url', 'IDF_Views_Wiki::createPage', array($project.shortname)}
<p><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/add.png'}" alt="+" align="bottom" /></a> <a href="{$url}">{trans 'New Page'}</a></p>{/if}
{/block}
{block context}
<p><strong>{trans 'Pages found:'}</strong> {$pages.nb_items}</p>
{/block}