aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-05-17 13:48:57 +0200
committerSem <sembrestels@riseup.net>2012-05-17 13:48:57 +0200
commitf848e3ada3e29c17cc5028d7d9edad8035706334 (patch)
tree29056a1b1a37d4eb3e43c877464fa360cfc716f1 /views/default
parent3643efd144c3a9190018100665d02ec798989bfd (diff)
downloadelgg-f848e3ada3e29c17cc5028d7d9edad8035706334.tar.gz
elgg-f848e3ada3e29c17cc5028d7d9edad8035706334.tar.bz2
Refs #4396. No revert, remove.
Diffstat (limited to 'views/default')
-rw-r--r--views/default/core/avatar/upload.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/core/avatar/upload.php b/views/default/core/avatar/upload.php
index 29aa59c9c..6f9124192 100644
--- a/views/default/core/avatar/upload.php
+++ b/views/default/core/avatar/upload.php
@@ -12,12 +12,12 @@ $user_avatar = elgg_view('output/img', array(
$current_label = elgg_echo('avatar:current');
-$revert_button = '';
+$remove_button = '';
if ($vars['entity']->icontime) {
- $revert_button = elgg_view('output/url', array(
- 'text' => elgg_echo('revert'),
- 'title' => elgg_echo('avatar:revert'),
- 'href' => 'action/avatar/revert?guid=' . elgg_get_page_owner_guid(),
+ $remove_button = elgg_view('output/url', array(
+ 'text' => elgg_echo('remove'),
+ 'title' => elgg_echo('avatar:remove'),
+ 'href' => 'action/avatar/remove?guid=' . elgg_get_page_owner_guid(),
'is_action' => true,
'class' => 'elgg-button elgg-button-cancel mll',
));
@@ -39,7 +39,7 @@ $image = <<<HTML
<label>$current_label</label><br />
$user_avatar
</div>
-$revert_button
+$remove_button
HTML;
$body = <<<HTML