diff --git a/system/includes/functions.php b/system/includes/functions.php index eeebac95..5ad6350a 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -984,7 +984,7 @@ function read_category_info($category) $desc->count = get_categorycount($url); $desc->file = $filename; - + $desc->rss = $desc->url . '/feed'; // Get the contents and convert it to HTML @@ -1035,7 +1035,7 @@ function default_category($category = null) $desc->description = i18n('All_blog_posts') . ': ' . $category; $desc->file = ''; $desc->count = get_categorycount($category); - $desc->rss = $desc->url . '/feed'; + $desc->rss = $desc->url . '/feed'; } return $tmp[] = $desc; @@ -1229,9 +1229,9 @@ function get_author($name) $author->about = MarkdownExtra::defaultTransform(remove_html_comments($content)); $author->description = get_content_tag("d", $content, get_description($author->about)); - + $author->avatar = get_content_tag("image", $content, site_url() . 'system/resources/images/logo-small.png'); - + $author->rss = $author->url . '/feed'; $toc = explode('', $author->about); @@ -2199,15 +2199,15 @@ function get_pagination($totalitems, $page = 1, $perpage = 10, $adjacents = 1, $ $pagination = ''; $curpage = strtok($_SERVER["REQUEST_URI"], '?'); - if($lastpage > 1) + if($lastpage > 1) { $pagination .= '