aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php4
1 files changed, 3 insertions, 1 deletions
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'],