summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-06-15 13:06:38 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-06-15 13:06:38 +0000
commitd454720258a561fa021aa138e7b60c4b329e809c (patch)
tree2fcdb6c91eda31ec60c41c78ca47f2567bfe8b4a /doc
parent2e97920c50598510e20b28e9edcd860365981761 (diff)
web commit by HenrikBrixAndersen: Add patch for improving usability of the search template
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/Add_label_to_search_form_input_field.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/Add_label_to_search_form_input_field.mdwn b/doc/bugs/Add_label_to_search_form_input_field.mdwn
new file mode 100644
index 000000000..b7afc61a4
--- /dev/null
+++ b/doc/bugs/Add_label_to_search_form_input_field.mdwn
@@ -0,0 +1,13 @@
+The default searchform.tmpl looks rather bare and unintuitive with just an input field.
+
+The patch below adds a label for the field to improve usability:
+
+ --- templates/searchform.tmpl.orig Fri Jun 15 15:02:34 2007
+ +++ templates/searchform.tmpl Fri Jun 15 15:02:41 2007
+ @@ -1,5 +1,6 @@
+ <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
+ <div>
+ +<label for="phrase">Search:</label>
+ <input type="text" name="phrase" value="" size="16" />
+ <input type="hidden" name="enc" value="UTF-8" />
+ <input type="hidden" name="do" value="hyperestraier" /> \ No newline at end of file