Add missing wman search template! Doh.
This commit is contained in:
parent
53d37df671
commit
9de7986636
1 changed files with 20 additions and 0 deletions
20
apps/wman/search.tpl
Normal file
20
apps/wman/search.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
<form action="" method="POST">
|
||||||
|
<fieldset>
|
||||||
|
<input type="text" name="wman_search" value="%($"s%)" />
|
||||||
|
<input type="submit" name="go" value="Feel Lucky" />
|
||||||
|
<input type="submit" value="Search" />
|
||||||
|
|
||||||
|
% if(! ~ $"post_arg_wman_search '') {
|
||||||
|
% if(~ $"wman_search_results '') {
|
||||||
|
No matches found for <i>'%($post_arg_wman_search%)'</i>.
|
||||||
|
% }
|
||||||
|
% if not {
|
||||||
|
<ul>
|
||||||
|
% echo $wman_search_results|awk -F/ '$(NF-1) ~ "^[0-9]+$" {printf "<li><a href=\"'$wman_base_uri'%s/%s\" />%s(%s)</a></li>", $(NF-1),$NF, $NF, $(NF-1)}'
|
||||||
|
</ul>
|
||||||
|
% }
|
||||||
|
% }
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue