Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1390 - infrastructure/scarab/scarab-dpml-extensions/etc/deliverables/webapp/WEB-INF/templates/screens

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: pneubauer AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1390 - infrastructure/scarab/scarab-dpml-extensions/etc/deliverables/webapp/WEB-INF/templates/screens
  • Date: Wed, 05 Jan 2005 23:48:45 +0100

Author: pneubauer
Date: Wed Jan 5 23:48:45 2005
New Revision: 1390

Added:

infrastructure/scarab/scarab-dpml-extensions/etc/deliverables/webapp/WEB-INF/templates/screens/ChangePassword.vm
Log:
modified changePassword template to call the action that changes even the SVN
password


Added:
infrastructure/scarab/scarab-dpml-extensions/etc/deliverables/webapp/WEB-INF/templates/screens/ChangePassword.vm
==============================================================================
--- (empty file)
+++
infrastructure/scarab/scarab-dpml-extensions/etc/deliverables/webapp/WEB-INF/templates/screens/ChangePassword.vm
Wed Jan 5 23:48:45 2005
@@ -0,0 +1,59 @@
+<div id="changepassword" class="app">
+
+#set ($regGroup = $intake.Register.Default)
+#if ($regGroup.UserName.Value && $regGroup.UserName.Value.length() > 0)
+ #set ($userNameValue = $regGroup.UserName.Value)
+#else
+ #if ($intake.Login.Default.Username.Value &&
$intake.Login.Default.Username.Value.length() > 0)
+ #set ($userNameValue = $intake.Login.Default.Username.value)
+ #else
+ #set ($userNameValue = $data.User.UserName)
+ #end
+#end
+
+<h3>$l10n.ChangePassword</h3>
+
+<form action="$link.setPage("ChangePassword.vm")" method="post">
+ <input type="hidden" name="action" value="ChangeScarabAndSvnPassword" />
+ <input type="hidden" name="$scarabG.Constant.NEXT_TEMPLATE"
value="$data.User.HomePage" />
+ <input type="hidden" name="username" value="$!userNameValue" />
+
+<div class="axial">
+<table cellpadding="3" cellspacing="2" border="0">
+ <tr>
+ <th>$l10n.Username</th>
+ <td>
+ $!userNameValue
+ </td>
+ </tr>
+ <tr>
+ <th>$l10n.OldPassword</th>
+ <td>
+ <input type="password" size="25" name="$regGroup.OldPassword.Key"
value="$!regGroup.OldPassword.value" />
+ #fieldErrorMsg($regGroup.OldPassword "")
+ </td>
+ </tr>
+ <tr>
+ <th>$l10n.NewPassword</th>
+ <td>
+ <input type="password" size="25" name="$regGroup.Password.Key"
value="$!regGroup.Password.value" />
+ #fieldErrorMsg($regGroup.Password "")
+ </td>
+ </tr>
+ <tr>
+ <th>$l10n.ConfirmPassword</th>
+ <td>
+ <input type="password" size="25" name="$regGroup.PasswordConfirm.Key"
value="$!regGroup.PasswordConfirm.value" />
+ #fieldErrorMsg($regGroup.PasswordConfirm "")
+ </td>
+ </tr>
+</table>
+</div>
+
+<div class="functnbar2">
+ <input type="submit" name="eventSubmit_doChangepassword"
value="$l10n.ChangePassword" />&#160;
+</div>
+
+$intake.declareGroups()
+</form>
+</div>



  • svn commit: r1390 - infrastructure/scarab/scarab-dpml-extensions/etc/deliverables/webapp/WEB-INF/templates/screens, pneubauer, 01/05/2005

Archive powered by MHonArc 2.6.24.

Top of Page