".str_replace("\n", "\n>", $message); $message = "\n\n\n".$message; } } // init template-instance tmplInitializeInstance($cfg["theme"], "page.message.tmpl"); // set vars $tmpl->setvar('to_user', $to_user); $tmpl->setvar('user', $cfg["user"]); $tmpl->setvar('message', $message); // $tmpl->setvar('_TO', $cfg['_TO']); $tmpl->setvar('_FROM', $cfg['_FROM']); $tmpl->setvar('_YOURMESSAGE', $cfg['_YOURMESSAGE']); $tmpl->setvar('_SEND', $cfg['_SEND']); $tmpl->setvar('_SENDTOALLUSERS', $cfg['_SENDTOALLUSERS']); $tmpl->setvar('_FORCEUSERSTOREAD', $cfg['_FORCEUSERSTOREAD']); // tmplSetTitleBar($cfg["pagetitle"].' - '.$cfg['_SENDMESSAGETITLE']); tmplSetFoot(); tmplSetIidVars(); // parse template $tmpl->pparse(); ?>