Removed empty include templates from forms, and use templates from theme directly
This commit is contained in:
1 parent
5916eaad13
commit
794976792a
17 files changed
+16
-31
No files matched your search
@@ -104,7 +104,7 @@ public class FormServiceImpl implements FormService {
|
||||
Configuration cfg = new Configuration();
|
||||
|
||||
try {
|
||||
cfg.setClassForTemplateLoading(FormServiceImpl.class,"/META-INF/resources");
|
||||
cfg.setClassForTemplateLoading(FormServiceImpl.class,"/META-INF/resources/forms/theme/default");
|
||||
Template template = cfg.getTemplate(temp);
|
||||
|
||||
template.process(input, out);
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/access.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/account.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/error.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-config-totp.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-oauth-grant.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-reset-password.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-totp.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-update-password.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-update-profile.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login-verify-email.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/login.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/password.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/register.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/social.ftl">
|
||||
@@ -1 +0,0 @@
|
||||
<#include "./theme/" + template.theme + "/totp.ftl">
|
||||
Reference in new issue
Block a user