X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Frdf.class.php;h=d71ca447ddf44edfcb840da6425970e7136f5ff4;hb=d9053b0404cef721fb3e947cd88146891863653d;hp=4ae354b7028c73e0ba913fe99aba6b4173792a13;hpb=d495bd859975d08ee459d03c9b1cd51dd9b9304d;p=mailer.git diff --git a/inc/classes/rdf.class.php b/inc/classes/rdf.class.php index 4ae354b702..d71ca447dd 100644 --- a/inc/classes/rdf.class.php +++ b/inc/classes/rdf.class.php @@ -419,7 +419,6 @@ class fase4_rdf { } else { return $this->out; } - flush(); $this->_garbage_collection(); } @@ -665,7 +664,7 @@ class fase4_rdf { } $this->_output .= "_citem['link']."\" "; if(isset($this->_link_target)) { $this->_output .= "target=\"".$this->_link_target."\" "; } - $this->_output .= ">".$this->_cut_string($this->_citem['link']).""; + $this->_output .= ">".$this->_cut_string($this->_citem['link']) . ''; $this->_output .= "\n"; $this->_output .= "
\n"; $this->_output .= ""; @@ -694,7 +693,7 @@ class fase4_rdf { $this->_item['link'] = trim($this->_item['link']); if ((!empty($this->_display_opt['refid'])) && (!empty($this->_item['link']))) { - if (!ereg('refid=', $this->_item['link'])) $this->_item['link'] .= '?refid=' . $this->_display_opt['refid']; + if (!isInString('refid=', $this->_item['link'])) $this->_item['link'] .= '?refid=' . $this->_display_opt['refid']; } switch ($name) { case 'item': @@ -710,7 +709,7 @@ class fase4_rdf { // First remove all \n $this->_item['description'] = str_replace('\n', ' ', $this->_item['description']); // Wrap with
\n - $this->_item['description'] = wordwrap($this->_item['description'], $this->_word_wrap, "*
\n"); + $this->_item['description'] = wordwrap($this->_item['description'], $this->_word_wrap, "*
\n"); } elseif (($this->_word_wrap == '0') && (!$this->_use_nl2br)) { @@ -806,7 +805,7 @@ class fase4_rdf { if(isset($this->_link_target)) { $this->_output .= "target=\"".$this->_link_target."\" "; } $this->_output .= "method=\"get\">\n"; $this->_output .= "
".$this->_item['title']."
"; - $this->_output .= strip_tags($this->_item['description'], ', ')."

\n"; + $this->_output .= strip_tags($this->_item['description'], '
, ')."

\n"; $this->_output .= "_item['name']."\"> \n"; $this->_output .= ""; $this->_output .= "\n";