summaryrefslogtreecommitdiff
path: root/actions/avatar.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-28 10:14:32 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-28 10:14:32 -0400
commitabdd82800c667f625554861631b6f7a2dd4e6679 (patch)
tree429410a3abce38b8cd8c5d6eb84b9cd3db45ad08 /actions/avatar.php
parentde56ccca07e19c5163792c210ff5f6130e91d892 (diff)
fix submit button for avatar
darcs-hash:20080528141432-84dde-df546c7e7d79cb753934cdb002859587b7ed2a81.gz
Diffstat (limited to 'actions/avatar.php')
-rw-r--r--actions/avatar.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/actions/avatar.php b/actions/avatar.php
index 023a8414a..7eed48ddb 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();
}