mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
Add theme support.
This commit is contained in:
parent
c6b35c82e8
commit
7e0420073b
20 changed files with 430 additions and 12 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue