diff --git a/router/template_variables.go b/router/template_variables.go index 84348e41..9c0b4922 100644 --- a/router/template_variables.go +++ b/router/template_variables.go @@ -74,6 +74,10 @@ type changeLanguageVariables struct { Languages map[string]string } +type ChangeThemeVariables struct { + commonTemplateVariables +} + type publicSettingsVariables struct { commonTemplateVariables Language string diff --git a/router/upload_handler.go b/router/upload_handler.go index 9dffb28b..cdc80f03 100644 --- a/router/upload_handler.go +++ b/router/upload_handler.go @@ -17,6 +17,7 @@ import ( "github.com/NyaaPantsu/nyaa/service/upload" "github.com/NyaaPantsu/nyaa/service/user" "github.com/NyaaPantsu/nyaa/service/user/permission" + "github.com/NyaaPantsu/nyaa/util/publicSettings" "github.com/NyaaPantsu/nyaa/util/log" msg "github.com/NyaaPantsu/nyaa/util/messages" "github.com/NyaaPantsu/nyaa/util/publicSettings"