--- mambo/branches/4.6/includes/mambofunc.php 2006/02/07 18:03:58 238 +++ mambo/branches/4.6/includes/mambofunc.php 2006/02/12 23:49:56 266 @@ -19,10 +19,12 @@ $from = mamboCore::get('mosConfig_mailfrom'); $fromname = mamboCore::get('mosConfig_fromname'); $subject = sprintf(T_("User Submitted '%s'"), $type); - $message = sprintf(T_('Hello %s,\n\n\nA user submitted %s:\n [ %s ]\n has been just been submitted by user:\n [ %s ]\n' -.' for %.\n\n\n\n' -.'Please go to %s/administrator to view and approve this %s.\n\n' -.'Please do not respond to this message as it is automatically generated and is for information purposes only\n'),$adminName ,$type, $title, $author, $mosConfig_live_site, $mosConfig_live_site, $type); + $message = T_("Hello %s,\n\n +A user submitted %s:\n[ %s ]\n +has been just been submitted by user:\n[ %s ]\n\n +for %\n\nPlease go to %s/administrator to view and approve this %s\n\n +Please do not respond to this message as it is automatically generated and is for information purposes only."); + $message = sprintf($message, $adminName ,$type, $title, $author, $mosConfig_live_site, $mosConfig_live_site, $type); require_once(mamboCore::get('mosConfig_absolute_path').'/includes/phpmailer/class.phpmailer.php'); $mail =& new mosMailer ($from, $fromname, $subject, $message); return $mail->mosMail($adminEmail);