summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-01-11 08:18:19 +0100
committerAndrew Dolgov <[email protected]>2008-01-11 08:18:19 +0100
commitb44d8c51472b4827754a049bc83fb8d5f3eaff4c (patch)
tree8e9a63f080ba8f793233ed8b9c35a75175cfec20
parent6a5efb075cedef567d8356fe57e9d913869fb027 (diff)
label help tweaks
-rw-r--r--help/1.php6
-rw-r--r--modules/popup-dialog.php2
-rw-r--r--modules/pref-labels.php2
-rw-r--r--utility.css2
4 files changed, 8 insertions, 4 deletions
diff --git a/help/1.php b/help/1.php
index b0dfb63e1..28b742e06 100644
--- a/help/1.php
+++ b/help/1.php
@@ -6,15 +6,15 @@
<p>Match all unread articles:</p>
-<pre>unread = true</pre>
+<code>unread = true</code>
<p>Matches all articles which mention Linux in the title:</p>
-<pre>ttrss_entries.title like '%Linux%'</pre>
+<code>ttrss_entries.title like '%Linux%'</code>
<p>Matches all articles for the last week (PostgreSQL):</p>
-<pre>updated &gt; NOW() - INTERVAL '7 days'</pre>
+<code>updated &gt; NOW() - INTERVAL '7 days'</code>
<p>See the database schema <a target="_blank" href="http://tt-rss.org/trac/browser/schema/ttrss_schema_pgsql.sql">here</a> or included in the distribution package for gruesome details. The relevant tables are <b>ttrss_entries</b> and <b>ttrss_user_entries</b>.</p>
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index a63c65f56..1dc381979 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -236,9 +236,11 @@
print "<div align='right'>";
+ print "<div style='float : left'>";
print "<input type=\"submit\"
class=\"button\" onclick=\"return displayHelpInfobox(1)\"
value=\"".__('Help')."\"> ";
+ print "</div>";
print "<input type=\"submit\" onclick=\"labelTest()\" value=\"".__('Test')."\">
";
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index b7124f01c..65948ce43 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -56,9 +56,11 @@
print "<div align='right'>";
+ print "<div style='float : left'>";
print "<input type=\"submit\"
class=\"button\" onclick=\"return displayHelpInfobox(1)\"
value=\"".__('Help')."\"> ";
+ print "</div>";
$is_disabled = (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== FALSE) ? "disabled" : "";
diff --git a/utility.css b/utility.css
index 54e75babe..bdda169ea 100644
--- a/utility.css
+++ b/utility.css
@@ -7,7 +7,7 @@ p.warning {
color : red;
}
-p.query {
+p.query, code {
color : green;
}