fix submit button for avatar

darcs-hash:20080528141432-84dde-df546c7e7d79cb753934cdb002859587b7ed2a81.gz
This commit is contained in:
Evan Prodromou 2008-05-28 10:14:32 -04:00
parent de56ccca07
commit abdd82800c

View File

@ -62,10 +62,7 @@ class AvatarAction extends SettingsAction {
common_element('input', array('name' => 'avatarfile', common_element('input', array('name' => 'avatarfile',
'type' => 'file', 'type' => 'file',
'id' => 'avatarfile')); 'id' => 'avatarfile'));
common_element('input', array('name' => 'submit', common_submit('submit', _t('Upload'));
'type' => 'submit',
'id' => 'submit',
'value' =>_t('Upload')));
common_element_end('form'); common_element_end('form');
common_show_footer(); common_show_footer();
} }