body) ?>... more
diff --git a/system/includes/functions.php b/system/includes/functions.php index 0fbcb78..4cff6c3 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -792,7 +792,7 @@ function get_description($string) } // Get the teaser -function get_teaser($text, $url) +function get_teaser($text) { $teaserType = config('teaser.type'); @@ -802,8 +802,7 @@ function get_teaser($text, $url) $string = preg_replace('/\s\s+/', ' ', strip_tags($text)); $string = substr($string, 0, config('teaser.char')); $string = substr($string, 0, strrpos($string, ' ')); - $body = $string . '...' . ' more'; - echo '
' . $body . '
'; + echo $string; } } @@ -919,16 +918,16 @@ function disqus($title = null, $url = null) $comment = config('comment.system'); $disqus = config('disqus.shortname'); $script = <<