Exemplo n.º 1
0
?>
</td><td><?php 
echo $form->text_field('email');
?>
</td>
  </tr>
  <tr>
    <td colspan='2'><span style='font-weight:bold;font-size:8pt'>Leave password fields blank if you do not wish to change</span></td>
  </tr>
  <tr>
    <td>
    <?php 
echo $form->label('password');
?>
</td><td><?php 
echo $form->password('password', array('value' => ''));
?>
</td>
  </tr>
  <tr>
    <td><label for='v_password'>Verify Password: </td><td><input type='password' name='v_password' id='v_password' /></td>
  </tr>
  <tr>
    <td><?php 
echo $form->submit('Update');
?>
</td><td>&nbsp;</td>
  </tr>
</table>
<?php 
echo $form->end();
Exemplo n.º 2
0
</td><td><?php 
echo $form->text_field('username', array('onblur' => 'checkUsername()'));
?>
</td></tr>
		<tr><td><?php 
echo $form->label('email');
?>
</td><td><?php 
echo $form->text_field('email');
?>
</td></tr>
		<tr><td><?php 
echo $form->label('password');
?>
</td><td><?php 
echo $form->password('password');
?>
</td></tr>
		<tr><td><label for='v_password'>Verify Password</label></td><td><input id='v_password' type='password' name='v_password' /><input type='text' name='whoanow' class='super_secret_field_of_doom' /></td></tr>
		<tr><td><?php 
echo $form->submit('Register');
?>
</td><td></td></tr>
	</table>
<?php 
echo $form->end();
?>
<script type='text/javascript'>
	function verifyField() {
		if($F('user_password') == $F('v_password')) {
			return true;