aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-07 18:22:50 -0700
committerfriendica <info@friendica.com>2014-08-07 18:22:50 -0700
commita7d95108d04d057b6c07984f46647be7d708632a (patch)
tree7cc6039deb1125921f03ea5a8f57f33d6cfd7976
parentf412f6a654992aa79738db23737239ccde6207a6 (diff)
downloadvolse-hubzilla-a7d95108d04d057b6c07984f46647be7d708632a.tar.gz
volse-hubzilla-a7d95108d04d057b6c07984f46647be7d708632a.tar.bz2
volse-hubzilla-a7d95108d04d057b6c07984f46647be7d708632a.zip
cleanup some text where we said "public" or "visible to anybody on the internet" when that isn't necessarily true.
-rw-r--r--include/acl_selectors.php2
-rwxr-xr-xinclude/items.php2
-rw-r--r--mod/profiles.php4
-rw-r--r--view/css/mod_profiles.css8
-rwxr-xr-xview/tpl/profile_edit.tpl4
5 files changed, 12 insertions, 8 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index 8d94264e4..0b68ba227 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -237,7 +237,7 @@ function populate_acl($defaults = null,$show_jotnets = true) {
$tpl = get_markup_template("acl_selector.tpl");
$o = replace_macros($tpl, array(
- '$showall'=> t("Visible to everybody"),
+ '$showall'=> t("Visible to your default audience"),
'$show' => t("Show"),
'$hide' => t("Don't show"),
'$allowcid' => json_encode($allow_cid),
diff --git a/include/items.php b/include/items.php
index 6af92d7e5..b5c28a453 100755
--- a/include/items.php
+++ b/include/items.php
@@ -951,7 +951,7 @@ function map_scope($scope,$strip = false) {
function translate_scope($scope) {
if(! $scope || $scope === 'public')
- return t('Visible to anybody on the internet');
+ return t('Visible to anybody on the internet.');
if(strpos($scope,'self') === 0)
return t('Visible to you only.');
if(strpos($scope,'network:') === 0)
diff --git a/mod/profiles.php b/mod/profiles.php
index bcaae909b..791f93465 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -518,6 +518,7 @@ function profiles_content(&$a) {
$o = '';
+ $channel = $a->get_channel();
if(! local_user()) {
notice( t('Permission denied.') . EOL);
@@ -634,7 +635,8 @@ function profiles_content(&$a) {
'$baseurl' => $a->get_baseurl(true),
'$profile_id' => $r[0]['id'],
'$profile_name' => $r[0]['profile_name'],
- '$default' => (($is_default) ? '<p id="profile-edit-default-desc">' . t('This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet.') . '</p>' : ""),
+ '$is_default' => $is_default,
+ '$default' => t('This is your default profile.') . EOL . translate_scope(map_scope($channel['channel_r_profile'])),
'$advanced' => $advanced,
'$name' => $r[0]['name'],
'$pdesc' => $r[0]['pdesc'],
diff --git a/view/css/mod_profiles.css b/view/css/mod_profiles.css
index 5f930248f..78f8e6cc5 100644
--- a/view/css/mod_profiles.css
+++ b/view/css/mod_profiles.css
@@ -1,8 +1,8 @@
#profile-edit-default-desc {
- color: #FF0000;
- border: 1px solid #FF8888;
- background-color: #FFEEEE;
- padding: 7px;
+ background: none repeat scroll 0 0 orange;
+ font-weight: bold;
+ margin: 10px;
+ padding: 20px 5px 10px;
}
#profile-edit-clone-link-wrapper {
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index b007d54ca..0e902e9e2 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -1,4 +1,6 @@
-{{$default}}
+{{if $is_default}}
+<p id="profile-edit-default-desc">{{$default}}</p>
+{{/if}}
<h1>{{$banner}}</h1>