Project

General

Profile

« Previous | Next » 

Revision 8668

Added by Jing Tao over 10 years ago

Change the loginForm attributes which is generated by the logout action.

View differences:

lib/style/skins/sanparks/sanparksLogin.xsl
54 54
  			<xsl:otherwise>
55 55
  			
56 56
				<h3>Welcome, <xsl:value-of select="login/name"/>  </h3>
57
				<form name="logoutForm" onsubmit="submitLogoutFormIntoDiv('{$servletURL}', this, 'loginSection')">
57
				<form name="logoutForm" id="logoutForm" method="post" onsubmit="submitLogoutFormIntoDiv('{$servletURL}', this, 'loginSection'); return false;">
58 58
					<input name="qformat" value="sanparks" type="hidden" />
59 59
					<input name="action" type="hidden" value="logout"/>
60 60
					<table>
......
105 105
			<span class="regtext"> (request an account...)</span>
106 106
		</a>
107 107
		</h3>
108
		<form name="loginForm" id="loginForm" onsubmit="submitLoginFormIntoDivAndReload('{$servletURL}', this, 'loginSection')">
108
		<form name="loginForm" id="loginForm" method="post" onsubmit="submitLoginFormIntoDivAndReload('{$servletURL}', this, 'loginSection'); return false;">
109 109
			<input name="qformat" type="hidden" value="sanparks" />
110 110
			<input name="action" type="hidden" value="login"/>
111 111
			<table>

Also available in: Unified diff