require_once('include/message.php');
-if(! function_exists('wallmessage_post')) {
function wallmessage_post(&$a) {
$replyto = get_my_url();
$body = str_replace("\r\n","\n",$body);
$body = str_replace("\n\n","\n",$body);
-
+
$ret = send_wallmessage($user, $body, $subject, $replyto);
switch($ret){
}
// goaway($a->get_baseurl() . '/profile/' . $user['nickname']);
+
}
-}
-if(! function_exists('wallmessage_content')) {
+
function wallmessage_content(&$a) {
if(! get_my_url()) {
'$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'),
return $o;
}
-}