From b44d8c51472b4827754a049bc83fb8d5f3eaff4c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 11 Jan 2008 08:18:19 +0100 Subject: [PATCH] label help tweaks --- help/1.php | 6 +++--- modules/popup-dialog.php | 2 ++ modules/pref-labels.php | 2 ++ utility.css | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/help/1.php b/help/1.php index b0dfb63e..28b742e0 100644 --- a/help/1.php +++ b/help/1.php @@ -6,15 +6,15 @@

Match all unread articles:

-
unread = true
+unread = true

Matches all articles which mention Linux in the title:

-
ttrss_entries.title like '%Linux%'
+ttrss_entries.title like '%Linux%'

Matches all articles for the last week (PostgreSQL):

-
updated > NOW() - INTERVAL '7 days'
+updated > NOW() - INTERVAL '7 days'

See the database schema here or included in the distribution package for gruesome details. The relevant tables are ttrss_entries and ttrss_user_entries.

diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index a63c65f5..1dc38197 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -236,9 +236,11 @@ print "
"; + print "
"; print " "; + print "
"; print " "; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index b7124f01..65948ce4 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -56,9 +56,11 @@ print "
"; + print "
"; print " "; + print "
"; $is_disabled = (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== FALSE) ? "disabled" : ""; diff --git a/utility.css b/utility.css index 54e75bab..bdda169e 100644 --- a/utility.css +++ b/utility.css @@ -7,7 +7,7 @@ p.warning { color : red; } -p.query { +p.query, code { color : green; }