diff --git a/backend.php b/backend.php index 1ffa40863..567bbf7ba 100644 --- a/backend.php +++ b/backend.php @@ -1939,7 +1939,7 @@ print "
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.
- -unread = true- - Matches all unread articles - -
title like '%Linux%'- - Matches all articles which mention Linux in the title. You get the idea. - -
See the database schema included in the distribution package for gruesome - details.
- - - - print ""; + if (file_exists("help/$tid.php")) { + include("help/$tid.php"); + } else { + print "Help topic not found.
"; + } print "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.
+ +Match all unread articles:
+ +unread = true+ +
Matches all articles which mention Linux in the title:
+ +title like '%Linux%'+ +
See the database schema included in the distribution package for gruesome +details.
+ diff --git a/prefs.js b/prefs.js index b69369ba1..5c699f237 100644 --- a/prefs.js +++ b/prefs.js @@ -695,6 +695,16 @@ function labelTest() { } +function displayHelpInfobox(topic_id) { + + xmlhttp.open("GET", "backend.php?op=help&tid=" + + param_escape(topic_id) + "&noheaders=1", true); + + xmlhttp.onreadystatechange=infobox_callback; + xmlhttp.send(null); + +} + function labelEditCancel() { if (!xmlhttp_ready(xmlhttp)) { diff --git a/tt-rss.css b/tt-rss.css index f6f3ae6c5..d7c905734 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -534,6 +534,7 @@ pre { border : 1px solid #c0c0c0; padding : 5px; background : #f0f0f0; + margin : 5px 10px 5px 10px; } input.extSearch {