Hide older / newer entries button for the RSS feed
This commit is contained in:
parent
e8827ce7d4
commit
3587f38bac
18
blog.php
18
blog.php
@ -290,14 +290,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($morePosts || $postsSkip > 0)
|
||||
echo "<p><table class=\"blognav\"><tr>";
|
||||
if ($morePosts)
|
||||
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)
|
||||
echo "</tr></table></p>";
|
||||
if (!isset($CMS_RSS)) {
|
||||
if ($morePosts == 2 || $postsSkip > 0)
|
||||
echo "<p><table class=\"blognav\"><tr>";
|
||||
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 == 2|| $postsSkip > 0)
|
||||
echo "</tr></table></p>";
|
||||
}
|
||||
}
|
||||
if (!isset($CMS_RSS))
|
||||
echo "</blog>";
|
||||
|
Loading…
Reference in New Issue
Block a user