cleaning from unused vars and $db init..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
methods visibility, forgot $db init.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved function get_file_listing() to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
made some methods private since they are internals an not used outsite the class..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Let's give the menu the ability to mark other subsections as active.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
make action_edit_browse & action_edit_list their own subactions.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
let's use existing functions :)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
tweaked installedThemes(), we can use it once again :)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
$db isn't needed anymore..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Here we go again :)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db queries to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db queries to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
oops, forgot the other file..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge branch 'master' of https://github.com/elkarte/Elkarte into manage_themes
let's start to use existing functions.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved some queries to subs, let's re-use code again.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
maed prepareThemeEditContext() a method of the Themes_Controller.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
uups, unnecessary whitespaces..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #578 from eurich/manage_themes

Themes.php refactoring