From: Evan Prodromou Date: Wed, 28 May 2008 14:14:32 +0000 (-0400) Subject: fix submit button for avatar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=abdd82800c667f625554861631b6f7a2dd4e6679;p=quix0rs-gnu-social.git fix submit button for avatar darcs-hash:20080528141432-84dde-df546c7e7d79cb753934cdb002859587b7ed2a81.gz --- diff --git a/actions/avatar.php b/actions/avatar.php index 023a8414a1..7eed48ddb2 100644 --- a/actions/avatar.php +++ b/actions/avatar.php @@ -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(); }