[FEATURE] Show default text in search form with HTML5 attribute
authorMario Rimann <typo3-coding@rimann.org>
Tue, 26 Jul 2011 20:39:00 +0000 (22:39 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sat, 30 Jul 2011 20:10:51 +0000 (22:10 +0200)
commit6a9d67292bcca9f7618b58189b93342fe0726bf3
tree9fe728561a6393ea2b9a98a69eee7c9bd5773119
parent007b98f730b5525587ab7b7081d77a481ef51746
[FEATURE] Show default text in search form with HTML5 attribute

Adds a text "Search for" in the search form input
field as long as no text has been searched for
(improves accessibility). If the doctype is set to
"html5", the text is shown as attribute
placeholder="Search for", otherwise as field value
of the input field.

Change-Id: I6944b21d44ea365ac5969e94d7743f5418962ea2
Resolves: #28347
Resolves: #17496
Reviewed-on: http://review.typo3.org/3688
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php
typo3/sysext/indexed_search/pi/locallang.xml
typo3/sysext/indexed_search/pi/template_css.tmpl