$this = false;
return false;
}
- $this->body = join("\n",$nntp->body($_id));
+ $this->body = join("\n",$_nntp->body($_id));
if ((isset($this->headers->contentencoding)) &&
(preg_match("/base64/",$this->headers->contentencoding))) {
$this->body = base64_decode($this->body);
// adds prefix
$lines = split("\n",$preresult);
foreach ($lines as $l) {
- $result .= $prefix.(strlen($_prefix)>0?" ":"")."$l\n";
+ $result .= $_prefix.(strlen($_prefix)>0?" ":"")."$l\n";
}
// $result = substr($result,0,-1);
}
case "newsgroups":
$res = "";
$groups = preg_split("/(\t| )*,(\t| )*/",$_text);
- foreach ($_groups as $g) {
+ foreach ($groups as $g) {
$res.='<a href="thread.php?group='.$g.'">'.$g.'</a>, ';
}
return substr($res,0, -2);
$rsl = "";
$ndx = 1;
$text=str_replace("><","> <",$_text);
- $text=preg_split("/( |\t)/",strtr($_text,$_spool->ids));
- $parents=preg_grep("/^\d+$/",$_text);
+ $text=preg_split("/( |\t)/",strtr($text,$_spool->ids));
+ $parents=preg_grep("/^\d+$/",$text);
$p=array_pop($parents);
while ($p) {
$rsl .= "<a href=\"article.php?group={$_spool->group}"