aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsajolida <sajolida@pimienta.org>2014-11-09 16:48:33 +0100
committerSimon McVittie <smcv@debian.org>2014-11-26 11:57:58 +0000
commit94a7a45bd4ddb4a2bd5ac9b91c19b290b2d81ced (patch)
treea5f5defd7c25267c4ea5f1a1e83946b193327a5f
parentb19fc009f487cac3c40032d822d32fdcc04987d1 (diff)
downloadikiwiki-94a7a45bd4ddb4a2bd5ac9b91c19b290b2d81ced.tar
ikiwiki-94a7a45bd4ddb4a2bd5ac9b91c19b290b2d81ced.tar.gz
Add classes to form in search results
This is needed to style it, for example to reduce the width of the text input and prevent layout issues.
-rw-r--r--templates/searchquery.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/searchquery.tmpl b/templates/searchquery.tmpl
index 15bc78e28..62772664d 100644
--- a/templates/searchquery.tmpl
+++ b/templates/searchquery.tmpl
@@ -33,8 +33,8 @@ $def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME="&gt;" VALUE="Next">}}
<FORM NAME=P METHOD=GET
ACTION="$html{$env{CGIURL}}" TARGET="_top">
-<div style="text-align:center">
-<INPUT NAME=P VALUE="$html{$query}" SIZE=65>
+<div class="searchquery" style="text-align:center">
+<INPUT class="searchbox" NAME=P VALUE="$html{$query}" SIZE=65>
<INPUT TYPE=SUBMIT VALUE="Search">
$env{HELPLINK}
<hr>