Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login
In directory
james.mmbase.org:/tmp/cvs-serv16802/src/webapp/WEB-INF/templates/view/login
Modified Files:
Tag: b1_5
login.jsp send_password.jsp
Added Files:
Tag: b1_5
forgotpassword.txt
Log Message:
CMSC-1162 Newsletter: reset community user password
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login
See also: http://www.mmbase.org/jira/browse/CMSC-1162
forgotpassword.txt is new
Index: login.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login/login.jsp,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -b -r1.6 -r1.6.2.1
--- login.jsp 7 Apr 2008 09:49:34 -0000 1.6
+++ login.jsp 4 Dec 2008 09:41:28 -0000 1.6.2.1
@@ -5,7 +5,7 @@
<form name="<portlet:namespace />form"
action="<cmsc:actionURL><cmsc:param name="action"
value="login"/></cmsc:actionURL>"
method="post">
-
+<input type="hidden" name="send_password" id="send_password"/>
<table>
<c:if test="${!empty errormessage}">
<tr class="inputrow" style="color: red;" >
@@ -24,9 +24,9 @@
<td><input type="password" name="j_password"/></td>
</tr>
<tr>
- <td></td>
- <td id="Submit" align="right">
+ <td id="Submit" align="right" colspan="2">
<input type="submit" value="<fmt:message key="view.submit" />" />
+ <input type="button" value="<fmt:message key="view.send_password" />"
onclick="javascript:this.form['send_password'].value='send';this.form.submit()"/>
</td>
</tr>
</table>
Index: send_password.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-login/src/webapp/WEB-INF/templates/view/login/send_password.jsp,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -b -r1.2 -r1.2.2.1
--- send_password.jsp 14 Mar 2008 12:52:11 -0000 1.2
+++ send_password.jsp 4 Dec 2008 09:41:28 -0000 1.2.2.1
@@ -1,20 +1,18 @@
<[EMAIL PROTECTED] file="/WEB-INF/templates/portletglobals.jsp"%>
-
-<h3><fmt:message key="view.send_password" /></h3>
+<h3><fmt:message key="view.account.sendpassword" /></h3>
<form name="<portlet:namespace />form"
action="<cmsc:actionURL><cmsc:param name="action"
value="send_password"/></cmsc:actionURL>"
method="post">
-
<table>
-<c:if test="${!empty errormessage}">
- <tr class="inputrow" style="color: red;" >
+<c:if test="${!empty sendMessage && sendMessage ne 'send'}">
+ <tr class="inputrow" >
<td colspan="2">
- <fmt:message key="${errormessage}" />
+ <fmt:message key="${sendMessage}" />
</td>
</tr>
</c:if>
-
+<c:if test="${sendMessage eq 'send'}">
<tr class="inputrow">
<td><fmt:message key="view.send_password.username" /></td>
<td><input type="text" name="username"/></td>
@@ -25,6 +23,6 @@
<input type="submit" value="<fmt:message key="view.send_password.submit"
/>" />
</td>
</tr>
+</c:if>
</table>
-
</form>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs