Fixes #1349 Custom moderation tools confirmation page issues.
Cleans input values.
remove $plural 's'. That's a language concept, belongs to language file.
And the code didn't work anyway.
File attachment was restricted to .php which wasn't the case in 1.6.
Alternative approach: if it's not a color, it's a file.
theme disporder is mandatory, thus should be updated by default
call update_theme_stylesheet_list() when saving disporders
allow 0 as a valid disporder
fix: comma issue in users browsing forum/thread, refs #1365
Added a $limit option to find_replace_templatesets

Some plugins need to set a limitation on the number of possible replacements in a template, imagine you want to add a script right after some "</script>", and your template contains two or more "</script>", if you don't specify a limitation, you will get your string inserted twice. A more serious issue happened to me when I tried to replace a whole template (using /.*/s), the replacement got inserted twice, because preg_replace considered even the empty string as a match, I replaced it with /.+/s (one character at least) as a workaround, but it's still not what I should do, because I DO want to allow empty templates to be replaced too, along the non-empty templates to be replaced also, but I want to limit that to ONE remplacement only.
Fix #1337

Moves the post title tooltip to post number only.
https://github.com/mybb/mybb/issues/1337
Fix #1380

Add No Prefix and Any Prefix filter/sort options.
https://github.com/mybb/mybb/issues/1380
Redundant line

...
Renamed All Prefixes

To something less confusing, at least for me.
Fixed $datecutsel bug, removed useless input

...
Fix #1257 Lift Ban After field inconsistency when banning users.
Fix #1420 Ban page visible even if no allowed to edit ban.
Got it wrong.
Fixes #1417 Apostrophe in User Name
Fixes #1376 Allowed Login Methods
Fixes #1376 Allowed Login Methods