In My account there is anything like change password. There is four tabs My information, Avatar,Notification,Privacy.
function cpassword() {
c('
<form method="post" name="form1" action="'.url('account/cpasswordpost').'" >
<p>
'.label(t('Current Password')).'
<input type="password" name="password" />
</p>
<p>
'.label(t('New password')).'
<input type="password" name="password1" />
</p>
<p>
'.label(t('Re-type new password')).'
<input type="password" name="password2" />
</p>
<p>
<input class="button" type="submit" value="'.t('Save').'" />
</p>
</form>');
|