summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bac732c)
raw | patch | inline | side by side (parent: bac732c)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 8 May 2006 01:25:13 +0000 (01:25 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 8 May 2006 01:25:13 +0000 (01:25 +0000) |
template for the expiration of password
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3208 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3208 594d385d-05f5-0310-b6e9-bd551577e9d8
ihtml/themes/default/framework.tpl | patch | blob | history | |
plugins/personal/password/password_expired.tpl | [new file with mode: 0644] | patch | blob |
index 0fd49266ef40f702f7a480aff95155cf39fa4da6..742290548456968c5f2d059246ed2456d33a7a71 100644 (file)
<body>
{$php_errors}
<form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CDF6BD" summary="" >
+<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#6781A8" summary="" >
<tr>
<td style="height:36px; width:140px; vertical-align:bottom; text-align:center">
<a href="main.php" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" style='vertical-align:bottom;'></a>
<tr>
<td style="vertical-align:middle;">
<a class="maintitlebar" href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' >
- <img src='{$go_home}' class='center' border="0" alt="GOSA2"> {t}Main{/t}
+ <img src='{$go_home}' class='center' border="0" alt="Main"> {t}Main{/t}
</a>
</td>
<td>
<a class="maintitlebar" style="margin-left:35px" {$help_method}>
- <img src='{$go_help}' class='center' border="0" alt="GOSA2"> {t}Help{/t}
+ <img src='{$go_help}' class='center' border="0" alt="Help"> {t}Help{/t}
</a>
</td>
<td>
<a class="maintitlebar" href='logout.php?request' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px;">
- <img src='{$go_out}' class='center' border="0" alt="GOSA2"> {t}Sign out{/t}
+ <img src='{$go_out}' class='center' border="0" alt="Sign out"> {t}Sign out{/t}
</a>
</td>
</tr>
<tr style="vertical-align:top;">
<!-- Menu -->
<td style="background-color:#EEFFE6; vertical-align:top;" >
- <div style="background-color:#CDF6BD; height:12px; width:100%;"> </div>
+ <div style="height:12px; width:100%;"> </div>
{$menu}
<br />
<div style="height:1px; width:140px;"></div>
diff --git a/plugins/personal/password/password_expired.tpl b/plugins/personal/password/password_expired.tpl
--- /dev/null
@@ -0,0 +1,48 @@
+<div class="plugtop">
+ <img alt="" src="{$headimage}" align=middle>{t}Change password{/t}
+</div>
+
+<p>
+ {t}Your password has expired. To change your personal password use the fields below. The changes take effect immediately. Please memorize the new password, because you wouldn't be able to login without it.{/t}
+</p>
+
+<p>
+ {t}Changing the password affects your authentification on mail, proxy, samba and unix services.{/t}
+</p>
+
+<table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
+ <tr>
+ <td><b><LABEL for="current_password">{t}Current password{/t}</LABEL></b></td>
+ <td><input id="current_password" type="password" name="current_password" size="30" maxlength="40"
+ onFocus="nextfield= 'new_password';"></td>
+ </tr>
+ <tr>
+ <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
+ <td><input id="new_password" type="password" name="new_password" size="30" maxlength="40"
+ onFocus="nextfield= 'repeated_password';"></td>
+ </tr>
+ <tr>
+ <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
+ <td><input id="repeated_password" type="password" name="repeated_password" size="30" maxlength="40"
+ onFocus="nextfield= 'password_finish';"></td>
+ </tr>
+</table>
+
+<br>
+
+<p class="plugbottom">
+ <input type=submit name="password_finish" value="{t}Set password{/t}">
+
+ <input type=reset id="password_cancel" name="password_cancel" value="{t}Clear fields{/t}">
+</p>
+
+<input type="hidden" name="ignore">
+
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ nextfield= 'current_password';
+ document.mainform.current_password.focus();
+ -->
+</script>
+