more actions tweaks

This commit is contained in:
Andrew Dolgov 2009-01-20 18:51:14 +01:00
parent e609c3a4d2
commit 1be62a6855
2 changed files with 13 additions and 3 deletions

View File

@ -4039,19 +4039,19 @@
print "<ul id=\"headlineActionsBody\" style=\"display : none\">"; print "<ul id=\"headlineActionsBody\" style=\"display : none\">";
print "<li><span class=\"insensitive\">".__('Selection toggle:')."</span></li> print "<li class=\"insensitive\">".__('Selection toggle:')."</li>
<li onclick=\"$tog_unread_link\">&nbsp;&nbsp;".__('Unread')."</li> <li onclick=\"$tog_unread_link\">&nbsp;&nbsp;".__('Unread')."</li>
<li onclick=\"$tog_marked_link\">&nbsp;&nbsp;".__('Starred')."</li> <li onclick=\"$tog_marked_link\">&nbsp;&nbsp;".__('Starred')."</li>
<li onclick=\"$tog_published_link\">&nbsp;&nbsp;".__('Published')."</li> <li onclick=\"$tog_published_link\">&nbsp;&nbsp;".__('Published')."</li>
<!-- <li><span class=\"insensitive\">--------</span></li> --> <!-- <li><span class=\"insensitive\">--------</span></li> -->
<li><span class=\"insensitive\">".__('Mark as read:')."</span></li> <li class=\"insensitive\">".__('Mark as read:')."</li>
<li onclick=\"$catchup_sel_link\">&nbsp;&nbsp;".__('Selection')."</li>"; <li onclick=\"$catchup_sel_link\">&nbsp;&nbsp;".__('Selection')."</li>";
print "<li onclick=\"$catchup_feed_link\">&nbsp;&nbsp;".__('Entire feed'). print "<li onclick=\"$catchup_feed_link\">&nbsp;&nbsp;".__('Entire feed').
"</li>"; "</li>";
//print "<li><span class=\"insensitive\">--------</span></li>"; //print "<li><span class=\"insensitive\">--------</span></li>";
print "<li><span class=\"insensitive\">".__('Assign label:')."</span></li>"; print "<li class=\"insensitive\">".__('Assign label:')."</li>";
$result = db_query($link, "SELECT id, caption FROM ttrss_labels2 WHERE $result = db_query($link, "SELECT id, caption FROM ttrss_labels2 WHERE
owner_uid = '".$_SESSION["uid"]."' ORDER BY caption"); owner_uid = '".$_SESSION["uid"]."' ORDER BY caption");

View File

@ -2166,3 +2166,13 @@ ul#headlineActionsBody li:hover {
cursor : pointer; cursor : pointer;
background : #ecf4ff; background : #ecf4ff;
} }
ul#headlineActionsBody li.insensitive {
color : gray;
}
ul#headlineActionsBody li.insensitive:hover {
background : white;
cursor : normal;
color : gray;
}