]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix submit button for avatar
authorEvan Prodromou <evan@prodromou.name>
Wed, 28 May 2008 14:14:32 +0000 (10:14 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 28 May 2008 14:14:32 +0000 (10:14 -0400)
darcs-hash:20080528141432-84dde-df546c7e7d79cb753934cdb002859587b7ed2a81.gz

actions/avatar.php

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