aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-09-18 00:29:49 +0000
committerplegall <plg@piwigo.org>2005-09-18 00:29:49 +0000
commitf7b777c90ac54e4c33d9e57ea132e44b49ce487a (patch)
tree2bc6d690aec73d6d7770bdf679dfe5f8204a1be9 /template
parent60fc8c061adbad349c3a0a365f46b37ba8339cd2 (diff)
- new: automatic new password sent by mail when requested by user
git-svn-id: http://piwigo.org/svn/trunk@866 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/content.css1
-rw-r--r--template/yoga/identification.tpl2
-rw-r--r--template/yoga/password.tpl51
-rw-r--r--template/yoga/register.tpl1
-rw-r--r--template/yoga/theme/lost_password.pngbin0 -> 1716 bytes
5 files changed, 55 insertions, 0 deletions
diff --git a/template/yoga/content.css b/template/yoga/content.css
index 4d3775b21..c9aadf458 100644
--- a/template/yoga/content.css
+++ b/template/yoga/content.css
@@ -15,6 +15,7 @@ BODY#theProfilePage #content,
BODY#theSearchPage #content,
BODY#theAboutPage #content,
BODY#thePopuphelpPage #content,
+BODY#thePasswordPage #content,
BODY#theNotificationPage #content
{
margin: 1em;
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl
index d120524d0..ef4fc2e8c 100644
--- a/template/yoga/identification.tpl
+++ b/template/yoga/identification.tpl
@@ -3,6 +3,7 @@
<div class="titrePage">
<ul class="categoryActions">
+ <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="template/yoga/theme/lost_password.png" alt="{lang:Forgot your password?}"></a></li>
<li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="./template/yoga/theme/register.png" alt="{lang:register}"/></a></li>
<li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="./template/yoga/theme/home.png" alt="{lang:home}"/></a></li>
</ul>
@@ -48,6 +49,7 @@
<p>
<a href="{U_REGISTER}"><img src="template/yoga/theme/register.png" alt=""> {L_REGISTER}</a>
+ <a href="{U_LOST_PASSWORD}"><img src="template/yoga/theme/lost_password.png" alt=""> {lang:Forgot your password?}</a>
</p>
</div> <!-- content -->
diff --git a/template/yoga/password.tpl b/template/yoga/password.tpl
new file mode 100644
index 000000000..e077fa905
--- /dev/null
+++ b/template/yoga/password.tpl
@@ -0,0 +1,51 @@
+<!-- $Id$ -->
+<div id="content">
+
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="./template/yoga/theme/home.png" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:Password forgotten}</h2>
+ </div>
+
+ <!-- BEGIN errors -->
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ <!-- END errors -->
+
+ <!-- BEGIN infos -->
+ <div class="infos">
+ <ul>
+ <!-- BEGIN info -->
+ <li>{infos.info.INFO}</li>
+ <!-- END info -->
+ </ul>
+ </div>
+ <!-- END infos -->
+
+<form action="{F_ACTION}" method="post" class="properties">
+ <fieldset>
+ <legend>{lang:Retrieve password}</legend>
+
+ <ul>
+ <li>
+ <label for="mail_address">{lang:Email address}</label>
+ <input class="login" type="text" name="mail_address" id="mail_address" size="40" maxlength="40">
+ </li>
+
+ <li>
+ <label>{lang:No email address}</label>
+ <input type="checkbox" name="no_mail_address" value="1">
+ </li>
+ </ul>
+ </fieldset>
+
+ <p><input type="submit" name="submit" value="{lang:Send new password}"></p>
+</form>
+
+</div> <!-- content -->
diff --git a/template/yoga/register.tpl b/template/yoga/register.tpl
index 09740e881..5aa861b41 100644
--- a/template/yoga/register.tpl
+++ b/template/yoga/register.tpl
@@ -42,6 +42,7 @@
<li>
<label for="mail_address">{lang:Mail address}</label>
<input type="text" name="mail_address" id="mail_address" value="{F_EMAIL}" onfocus="this.className='focus';" onblur="this.className='nofocus';">
+ ({lang:useful when password forgotten})
</li>
</ul>
diff --git a/template/yoga/theme/lost_password.png b/template/yoga/theme/lost_password.png
new file mode 100644
index 000000000..76e50305f
--- /dev/null
+++ b/template/yoga/theme/lost_password.png
Binary files differ