svasti wrote:So this would add a language variable or even a config variable ($cf[search][submit]).
Now what about upgrading 1.6.0 -> 1.6.1?
We cannot simply overwrite the old language files, as that would deleate user defined settings.
Even if it requires a new language variable or a new config option that's not a big problem, IMO, as we have the language and config default files.
svasti wrote:Maybe the xxconfig.php language files weren't all that stupid after all, as they usually contained the user defined strings while the standard language file could have been easily exchanged.
I don't think the LANGconfig files have been a stupid idea, but they have not been thought through. On one hand, there never has been an equivalent for the plugins (why not, if it was an important concept), and on the other hand, it's sometimes unclear where to put some strings. Consider the template texts for instance: actually those are localizations, but they were stored in the language configuration. And meta_codepage was stored in the language file, despite it's a (language dependent) configuration option. And what about lastupdate_dateformat?
svasti wrote:cmb wrote:maybe we should even switch to type="search"
Does it make any real difference in present browsers yet?
The difference might be theroretical, but at least the
HTML 5 CR says:
The difference between the Text state and the Search state is primarily stylistic: on platforms where search fields are distinguished from regular text fields, the Search state might result in an appearance consistent with the platform's search fields rather than appearing like a regular text field.