]> git.wh0rd.org - tt-rss.git/commitdiff
prefs: add help link for hotkeys
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 May 2008 06:53:55 +0000 (07:53 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 16 May 2008 06:53:55 +0000 (07:53 +0100)
images/small_question.png [new file with mode: 0644]
prefs.php
tt-rss.css

diff --git a/images/small_question.png b/images/small_question.png
new file mode 100644 (file)
index 0000000..b47fa32
Binary files /dev/null and b/images/small_question.png differ
index 908f66f2cce3332acaa98e5391fe4c77c38dca6e..7266a4b4608b9d5839a83c50cebd5e1342bb23fd 100644 (file)
--- 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" 
index e12fe5a0787e98079bb4d776aeb9696dc44bfc7d..8c137f1298622b05c25d3bd9f09f42c3b0de636e 100644 (file)
@@ -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;
+}