basic cleaning / methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
make sure we use an integer..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db query to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Let's get rid of an SMF 1.1 relique
uuups....
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Revisited the template layers class adding more flexibility and few new methods

Signed-off-by: emanuele <emanuele45@gmail.com>
Small tweaks to the class to improve proprity handling (I hope) and some change on how the class is initialized in some of the files

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #460 from eurich/members_overhaul

Members controller refactoring
This should fix a couple of issues with the package manager

Signed-off-by: emanuele <emanuele45@gmail.com>
Missing global in class DbTable_*

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge branch 'master' into template_layers_v2

Conflicts:
	sources/database/DbTable-mysql.php
Rework of retrieveMemberData, approveMembers and enforceReactivation to make them more flexible

Signed-off-by: emanuele <emanuele45@gmail.com>
No, this is correct like this, otherwise the last check is broken

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

I should learn read my own functions... lol

Okay, that should fix that darn function...
Fixed topic announcement, added group_name to the query in getGroups and removed the redundant query in Announce_Controller->action_selectgroup

Signed-off-by: emanuele <emanuele45@gmail.com>
Reworked retrieveMemberData to add other two conditions, allow limit and used the function in Announce_Controller->action_send to remove a query from the controller

Signed-off-by: emanuele <emanuele45@gmail.com>
getEventProperties can query only the properties from the calendar table, used getEventProperties in Calendar_Controller instead of the query

Signed-off-by: emanuele <emanuele45@gmail.com>
A function that creates a report or updates an existing one

Signed-off-by: emanuele <emanuele45@gmail.com>
splitTopic refactor, the function was already in Topics.subs.php

Signed-off-by: emanuele <emanuele45@gmail.com>
Some re-working of getBoardModerators to accomodate also the return of only the ids + created the function allBoardModerators to get the moderators of all the boards

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