public static function getContent(&$rs, $absolute_urls = false) { # Not very nice hack but it does the job :) if (isset($GLOBALS['_ctx']) && $GLOBALS['_ctx']->short_feed_items === true) { $_ctx =& $GLOBALS['_ctx']; $c = parent::getContent($rs, $absolute_urls); $c = context::remove_html($c); $c = context::cut_string($c, 350); $c = '<p>' . $c . '... ' . '<em><a href="' . $rs->getURL() . '">' . __('Read') . '</em> ' . html::escapeHTML($rs->post_title) . '</a></p>'; return $c; } if ($rs->core->blog->settings->use_smilies) { return self::smilies(parent::getContent($rs, $absolute_urls), $rs->core->blog); } return parent::getContent($rs, $absolute_urls); }