aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Module/Cover_photo.php2
-rw-r--r--Zotlabs/Module/Profile_photo.php2
-rwxr-xr-xview/tpl/cover_photo.tpl3
-rwxr-xr-xview/tpl/profile_photo.tpl3
4 files changed, 4 insertions, 6 deletions
diff --git a/Zotlabs/Module/Cover_photo.php b/Zotlabs/Module/Cover_photo.php
index 7dd53ab19..047bcf3d4 100644
--- a/Zotlabs/Module/Cover_photo.php
+++ b/Zotlabs/Module/Cover_photo.php
@@ -366,7 +366,7 @@ class Cover_photo extends \Zotlabs\Web\Controller {
'$embedPhotosModalOK' => t('OK'),
'$form_security_token' => get_form_security_token("cover_photo"),
/// @FIXME - yuk
- '$select' => t('or select an existing photo'),
+ '$select' => t('Select existing photo'),
));
diff --git a/Zotlabs/Module/Profile_photo.php b/Zotlabs/Module/Profile_photo.php
index 6f517b695..c772f0ed3 100644
--- a/Zotlabs/Module/Profile_photo.php
+++ b/Zotlabs/Module/Profile_photo.php
@@ -451,7 +451,7 @@ class Profile_photo extends \Zotlabs\Web\Controller {
'$embedPhotosModalCancel' => t('Cancel'),
'$embedPhotosModalOK' => t('OK'),
'$form_security_token' => get_form_security_token("profile_photo"),
- '$select' => t('or select an existing photo'),
+ '$select' => t('Select existing photo'),
));
call_hooks('profile_photo_content_end', $o);
diff --git a/view/tpl/cover_photo.tpl b/view/tpl/cover_photo.tpl
index 28bc7dc24..f2758b36d 100755
--- a/view/tpl/cover_photo.tpl
+++ b/view/tpl/cover_photo.tpl
@@ -22,9 +22,8 @@
</form>
<br />
<div id="profile-photo-link-select-wrapper">
- {{$select}}
<button id="embed-photo-wrapper" class="btn btn-outline-secondary btn-sm" title="{{$embedPhotos}}" onclick="initializeEmbedPhotoDialog();return false;">
- <i id="embed-photo" class="fa fa-file-image-o jot-icons"></i>
+ <i id="embed-photo" class="fa fa-file-image-o jot-icons"></i> {{$select}}
</button>
</div>
</div>
diff --git a/view/tpl/profile_photo.tpl b/view/tpl/profile_photo.tpl
index 8dc640e35..04d04d549 100755
--- a/view/tpl/profile_photo.tpl
+++ b/view/tpl/profile_photo.tpl
@@ -45,9 +45,8 @@
</form>
<br />
<div id="profile-photo-link-select-wrapper">
- {{$select}}
<button id="embed-photo-wrapper" class="btn btn-outline-secondary btn-sm" title="{{$embedPhotos}}" onclick="initializeEmbedPhotoDialog();return false;">
- <i id="embed-photo" class="fa fa-file-image-o jot-icons"></i>
+ <i id="embed-photo" class="fa fa-file-image-o jot-icons"></i> {{$select}}
</button>
</div>
</div>