diff --git a/Configuration/TypoScript/Extension/Felogin/constants.typoscript b/Configuration/TypoScript/Extension/Felogin/constants.typoscript index cda9d8ccd..f1b250d0d 100644 --- a/Configuration/TypoScript/Extension/Felogin/constants.typoscript +++ b/Configuration/TypoScript/Extension/Felogin/constants.typoscript @@ -1,4 +1,5 @@ -# FRONTEND LOGIN -styles.content.loginform { - templateFile = EXT:bootstrap_package/Resources/Private/Templates/Felogin/FrontendLogin.html -} +######################## +#### FRONTEND LOGIN #### +######################## + +@import 'EXT:felogin/Configuration/TypoScript/constants.typoscript' diff --git a/Configuration/TypoScript/Extension/Felogin/setup.typoscript b/Configuration/TypoScript/Extension/Felogin/setup.typoscript index 25950c852..aceadeffe 100644 --- a/Configuration/TypoScript/Extension/Felogin/setup.typoscript +++ b/Configuration/TypoScript/Extension/Felogin/setup.typoscript @@ -1,17 +1,22 @@ -# FRONTEND LOGIN -plugin.tx_felogin_pi1 { - wrapContentInBaseClass = 0 - welcomeMessage_stdWrap.wrap =

|

- logoutMessage_stdWrap.wrap =

|

- errorMessage_stdWrap.wrap =

|

- successMessage_stdWrap.wrap =

|

- cookieWarning_stdWrap.wrap =

|

- forgotMessage_stdWrap.wrap =

|

- forgotErrorMessage_stdWrap.wrap =

|

- forgotResetMessageEmailSentMessage_stdWrap.wrap =

|

- changePasswordNotValidMessage_stdWrap.wrap =

|

- changePasswordTooShortMessage_stdWrap.wrap =

|

- changePasswordNotEqualMessage_stdWrap.wrap =

|

- changePasswordMessage_stdWrap.wrap =

|

- changePasswordDoneMessage_stdWrap.wrap =

|

+######################## +#### FRONTEND LOGIN #### +######################## + +@import 'EXT:felogin/Configuration/TypoScript/setup.typoscript' + +plugin.tx_felogin_login { + view { + templateRootPaths { + 20 = EXT:bootstrap_package/Resources/Private/Templates/Felogin/ + 21 = {$plugin.bootstrap_package.view.templateRootPath}Felogin/ + } + partialRootPaths { + 20 = EXT:bootstrap_package/Resources/Private/Partials/Felogin/ + 21 = {$plugin.bootstrap_package.view.partialRootPath}Felogin/ + } + layoutRootPaths { + 20 = EXT:bootstrap_package/Resources/Private/Layouts/Felogin/ + 21 = {$plugin.bootstrap_package.view.layoutRootPath}Felogin/ + } + } } diff --git a/Resources/Private/Partials/Felogin/CookieWarning.html b/Resources/Private/Partials/Felogin/CookieWarning.html new file mode 100644 index 000000000..2e2c80dda --- /dev/null +++ b/Resources/Private/Partials/Felogin/CookieWarning.html @@ -0,0 +1,5 @@ + + +

+ + diff --git a/Resources/Private/Templates/Felogin/FrontendLogin.html b/Resources/Private/Templates/Felogin/FrontendLogin.html deleted file mode 100644 index 9692e3bf5..000000000 --- a/Resources/Private/Templates/Felogin/FrontendLogin.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - Templates for felogin - - - -

Common markers

-

These are substituted in all felogin item displaying templates.

- -

Markers

- - -

Wrap parts

- - -

felogin Language Markers (see pi/locallang.xlf)

- - - - -###STATUS_HEADER### -###STATUS_MESSAGE### - -
-
- ###LEGEND### -
- - -
-
- - -
- -
-
- -
-
- -
- -
-
- - - - - ###EXTRA_HIDDEN### -
-
-
- -

###FORGOT_PASSWORD###

- - - - - - -###STATUS_HEADER### -###STATUS_MESSAGE### -
-
- ###LEGEND### -
-
###USERNAME_LABEL###
-
###USERNAME###
-
-
- -
-
- - - -
-
-
- - - - -###STATUS_HEADER### -###STATUS_MESSAGE### - -
-
- -
-
- ###LEGEND### -
- - -
-
- -
-
-
- -

###BACKLINK_LOGIN###

- - - - -###STATUS_HEADER### -###STATUS_MESSAGE### - -
-
- ###LEGEND### -
- - -
-
- - -
-
- -
-
-
- -###BACKLINK_LOGIN### - diff --git a/Resources/Private/Templates/Felogin/Login/Login.html b/Resources/Private/Templates/Felogin/Login/Login.html new file mode 100644 index 000000000..7530381fc --- /dev/null +++ b/Resources/Private/Templates/Felogin/Login/Login.html @@ -0,0 +1,91 @@ + + + + + + + + +

+ +

+ + +

+
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+ + +
+ + +
+
+ + + + + + + + + + + +
+
+
+ +
+ +
+ +
+ + + + + + + + + + + + + + + + {extraHidden} +
+
+
+ diff --git a/Resources/Private/Templates/Felogin/Login/Logout.html b/Resources/Private/Templates/Felogin/Login/Logout.html new file mode 100644 index 000000000..fa5ec7936 --- /dev/null +++ b/Resources/Private/Templates/Felogin/Login/Logout.html @@ -0,0 +1,31 @@ + + + + + + +

+ +

+

+ +

+ + +
+ +
+
+
{user.username}
+
+
+ +
+ +
+ + +
+
+
+ diff --git a/Resources/Private/Templates/Felogin/PasswordRecovery/Recovery.html b/Resources/Private/Templates/Felogin/PasswordRecovery/Recovery.html new file mode 100644 index 000000000..3079dd8a4 --- /dev/null +++ b/Resources/Private/Templates/Felogin/PasswordRecovery/Recovery.html @@ -0,0 +1,29 @@ + +

+ +

+

+ +

+ + + + +
+ +
+ + +
+
+ +
+
+
+ +

+ + + +

+ diff --git a/Resources/Private/Templates/Felogin/PasswordRecovery/ShowChangePassword.html b/Resources/Private/Templates/Felogin/PasswordRecovery/ShowChangePassword.html new file mode 100644 index 000000000..7f60658fe --- /dev/null +++ b/Resources/Private/Templates/Felogin/PasswordRecovery/ShowChangePassword.html @@ -0,0 +1,32 @@ + +

+ +

+

+ +

+ + + + + +
+ + +
+
+ + +
+
+ +
+ +
+ +

+ + + +

+