From 94f03efde0ed32dbd1ad90a79fe9f92f926d1da3 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sat, 2 Sep 2017 17:49:55 +0200 Subject: [PATCH] Frio: add register template --- view/theme/frio/css/style.css | 9 +++ view/theme/frio/php/default.php | 2 +- view/theme/frio/templates/login.tpl | 62 ++++++++------- view/theme/frio/templates/profile_publish.tpl | 23 ++++++ view/theme/frio/templates/register.tpl | 75 +++++++++++++++++++ 5 files changed, 138 insertions(+), 33 deletions(-) create mode 100644 view/theme/frio/templates/profile_publish.tpl create mode 100644 view/theme/frio/templates/register.tpl diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index c782e62335..fd443a2bcd 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2679,6 +2679,15 @@ section.help-content-wrapper li { font-size: 0.96em; } +/* Register Page*/ +#register-openid-wrapper, #register-name-wrapper, #register-invite-wrapper, #profile-publish-wrapper { + margin-top: 20px; +} +#register-openid-end, #register-nickname-end +{ + margin-top: 40px; +} + /* * Overwriting for transparency and other colors */ diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index f07ffaecba..d4d18e797e 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -84,7 +84,7 @@ else
diff --git a/view/theme/frio/templates/login.tpl b/view/theme/frio/templates/login.tpl index 1615294c8d..a5e9b519e7 100644 --- a/view/theme/frio/templates/login.tpl +++ b/view/theme/frio/templates/login.tpl @@ -1,40 +1,38 @@ -
-
- +
+ -
{{$login}}
+
{{$login}}
+ +
+ {{include file="field_input.tpl" field=$lname}} + {{include file="field_password.tpl" field=$lpassword}} +
+ + {{if $openid}} +
+ {{include file="field_openid.tpl" field=$lopenid}} +
+ {{/if}} + + {{include file="field_checkbox.tpl" field=$lremember}} + + + +
+ +
+
+ + {{foreach $hiddens as $k=>$v}} + + {{/foreach}} -
- {{include file="field_input.tpl" field=$lname}} - {{include file="field_password.tpl" field=$lpassword}}
- - {{if $openid}} -
- {{include file="field_openid.tpl" field=$lopenid}} -
- {{/if}} - - {{include file="field_checkbox.tpl" field=$lremember}} - - - -
- -
-
- - {{foreach $hiddens as $k=>$v}} - - {{/foreach}} - -
- diff --git a/view/theme/frio/templates/profile_publish.tpl b/view/theme/frio/templates/profile_publish.tpl new file mode 100644 index 0000000000..bf14cf58ab --- /dev/null +++ b/view/theme/frio/templates/profile_publish.tpl @@ -0,0 +1,23 @@ + +
+
+ {{$pubdesc}} +
+ +
+
+ + +
+
+
+ +
+
+ + +
+ +
+
+
diff --git a/view/theme/frio/templates/register.tpl b/view/theme/frio/templates/register.tpl new file mode 100644 index 0000000000..c91870e706 --- /dev/null +++ b/view/theme/frio/templates/register.tpl @@ -0,0 +1,75 @@ + +
+ +
+ + + + +

{{$regtitle}}

+ + {{if $registertext != ""}}
{{$registertext}}
{{/if}} + + + {{if $oidlabel}} +
+ + + {{$fillwith}} {{$fillext}} +
+
+ {{/if}} + + {{if $invitations}} +
+ + + {{$invite_desc}} +
+
+ {{/if}} + +
+ + +
+
+ + +
+ + +
+
+ + {{if $passwords}} + {{include file="field_password.tpl" field=$password1}} + {{include file="field_password.tpl" field=$password2}} + {{/if}} + +
+ + + {{$nickdesc}} +
+
+ + {{if $permonly}} + {{include file="field_textarea.tpl" field=$permonlybox}} + {{/if}} + + {{$publish}} + +
+ +
+
+ +

{{$importh}}

+ +
+ + {{$license}} +