From 01c9c74ab7a1a961d38dfe8201fcb0b17d795ae8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Nov 2005 11:56:53 +0100 Subject: label help uses infoboxes, real help system --- backend.php | 61 +++++++++++++++++++++---------------------------------------- 1 file changed, 21 insertions(+), 40 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 1ffa40863..567bbf7ba 100644 --- a/backend.php +++ b/backend.php @@ -1939,7 +1939,7 @@ print " SelectSQL expression - (?) + (?) Caption"; @@ -2044,53 +2044,34 @@ } if ($op == "help") { - print " - Tiny Tiny RSS : Help - - - - "; + if (!$_GET["noheaders"]) { + print " + Tiny Tiny RSS : Help + + + + "; + } $tid = sprintf("%d", $_GET["tid"]); - /* FIXME this badly needs real implementation */ - - print "
"; - - ?> - -

Help for SQL expressions

- -

Description

- -

The «SQL expression» is added to WHERE clause of - view feed query. You can match on ttrss_entries table fields - and even use subselect to query additional information. This - functionality is considered to be advanced and requires basic - understanding of SQL.

- -

Examples

- -
unread = true
- - Matches all unread articles - -
title like '%Linux%'
- - Matches all articles which mention Linux in the title. You get the idea. + print "
"; -

See the database schema included in the distribution package for gruesome - details.

+ if (file_exists("help/$tid.php")) { + include("help/$tid.php"); + } else { + print "

Help topic not found.

"; + } - "; print "
- (Close this window)
"; - - print "
"; +
"; - print ""; + if (!$_GET["noheaders"]) { + print ""; + } } -- cgit v1.2.3-54-g00ecf