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>
Fixed disregard due to a wrong query

Signed-off-by: emanuele <emanuele45@gmail.com>
Slight re-work of the _api method and small change to is_not_guest to better handle these methods (at least I hope)

Signed-off-by: emanuele <emanuele45@gmail.com>
Tweaked a couple of error messages.

Signed-off-by: Norv <a.w.norv@gmail.com>
Language strings fixes. Theme uninstallation should speak
about uninstallation.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #555 from norv/various

Language strings tweaks
methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
again, db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
another db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved prepareDisplayContext() to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved attachments related functions to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
removed outdated $db and global.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db query to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
fixed undefined var bugs. Missing globals.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
$save_errors  was never used anywhere else -> removed
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Refactor the prepareDisplayContext callback as a callback method.

Signed-off-by: Norv <a.w.norv@gmail.com>