diff options
author | friendica <info@friendica.com> | 2012-04-01 00:59:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-01 00:59:35 -0700 |
commit | 5c2fdc795fc5273176a7f81d989ad06e16945f1c (patch) | |
tree | 88f277d576d6b6af459eab8759792e59bc6f7281 /boot.php | |
parent | ea10bba14711d26dfbefcd83659bb60ae6587e26 (diff) | |
download | volse-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-x | boot.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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, |