Using a pipe to separate files and functions in hooks is much easier to deal with

Signed-off-by: emanuele <emanuele45@gmail.com>
This should allow to remove a hook based on the function name alone

Signed-off-by: emanuele <emanuele45@gmail.com>
If we have $file better check it?

Signed-off-by: emanuele <emanuele45@gmail.com>
Remove emulation template from the bottom of the package area - fixes #1271

Signed-off-by: emanuele <emanuele45@gmail.com>
! move the click event to the on tag and namespace it
This allows mods the ability to turn off the default
click event on bbc images.

Signed-off-by: Spuds <spuds@spudsdesign.com>
! seems like that ; should be in there

Signed-off-by: Spuds <spuds@spudsdesign.com>
! integrate preparse code was not of much use without extra details
of whats its passing

Signed-off-by: Spuds <spuds@spudsdesign.com>
! since we are 5.2, no need for much of that function

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

Small tweaks
Avoid missing pages in expand scroll - fixes #1391

Signed-off-by: emanuele <emanuele45@gmail.com>
Split show [user] attachments and messages/topics templates

Signed-off-by: emanuele <emanuele45@gmail.com>
Add an id to the most external div of lists without forms

Signed-off-by: emanuele <emanuele45@gmail.com>
Fix new messages loaded by js (template and ignoring status)

Signed-off-by: emanuele <emanuele45@gmail.com>
Make display of members messages, topics, attachments, unwatched topics and drafts as much consistent as possible - fixes #604

Signed-off-by: emanuele <emanuele45@gmail.com>
for consistency sake page section should stay inside the borders

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1427 from emanuele45/hooks_remove

Hooks
* the post approval warning box had the wrong width and was part of the topic listing, which is IMO semantically incorrect. Moved the box out of that list.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
* post approval background was missing in "Be Social!"
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
* approval indication was looking horrible. replaced it with a more consistent version (based on the new posts indicator). 
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
* the max width of an inner element was in some cases larger than the outer element and caused layout inconsistencies (Thanks Jorin for the report)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>