! Sceditor js update fixes #2311

Signed-off-by: Antes <antes@simplemachines.org>
Merge pull request #2400 from Oldiesmann/release-2.1

! Better fix for session checks when previewing posts...
Merge pull request #2401 from Oldiesmann/release-2.1

! Properly fix issues with HTML in forum title and maintenance mode title...
Merge pull request #2402 from Oldiesmann/release-2.1

! Missed something...
Merge pull request #2403 from Oldiesmann/release-2.1

! The "edit css file" page was missing the admin token input (fixes #2362)
Merge pull request #2404 from Oldiesmann/release-2.1

! Memberlist search fixes
issue with $smcFunc['ucwords'] not being loaded

- addresses an issue with the upgrade script where $smcFunc['ucwords'] was not defined for that process
- tested using the SMF 2.1 upgrade an a local installation of SMF 2.0.9
- also edited some grammar within comments in that area of code (let's = let us)

Signed-off-by: -Underdog- github.underdog@gmail.com
- removed line break at end of file

Signed-off-by: -Underdog- github.underdog@gmail.com
possible undefined variables in upgrade.php

- where name and/or password fields from the submitted form were left empty, undefined errors occurred

Signed-off-by: -Underdog- github.underdog@gmail.com
- removed line break at end of file

Signed-off-by: -Underdog- github.underdog@gmail.com
allow mod authors to add their own icon

- allow mod authors to dynamically add elements to the menu
- this can include background image, DOM events, etc.

Signed-off-by: -Underdog- github.underdog@gmail.com
- remove line break at end of file

Signed-off-by: -Underdog- github.underdog@gmail.com
missing second parameter for closure 

- second parameter needed for closure else result is syntax error

Signed-off-by: -Underdog- github.underdog@gmail.com
- removed line break at end of file

Signed-off-by: -Underdog- github.underdog@gmail.com
improper use of closure

- variables passed into the anonymous function from the parent scope has
to be via the use language construct

Signed-off-by: -Underdog- github.underdog@gmail.com
Fix token verification error in Load Balance Settings page

Fixes #2298

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Don't create admin-ssc and admin-dbsc tokens unnecessarily

Centralise them into prepareDBSettingContext and prepareServerSettingsContext

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #2408 from Dragooon/release-2.1

Token fixes
Oops, slight mistake in Load Balance page

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #2409 from Dragooon/release-2.1

Oops, slight mistake in Load Balance page