aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-01 00:59:35 -0700
committerfriendica <info@friendica.com>2012-04-01 00:59:35 -0700
commit5c2fdc795fc5273176a7f81d989ad06e16945f1c (patch)
tree88f277d576d6b6af459eab8759792e59bc6f7281 /boot.php
parentea10bba14711d26dfbefcd83659bb60ae6587e26 (diff)
downloadvolse-hubzilla-5c2fdc795fc5273176a7f81d989ad06e16945f1c.tar.gz
volse-hubzilla-5c2fdc795fc5273176a7f81d989ad06e16945f1c.tar.bz2
volse-hubzilla-5c2fdc795fc5273176a7f81d989ad06e16945f1c.zip
send unverified private mail using zrl
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index bdd8d4f96..683daf401 100755
--- a/boot.php
+++ b/boot.php
@@ -984,6 +984,12 @@ function profile_sidebar($profile, $block = 0) {
if((remote_user()) && ($_SESSION['visitor_visiting'] == $profile['uid']))
$connect = False;
+ if(get_my_url() && $profile['unkmail'])
+ $wallmessage = t('Message');
+ else
+ $wallmessage = false;
+
+
// show edit profile to yourself
if ($profile['uid'] == local_user()) {
@@ -1066,6 +1072,7 @@ function profile_sidebar($profile, $block = 0) {
$o .= replace_macros($tpl, array(
'$profile' => $profile,
'$connect' => $connect,
+ '$wallmessage' => $wallmessage,
'$location' => template_escape($location),
'$gender' => $gender,
'$pdesc' => $pdesc,