Add theme support.

This commit is contained in:
Lars Jung 2014-06-01 03:48:53 +02:00
parent c6b35c82e8
commit 7e0420073b
20 changed files with 430 additions and 12 deletions

View file

@ -46,6 +46,12 @@ class Api {
$response["types"] = $this->app->get_types();
}
if (has_request_param("theme")) {
use_request_param("theme");
$response["theme"] = $this->app->get_theme();
}
if (has_request_param("langs")) {
use_request_param("langs");