From d6e5706d7e127c747a9ff4dd092676fadf616af3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Aug 2006 05:52:32 +0100 Subject: new option: REVERSE_HEADLINES (closes #97) --- functions.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 65b374e1b..e0f2cd5ee 100644 --- a/functions.php +++ b/functions.php @@ -2105,8 +2105,12 @@ } else { $query_strategy_part = "id > 0"; // dumb } - - $order_by = "updated DESC"; + + if (get_pref($link, 'REVERSE_HEADLINES')) { + $order_by = "updated"; + } else { + $order_by = "updated DESC"; + } $feed_title = ""; -- cgit v1.2.3