typo in form functions

darcs-hash:20080520175105-84dde-0f08b19d42ed6b5484ef763c3f6c819ae0156d6f.gz
This commit is contained in:
Evan Prodromou 2008-05-20 13:51:05 -04:00
parent 6f6aed8213
commit e80eef2f04
2 changed files with 4 additions and 3 deletions

View File

@ -37,6 +37,7 @@
+ save profile URL in profilesettings + save profile URL in profilesettings
+ save profile URL on registration + save profile URL on registration
- require valid nicknames - require valid nicknames
- reject empty notices
- store canonical username for comparison and fetch - store canonical username for comparison and fetch
- use only canonical usernames - use only canonical usernames
- use only canonical email addresses - use only canonical email addresses

View File

@ -203,7 +203,7 @@ function common_input($id, $label, $value=NULL) {
$attrs['value'] = htmlspecialchars($value); $attrs['value'] = htmlspecialchars($value);
} }
common_element('input', $attrs); common_element('input', $attrs);
comon_element_end('p'); common_element_end('p');
} }
function common_password($id, $label) { function common_password($id, $label) {
@ -213,7 +213,7 @@ function common_password($id, $label) {
'type' => 'password', 'type' => 'password',
'id' => $id); 'id' => $id);
common_element('input', $attrs); common_element('input', $attrs);
comon_element_end('p'); common_element_end('p');
} }
function common_submit($id, $label) { function common_submit($id, $label) {
@ -222,7 +222,7 @@ function common_submit($id, $label) {
'id' => $id, 'id' => $id,
'name' => $id, 'name' => $id,
'value' => $label)); 'value' => $label));
comon_element_end('p'); common_element_end('p');
} }
# salted, hashed passwords are stored in the DB # salted, hashed passwords are stored in the DB