Revert "All the hooks instroduced in 2.1 don't pass variables by ref any more, while hooks already present in 2.0 will still pass by-ref [Issue #54]"

This reverts commit 99797a97d2b5493a802e8dbc1b5e834bb91929ed.

Conflicts:

	Sources/Attachments.php
	index.php
	sources/Load.php
	sources/admin/ManageLanguages.php
	sources/admin/ManageSearch.php
	sources/controllers/Display.controller.php
	sources/controllers/MessageIndex.controller.php
	sources/subs/Editor.subs.php
	sources/subs/Profile.subs.php
Some other tweaks to the hooks

Signed-off-by: emanuele <emanuele45@gmail.com>
! add save window state (min/max) to many of the smf_toggle windows
! add advanced/simple search state

Signed-off-by: Spuds <spuds@spudsdesign.com>
! language strings for search advanced/basic

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge branch 'master' of https://github.com/elkarte/Elkarte into minmax
! Don't depend on the js call to complete in time (first) when toggling the screen

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Updates to ManageNews.php, remove excess globals, fix layout issues with button positions
editor window size like the rest, remove AS from query as there is only one table, etc

Signed-off-by: Spuds <spuds@spudsdesign.com>
! badbehavior log was not sorting properly

Signed-off-by: Spuds <spuds@spudsdesign.com>
! cant use => in the check, only >= will do

Signed-off-by: Spuds <spuds@spudsdesign.com>
! start top down when viewing the bb log

Signed-off-by: Spuds <spuds@spudsdesign.com>
Yet another small variant to the possible positions of additional rows of createList

Signed-off-by: emanuele <emanuele45@gmail.com>
createList may use the list id to find a possible sub_template to use and in the meantime it can set some defaults too

Signed-off-by: emanuele <emanuele45@gmail.com>
Let's take advantage of the newly introduced features of createList! :D

Signed-off-by: emanuele <emanuele45@gmail.com>
Let's not override something that is already set

Signed-off-by: emanuele <emanuele45@gmail.com>
Allow to show "selectors" without a link (i.e. labels)

Signed-off-by: emanuele <emanuele45@gmail.com>
Some defatul stuff removed

Signed-off-by: emanuele <emanuele45@gmail.com>
Better not re-invent the wheel, what I wrote was already there, just not updated to the last theme changes

Signed-off-by: emanuele <emanuele45@gmail.com>
Couple of tweaks

Signed-off-by: emanuele <emanuele45@gmail.com>
A bit of consistency in approval members list

Signed-off-by: emanuele <emanuele45@gmail.com>
Javascript added to lists could be passed to addInlineJavascript

Signed-off-by: emanuele <emanuele45@gmail.com>