Merge branch 'master' of github.com:elkarte/Elkarte

Conflicts:
	sources/controllers/Post.controller.php
Merge branch 'master' of github.com:elkarte/Elkarte
Fixed splitting of topics (picking messages)

Signed-off-by: emanuele <emanuele45@gmail.com>
! Updates to avatar selection screen

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #211 from Spuds/profileavatar

! Updates to avatar selection screen
Merge pull request #210 from emanuele45/master

quick fix for splitting
Merge branch 'master' of https://github.com/elkarte/Elkarte into PbE
! use strict equality checks

Signed-off-by: Spuds <spuds@spudsdesign.com>
! rename a couple of vars so you can see they are objects

Signed-off-by: Spuds <spuds@spudsdesign.com>
! avoid the use of reserved names as variable names

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Only do the array count once

Signed-off-by: Spuds <spuds@spudsdesign.com>
! The error code was not used in the function so I removed it and from the call ... add it back if it needed?

Signed-off-by: Spuds <spuds@spudsdesign.com>
! changed to noticebox so its not as harsh for auto errors...

Signed-off-by: Spuds <spuds@spudsdesign.com>
! some basic comments added

Signed-off-by: Spuds <spuds@spudsdesign.com>
! missing semicolon from long ago

Signed-off-by: Spuds <spuds@spudsdesign.com>
! change the object identifier to a non reserved name
! wrap the function so js does not complain

Signed-off-by: Spuds <spuds@spudsdesign.com>
! update the favorite son as well (curve classic)

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #232 from Spuds/etweak

Address some of the issues in the dynamic error js
Merge branch 'master' of https://github.com/elkarte/Elkarte into PbE
! Use the 'ap' cache if its available
! $_POST['template_title'] was moved to $template_title ...

Signed-off-by: Spuds <spuds@spudsdesign.com>