*/
function finish($return = false)
{
+ $this->out = str_replace('$', '$', $this->out);
+
if (!$return) {
echo $this->out;
} else {
$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':
$_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
}
$i++;
}
- if ((count($dummy) > 0) && (count($reply) == '0') && (!$isContent)) {
+ if ((count($dummy) > 0) && (count($reply) == 0) && (!$isContent)) {
// Transfer content from dummy
$reply = $content;
}