Great idea, thanks D.O.
But I think I'm going to do it like this (no javascript):
By the way, instead of SEARCHWORD I prefer something like SEARCH_HINT, or SEARCH_TEXT, SEARCH_PLACEHOLDER... Opinions?
Also, I think I will not add the string to the default language files, but allow defining the string in gsconfig etc.
On the other hand, I'm not very interested in working in NM's search, other than fixing issues that you find. I'd like to adapt mvleck's i18n_dummy_search code to NM (when I have the time to play with it).
But I think I'm going to do it like this (no javascript):
Code:
<input type="text" class="text" name="keywords" placeholder="Search..." />
By the way, instead of SEARCHWORD I prefer something like SEARCH_HINT, or SEARCH_TEXT, SEARCH_PLACEHOLDER... Opinions?
Also, I think I will not add the string to the default language files, but allow defining the string in gsconfig etc.
On the other hand, I'm not very interested in working in NM's search, other than fixing issues that you find. I'd like to adapt mvleck's i18n_dummy_search code to NM (when I have the time to play with it).