diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-25 10:02:06 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-25 10:02:06 +0000 |
commit | eddac7b5c3d16722e066722a43e50db8ed135f8c (patch) | |
tree | 4930d224904c4ff4915f0fbf5cd2c4d4a2981294 /doc/todo | |
parent | 9329f39d45f307895d4e6b1e736aec9ddbef2d4e (diff) | |
download | ikiwiki-eddac7b5c3d16722e066722a43e50db8ed135f8c.tar ikiwiki-eddac7b5c3d16722e066722a43e50db8ed135f8c.tar.gz |
web commit by HenrikBrixAndersen: Add example patch
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/Add_label_to_search_form_input_field.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/todo/Add_label_to_search_form_input_field.mdwn b/doc/todo/Add_label_to_search_form_input_field.mdwn index dbe024a86..86a32fb07 100644 --- a/doc/todo/Add_label_to_search_form_input_field.mdwn +++ b/doc/todo/Add_label_to_search_form_input_field.mdwn @@ -22,4 +22,17 @@ The patch below adds a label for the field to improve usability: >> <http://universalusability.com/access_by_design/forms/auto.html> for >> an explanation why. --[[HenrikBrixAndersen]] +>>> If you really want to do this, this is one way: + + --- searchform.tmpl.orig Sat Aug 25 11:54:28 2007 + +++ searchform.tmpl Sat Aug 25 11:56:19 2007 + @@ -1,6 +1,6 @@ + <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform"> + <div> + -<input type="text" name="phrase" value="" size="16" /> + +<input type="text" name="phrase" value="Search" size="16" onfocus="this.value=''" /> + <input type="hidden" name="enc" value="UTF-8" /> + <input type="hidden" name="do" value="hyperestraier" /> + </div> + [[wishlist]] |