summaryrefslogtreecommitdiff
path: root/actions/avatarsettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-05 16:02:19 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-05 16:02:19 -0500
commit383e6c730db5808b961f53bf39868053fca1fc32 (patch)
tree02d19dc1d536653fefc5a77cfc8c392a578b0abc /actions/avatarsettings.php
parent7ea136ee1ba350a64b95cd86a386f3e0d0e339d8 (diff)
parentd4bdb2dc1924e2753baa4cf1751acb08b6ed3cae (diff)
Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
Diffstat (limited to 'actions/avatarsettings.php')
-rw-r--r--actions/avatarsettings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/avatarsettings.php b/actions/avatarsettings.php
index 68c6ce701..0f8122c07 100644
--- a/actions/avatarsettings.php
+++ b/actions/avatarsettings.php
@@ -75,7 +75,7 @@ class AvatarsettingsAction extends AccountSettingsAction
function getInstructions()
{
- return _('You can upload your personal avatar.');
+ return _('You can upload your personal avatar. The maximum file size is '.ImageFile::maxFileSize().'.');
}
/**
@@ -155,7 +155,7 @@ class AvatarsettingsAction extends AccountSettingsAction
$this->element('input', array('name' => 'MAX_FILE_SIZE',
'type' => 'hidden',
'id' => 'MAX_FILE_SIZE',
- 'value' => MAX_AVATAR_SIZE));
+ 'value' => ImageFile::maxFileSize(true)));
$this->elementEnd('li');
$this->elementEnd('ul');