From cfb62ec79b1f51534e312da8e5a3d7b6ed73e567 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 5 Jul 2016 13:37:51 +0200 Subject: fixes #270 add password reset form to smartpocket --- themes/smartpocket/template/identification.tpl | 12 ++++++------ themes/smartpocket/template/password.tpl | 27 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 6 deletions(-) create mode 100755 themes/smartpocket/template/password.tpl diff --git a/themes/smartpocket/template/identification.tpl b/themes/smartpocket/template/identification.tpl index 33d011570..cf29190da 100644 --- a/themes/smartpocket/template/identification.tpl +++ b/themes/smartpocket/template/identification.tpl @@ -28,14 +28,14 @@ -
-{if isset($U_REGISTER)} - {'Register'|@translate} -{/if} -{* +
{if isset($U_LOST_PASSWORD)} {'Forgot your password?'|@translate} {/if} -*} + +{if isset($U_REGISTER)} + {'Register'|@translate} +{/if} +
diff --git a/themes/smartpocket/template/password.tpl b/themes/smartpocket/template/password.tpl new file mode 100755 index 000000000..a45ef819c --- /dev/null +++ b/themes/smartpocket/template/password.tpl @@ -0,0 +1,27 @@ +{include file='infos_errors.tpl'} +
+

{'Forgot your password?'|translate}

+{if $action ne 'none'} +
+ + + {if $action eq 'lost'} +
+ + + +
+ + {elseif $action eq 'reset'} +
+ + + + + +
+ {/if} + +
+{/if} {* $action ne 'none' *} +
-- cgit v1.2.3