- function show_top($arr) {
- $msg = $arr[0];
- $success = $arr[1];
- if ($msg) {
- $this->message($msg, $success);
- } else {
- common_element('div', 'instructions',
- _t('Upload a new "avatar" (user image) here. ' .
- 'You can\'t edit the picture after you upload it, so ' .
- 'make sure it\'s more or less square. ' .
- 'It must be under the site license, also. ' .
- 'Use a picture that belongs to you and that you ' .
- 'want to share.'));
- }
- $this->settings_menu();
+ function get_instructions() {
+ return _t('Upload a new "avatar" (user image) here. ' .
+ 'You can\'t edit the picture after you upload it, so ' .
+ 'make sure it\'s more or less square. ' .
+ 'It must be under the site license, also. ' .
+ 'Use a picture that belongs to you and that you ' .
+ 'want to share.');