//if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
- $ref_check_qpart = ($max_id) ? "ref_id <= '$max_id'" : "true";
+ $ref_check_qpart = ($max_id &&
+ !get_pref($link, 'REVERSE_HEADLINES')) ? "ref_id <= '$max_id'" : "true";
if (is_numeric($feed)) {
if ($cat_view) {
var max_id = 0;
- if (feed = getActiveFeedId() && is_cat == activeFeedIsCat()) {
+ if (feed == getActiveFeedId() && is_cat == activeFeedIsCat()) {
$$("#headlines-frame > div[id*=RROW]").each(
function(child) {
var id = parseInt(child.id.replace("RROW-", ""));