<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> </td> </tr> </table> <?php echo $form->end(); ?> <br /> <h3>OpenSSL Public Keys</h3> <p><a href='/user/key/add' rel="facebox" />Add a new Key</a></p> <ul id='keys'> <?php foreach ($user->pkis as $key) { ?> <li><?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; } new Effect.Highlight($('v_password'), {startcolor: '#ff0000', endcolor: '#ffffff'}); return false; }