! Add badbehavior functions to the lib directory

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Our plugin file for elkarte <=> badbehavior transfer

Signed-off-by: Spuds <spuds@spudsdesign.com>
+ BadBehavior.template.php for the log display and whitelist templates
+ Subs-BadBehavior.php for our db functions
+ ManageBadBehavior.php mostly log related functions
+ BadBehaviorlog.english.php
+ bad-behavior-plugin.php for interface functions

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Loading bad behavior functions

Signed-off-by: Spuds <spuds@spudsdesign.com>
! add bb log pruning to the weekly maintenance, note bb itself only maintains 7 days, this is just in case or should someone wants less than 7 days

Signed-off-by: Spuds <spuds@spudsdesign.com>
! add in the manage bad behavior options and log punning options

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Update admin templates error display so it can show more than one
and use the standard boxes used elsewhere
! Add invalid field icon next to invalid fields for usability
! bad behavior uses these updates, the change is backwards compatible as well

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Some new javascript functions for bad behavior, one for the log display and one for adding additional whitelist items to the manage form

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Language files for settings and menus

Signed-off-by: Spuds <spuds@spudsdesign.com>
! and the old classic admin menu

Signed-off-by: Spuds <spuds@spudsdesign.com>
! the install options for BB

Signed-off-by: Spuds <spuds@spudsdesign.com>
! support for the display stats option

Signed-off-by: Spuds <spuds@spudsdesign.com>
! missed the start parameter when selective removal of log items

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #57 from norv/contribute

Contributing information
Merge pull request #56 from norv/corefeat

Cleanup.
Merge branch 'master' of https://github.com/elkarte/Elkarte into badBehavior

Conflicts:
	Themes/default/scripts/script.js

Signed-off-by: Spuds <spuds@spudsdesign.com>
! cast the $_get as int
! spelling of invalid was invlaid

Signed-off-by: Spuds <spuds@spudsdesign.com>
! clean up the filter handling, some filers were not working
! strict handling of any invalid filter names supplied
! display stats was hardcoded instead of using the modsettings
! template cleanup

Signed-off-by: Spuds <spuds@spudsdesign.com>
array_sum(etc. => microtime(true)

Signed-off-by: emanuele <emanuele45@gmail.com>
! Since we only apply this to ul, lets skip the extra sorting

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