Merge branch 'cleaning' of github.com:Spuds/elk-tiny-portal
! Add docblocks to the functions
! tweak the menu button items (temp) to deal with the latest menu structure
! fix incorrect find/replace variables in buffer output

Signed-off-by: spuds <spuds@spudsdesign.com>
! Very start of refactoring ... start moving querys out of TPdlmanager.php to new TPDatabase.subs.php

Signed-off-by: spuds <spuds@spudsdesign.com>
! more TPdlmanager.php refactoring

Signed-off-by: spuds <spuds@spudsdesign.com>
Merge branch 'Misc'