]> git.wh0rd.org - tt-rss.git/commitdiff
correct help for labels
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 1 Aug 2006 08:04:38 +0000 (09:04 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 1 Aug 2006 08:04:38 +0000 (09:04 +0100)
backend.php
help/1.php

index 8b031affad8f93e529ea83cda0975f517bdc4e80..292f5e615ffb3bd4ed1dc9d3a908c890f2409c0e 100644 (file)
 
                if ($subop == "test") {
 
-                       $expr = trim($_GET["expr"]);
-                       $descr = trim($_GET["descr"]);
+                       $expr = db_unescape_string(trim($_GET["expr"]));
+                       $descr = db_unescape_string(trim($_GET["descr"]));
 
                        print "<div id=\"infoBoxTitle\">Test label: $descr</div>";
 
index b6174812a121dbf3a6bb749a2d892526b296dd25..3fd598f34c3c73f5e1c3fcaf2b1e9066338d6834 100644 (file)
 
 <p>Match all unread articles:</p>
 
-<pre>unread = true</pre>
+<pre>ttrss_user_entries.unread = true</pre>
 
 <p>Matches all articles which mention Linux in the title:</p>
 
-<pre>title like '%Linux%'</pre>
+<pre>ttrss_user_entries.title like '%Linux%'</pre>
 
 <p>See the database schema included in the distribution package for gruesome
 details.</p>