add a q shortcut; remove close_article button

master
Andrew Dolgov 12 years ago
parent c2cd348b75
commit 2cda431400

@ -697,11 +697,6 @@ class Feeds extends Handler_Protected {
$reply['content'] .= $p->hook_article_button($line); $reply['content'] .= $p->hook_article_button($line);
} }
$reply['content'] .= "<img src=\"images/close_article.png\"
style=\"cursor : pointer\" style=\"cursor : pointer\"
onclick=\"dismissArticle($id)\"
title='".__('Close article')."'>";
$reply['content'] .= "</div>"; $reply['content'] .= "</div>";
$reply['content'] .= "</div>"; $reply['content'] .= "</div>";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

@ -1998,6 +1998,7 @@
"article_scroll_up" => __("Scroll up"), "article_scroll_up" => __("Scroll up"),
"select_article_cursor" => __("Select article under cursor"), "select_article_cursor" => __("Select article under cursor"),
"email_article" => __("Email article"), "email_article" => __("Email article"),
"close_article" => __("Close article"),
"toggle_widescreen" => __("Toggle widescreen mode")), "toggle_widescreen" => __("Toggle widescreen mode")),
__("Article selection") => array( __("Article selection") => array(
"select_all" => __("Select all articles"), "select_all" => __("Select all articles"),
@ -2057,6 +2058,7 @@
"P" => "article_scroll_up", "P" => "article_scroll_up",
"a W" => "toggle_widescreen", "a W" => "toggle_widescreen",
"e" => "email_article", "e" => "email_article",
"a q" => "close_article",
// "article_selection" => array( // "article_selection" => array(
"a a" => "select_all", "a a" => "select_all",
"a u" => "select_unread", "a u" => "select_unread",
@ -3113,10 +3115,6 @@
$rv['content'] .= $p->hook_article_button($line); $rv['content'] .= $p->hook_article_button($line);
} }
$rv['content'] .= "<img src=\"".theme_image($link, 'images/close_article.png')."\"
class='tagsPic' style=\"cursor : pointer\"
onclick=\"closeArticlePanel($id)\"
title='".__('Close article')."'>";
} else { } else {
$tags_str = strip_tags($tags_str); $tags_str = strip_tags($tags_str);

@ -764,6 +764,9 @@ function hotkey_handler(e) {
case "article_scroll_up": case "article_scroll_up":
scrollArticle(-50); scrollArticle(-50);
return false; return false;
case "close_article":
closeArticlePanel();
return false;
case "email_article": case "email_article":
if (typeof emailArticle != "undefined") { if (typeof emailArticle != "undefined") {
emailArticle(); emailArticle();

Loading…
Cancel
Save