tag support in rss
This commit is contained in:
@@ -85,7 +85,7 @@ class BlogFilter {
|
||||
$this->tag = $tagid;
|
||||
} else if ($tag) {
|
||||
if ($tagrec = get_record_sql('SELECT * FROM '.$CFG->prefix.'tags WHERE text LIKE "'.$tag.'"')) {
|
||||
$this->tag = $tagrec -> id;
|
||||
$this->tag = $tagrec->id;
|
||||
} else {
|
||||
$this->tag = -1; //no record found
|
||||
}
|
||||
|
||||
+1
-1
@@ -168,7 +168,7 @@ function blog_print_html_formatted_entries(&$blogFilter, $filtertype, $filtersel
|
||||
// show page next/previous links if applicable
|
||||
print_paging_bar($blogFilter->get_viewable_entry_count(), $blogpage, $bloglimit, $blogFilter->baseurl, 'blogpage');
|
||||
|
||||
blog_rss_print_link($filtertype, $filterselect);
|
||||
blog_rss_print_link($filtertype, $filterselect, $blogFilter->tag);
|
||||
print '</div>';
|
||||
|
||||
if (blog_isLoggedIn()) {
|
||||
|
||||
Reference in New Issue
Block a user