diff options
author | kondou <kondou@ts.unde.re> | 2013-08-17 11:01:47 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-25 21:05:40 +0200 |
commit | 9c12da6a94578002aef016d7196a78acf2623eb7 (patch) | |
tree | 603c0a43ba7374eb8951272d879edc8df0774f55 /settings/templates/personal.php | |
parent | d7e6c77e208f561f994ce7b9f2274fb30b75049f (diff) | |
download | nextcloud-server-9c12da6a94578002aef016d7196a78acf2623eb7.tar.gz nextcloud-server-9c12da6a94578002aef016d7196a78acf2623eb7.zip |
Several improvements
- Don't use gravatars default avatars
- Use "profile image" instead of "avatar"
- Use <p> instead of tables
- Ease updateAvatar()
- Actually return something in \OCP\Avatar
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r-- | settings/templates/personal.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 93aaa5ac1e7..e047ff9dcc9 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -86,18 +86,18 @@ if($_['passwordChangeSupported']) { <?php if ($_['avatar'] !== "none"): ?> <form id="avatar" method="post" action="<?php p(\OC_Helper::linkToRoute('settings_ajax_newavatar')); ?>"> <fieldset class="personalblock"> - <legend><strong><?php p($l->t('Avatar')); ?></strong></legend> + <legend><strong><?php p($l->t('Profile Image')); ?></strong></legend> <img src="<?php print_unescaped(link_to('', 'avatar.php').'?user='.OC_User::getUser().'&size=128'); ?>"><br> <?php if ($_['avatar'] === "local"): ?> - <em><?php p($l->t('Your avatar has to be a square and either a PNG or JPG image')); ?></em><br> - <div class="inlineblock button" id="uploadavatarbutton"><?php p($l->t('Upload a new avatar')); ?></div> + <em><?php p($l->t('Your profile image has to be a square and either a PNG or JPG image')); ?></em><br> + <div class="inlineblock button" id="uploadavatarbutton"><?php p($l->t('Upload a new image')); ?></div> <input type="file" class="hidden" name="files[]" id="uploadavatar"> - <div class="inlineblock button" id="selectavatar"><?php p($l->t('Select a new avatar from your files')); ?></div> - <div class="inlineblock button" id="removeavatar"><?php p($l->t('Remove my avatar')); ?></div> + <div class="inlineblock button" id="selectavatar"><?php p($l->t('Select a new image from your files')); ?></div> + <div class="inlineblock button" id="removeavatar"><?php p($l->t('Remove my image')); ?></div> <?php elseif ($_['avatar'] === "gravatar"): ?> - <em><?php p($l->t('Your avatar is provided by gravatar, which is based on your Email.')); ?></em> + <em><?php p($l->t('Your profile image is provided by gravatar, which is based on your Email.')); ?></em> <?php else: ?> - <em><?php p($l->t('Your avatar is provided by a custom service, ask your administrator, on how to change your avatar.')); ?></em> + <em><?php p($l->t('Your profile image is provided by a custom service, ask your administrator, on how to change your image.')); ?></em> <?php endif; ?> </fieldset> </form> |