Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/topsites/cache/accounts_edit.tpl
<!-- BEGIN BODY -->
	<table border="0" width="90%">
		<tr>
			<td align="left">
<!-- BEGIN PAGE CONTENT -->

				<script type="text/javascript">
				function checkForm(form)
				{   
				    if( form.Email.value.search(/^[\w\d][\w\d\,\.\-]*\@([\w\d\-]+\.)+([a-zA-Z]+)$/) == -1 )
				    {
				        alert("Invalid E-mail Address");
				        return false;
				    }
				    if( form.Site_URL.value.search(/^http:\/\/[\w\d\-\.]+\.[\w\d\-\.]+/) == -1 )
				    {
				        alert("Invalid Site URL");
				        return false;
				    }
				}
				</script>
				
				<div>
				<form name="form" action="accounts.php" method="post" onSubmit="return checkForm(this)">
				<h2>Edit Your Account</h2>
				<table>
				<tr>
				<td align="right">
				E-mail Address:
				</td>
				<td>
				<input type="text" name="Email" size="30" value="<?PHP echo $T['Email']; ?>">
				</td>
				</tr>
				<tr>
				<td align="right">
				Site URL:
				</td>
				<td>
				<input type="text" name="Site_URL" size="30" value="<?PHP echo $T['Site_URL']; ?>">
				</td>
				</tr>
				<tr>
				<td align="right">
				Site Title:
				</td>
				<td>
				<input type="text" name="Title" size="30" value="<?PHP echo $T['Title']; ?>"><br />
				<span><?PHP echo $T['Max_Title']; ?> characters max</span>
				</td>
				</tr>
				<tr>
				<td align="right">
				New Password:
				</td>
				<td>
				<input type="text" name="New_Password" size="30"><br />
				<span>
				Only fill this in if you want to change your password
				</span>
				</td>
				</tr>
				<tr>
				<td>
				<br />
				<input type="hidden" name="Run" value="EditAccount">
				<!-- Do NOT remove these values -->
				<input type="hidden" name="Username" value="<?PHP echo $T['Username']; ?>">
				<input type="hidden" name="Password" value="<?PHP echo $T['Password']; ?>">
				<input type="submit" value="Update Your Account">
				</td>
				</td>
				</tr>
				</table>
				<br />
				<br />
				</form>
				</div>
<!-- END PAGE CONTENT -->
			</td>
		</tr>
	</table>
<!-- END BODY -->
Return current item: DDL CMS