X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fclasses%2Frdf.class.php;h=9c9a0a2ff0d5ee108ad9784a3158de2ef9999a5d;hp=95190ff85bdafb28e2185127d6f4cd56266a8a60;hb=4b7f401f2a4680ae46ca41c57f749cfe35163660;hpb=3deb4216cd947c4eb14b0a9e3b9f637ca25e77d3
diff --git a/inc/classes/rdf.class.php b/inc/classes/rdf.class.php
index 95190ff85b..9c9a0a2ff0 100644
--- a/inc/classes/rdf.class.php
+++ b/inc/classes/rdf.class.php
@@ -414,6 +414,8 @@ class fase4_rdf {
*/
function finish($return = false)
{
+ $this->out = str_replace('$', '$', $this->out);
+
if (!$return) {
echo $this->out;
} else {
@@ -664,7 +666,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 .= "";
@@ -693,7 +695,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':
@@ -709,7 +711,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))
{
@@ -805,7 +807,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";
@@ -1023,7 +1025,7 @@ class fase4_rdf {
$_cache_f = $this->_cache_dir.$this->_cached_file;
- if ( (!file_exists($_cache_f)) || (filemtime($_cache_f) < $this->_refresh) || (filesize($_cache_f) == '0')) {
+ if ( (!file_exists($_cache_f)) || (filemtime($_cache_f) < $this->_refresh) || (filesize($_cache_f) == 0)) {
// We have to parse the remote file
$this->_use_cached_file = false;
// --> we want to provide proper Information for Use in
@@ -1383,7 +1385,7 @@ class fase4_rdf {
}
$i++;
}
- if ((count($dummy) > 0) && (count($reply) == '0') && (!$isContent)) {
+ if ((count($dummy) > 0) && (count($reply) == 0) && (!$isContent)) {
// Transfer content from dummy
$reply = $content;
}