adjust bitmask & get_html_translation_table output

- the function of get_html_translation_table actually filters spaces to the entity of &#39; (without the 0) so this has to be added to the replacement array
- the default document type for this function is ENT_HTML401 and therefore must be adjusted to ENT_HTML5

Signed-off-by: -Underdog- github.underdog@gmail.com
- removed HTML5 bitmask parameter

- ENT_HTML5 bitmask parameter is not compatible with the minimal SMF 2.1
PHP version of 5.3.8  (for PHP 5.4.0+)

Signed-off-by: -Underdog- github.underdog@gmail.com
- added character set

- behavior in PHP versions vary for this function's default character
set therefore it is necessary to force the setting

Signed-off-by: -Underdog- github.underdog@gmail.com
Use version_compare on php_version_check()

Signed-off-by: Suki <suki@missallsunday.com>
Signed-off-by: Antes <antes@simplemachines.org>
Merge branch 'release-2.1' of git://github.com/simplemachines/SMF2.1 into release-2.1

# Via Antes (1) and Michael Eshom (1)
* 'release-2.1' of git://github.com/simplemachines/SMF2.1:
  Signed-off-by: Antes <antes@simplemachines.org>
Merge pull request #2449 from Dragooon/release-2.1

Fix moderation alerts being sent for boards
meh... I forgot we are referencing files and folders
not vars! #2451

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #2452 from MissAllSunday/writable_files

meh... I forgot we are referencing files and folders
Merge branch 'release-2.1' of git://github.com/simplemachines/SMF2.1 into release-2.1

# By Shitiz Garg (1) and Suki (1)
# Via Jessica González (1) and others
* 'release-2.1' of git://github.com/simplemachines/SMF2.1:
  meh... I forgot we are referencing files and folders not vars! #2451
  Fix moderation alerts being sent for boards
Merge pull request #2441 from MissAllSunday/version_compare

Use version_compare on php_version_check()
! Improper use of object tag caused validation errors

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #2454 from Oldiesmann/release-2.1

! Improper use of object tag caused validation errors
! Fix related to More (link-button) and Popup...
! Why you use padding-right: 0 there? nvm... :P
! I forgot how powerful .button class are :)

Signed-off-by: Antes <antes@simplemachines.org>
! emoticon related cleanup
! Add avatar back to mini-profile (fixes #2439)

Signed-off-by: Antes <antes@simplemachines.org>
Merge pull request #2456 from Antes/theme_fix

Theme fix
! Changes needs to be changed... :P

Signed-off-by: Antes <antes@simplemachines.org>
! move it to class so we can customize :)

Signed-off-by: Antes <antes@simplemachines.org>
Merge pull request #2457 from Antes/small_paws

! Changes needs to be changed... :P
Merge pull request #2429 from Underdog-01/patch-12

adjust bitmask & get_html_translation_table output