$body = str_replace("\r\n","\n",$body);
$body = str_replace("\n\n","\n",$body);
$body = str_replace("\r\n","\n",$body);
$body = str_replace("\n\n","\n",$body);
$ret = send_wallmessage($user, $body, $subject, $replyto);
switch($ret){
$ret = send_wallmessage($user, $body, $subject, $replyto);
switch($ret){
'$nickname' => $user['nickname'],
'$linkurl' => t('Please enter a link 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'),
$tpl = get_markup_template('wallmessage.tpl');
$o .= replace_macros($tpl,array(
'$header' => t('Send Private Message'),