X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwallmessage.php;h=8642624a476e4b75c3c0f7dbb99cf5ba0e5ebbab;hb=13150c09a56de662677ee17a1614a2ee55931890;hp=a01dfd2b9f7fde6f4f518899456be6fe4b8fb10b;hpb=0c67c89715df801e0c887be50c9739db3bae7ca3;p=friendica.git diff --git a/mod/wallmessage.php b/mod/wallmessage.php index a01dfd2b9f..8642624a47 100644 --- a/mod/wallmessage.php +++ b/mod/wallmessage.php @@ -2,7 +2,6 @@ require_once('include/message.php'); -if(! function_exists('wallmessage_post')) { function wallmessage_post(&$a) { $replyto = get_my_url(); @@ -69,11 +68,11 @@ function wallmessage_post(&$a) { info( t('Message sent.') . EOL ); } -// goaway($a->get_baseurl() . '/profile/' . $user['nickname']); -} + goaway('profile/'.$user['nickname']); + } -if(! function_exists('wallmessage_content')) { + function wallmessage_content(&$a) { if(! get_my_url()) { @@ -135,9 +134,9 @@ function wallmessage_content(&$a) { '$nickname' => $user['nickname'], '$linkurl' => t('Please enter a link URL:') )); + - - + $tpl = get_markup_template('wallmessage.tpl'); $o .= replace_macros($tpl,array( '$header' => t('Send Private Message'), @@ -159,4 +158,3 @@ function wallmessage_content(&$a) { return $o; } -}