Hide older / newer entries button for the RSS feed
This commit is contained in:
parent
e8827ce7d4
commit
3587f38bac
8
blog.php
8
blog.php
@ -290,15 +290,17 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($morePosts || $postsSkip > 0)
|
||||
if (!isset($CMS_RSS)) {
|
||||
if ($morePosts == 2 || $postsSkip > 0)
|
||||
echo "<p><table class=\"blognav\"><tr>";
|
||||
if ($morePosts)
|
||||
if ($morePosts == 2)
|
||||
echo '<td><a href="' . "?p=blog$tagSearchUrl&s=" . ($postsPage+1) . '"><< Older posts</a></td>';
|
||||
if ($postsSkip > 0)
|
||||
echo '<td style="text-align:right;"><a href="' . "?p=blog$tagSearchUrl&s=" . ($postsPage-1) . '">Newer posts >></a></td>';
|
||||
if ($morePosts || $postsSkip > 0)
|
||||
if ($morePosts == 2|| $postsSkip > 0)
|
||||
echo "</tr></table></p>";
|
||||
}
|
||||
}
|
||||
if (!isset($CMS_RSS))
|
||||
echo "</blog>";
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user