diff options
author | Chad Kieffer <chad@2tbsp.com> | 2008-12-17 00:45:52 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2008-12-17 00:45:52 +0000 |
commit | 3c05b95620f46c7042471371a3cab9d87f7da75e (patch) | |
tree | ff94642b43c373c33055be98063d5ab44fd6871a /modules | |
parent | f4c6a20149eceae01d2085264f7facf516fd6bb8 (diff) |
Added JS to set/reset simple forms' input values to their corresponding labels' value. Labels should always be used with visible inputs. Use this to style and control short form input display and behavior.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search/views/search_link.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/search/views/search_link.html.php b/modules/search/views/search_link.html.php index 983742a3..2aa2d83b 100644 --- a/modules/search/views/search_link.html.php +++ b/modules/search/views/search_link.html.php @@ -2,11 +2,11 @@ <form id="gSearchForm"> <ul> <li> - <label for="search"><?= _("Search") ?></label> - <input type="text" name="search" value="<?= _("Search Gallery ...") ?>"/> + <label for="gSearch"><?= _("Search the gallery") ?></label> + <input type="text" name="search" id="gSearch"/> </li> <li> - <input type="submit" value="<?= _("search") ?>" /> + <input type="submit" value="<?= _("Go") ?>" /> </li> </ul> </form> |