summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-16 07:53:55 +0100
committerAndrew Dolgov <[email protected]>2008-05-16 07:53:55 +0100
commitd1628a4fadec849f83c9c1d6fc6f14a712cc3799 (patch)
treeb21590c34f1a82ec407f5aa5430a6c926d6df327
parent07185aeab6d62ffc2b885a84fea3fe7f51d1bea1 (diff)
prefs: add help link for hotkeys
-rw-r--r--images/small_question.pngbin0 -> 699 bytes
-rw-r--r--prefs.php4
-rw-r--r--tt-rss.css10
3 files changed, 14 insertions, 0 deletions
diff --git a/images/small_question.png b/images/small_question.png
new file mode 100644
index 000000000..b47fa3260
--- /dev/null
+++ b/images/small_question.png
Binary files differ
diff --git a/prefs.php b/prefs.php
index 908f66f2c..7266a4b46 100644
--- a/prefs.php
+++ b/prefs.php
@@ -109,6 +109,10 @@ window.onload = init;
<a href="#" onclick="gotoMain()"><?php echo __('Exit preferences') ?></a>
</div> -->
+ <div class='prefKbdHelp'>
+ <img src="images/small_question.png" alt="?"> <a onclick="Element.show('hotkey_help_overlay')">Keyboard shortcuts</a>
+ </div>
+
<div class="firstTab">&nbsp;</div>
<div id="genConfigTab" class="prefsTab"
diff --git a/tt-rss.css b/tt-rss.css
index e12fe5a07..8c137f129 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -1879,3 +1879,13 @@ div#hotkey_help_overlay table.hho td.bottom {
font-size : 11pt;
}
+div.prefKbdHelp {
+ float : right;
+ font-size : 9pt;
+ margin-right : 15px;
+ cursor : pointer;
+}
+
+div.prefKbdHelp img {
+ vertical-align : middle;
+}