]> git.wh0rd.org Git - tt-rss.git/commitdiff
filter UI tweaks
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 13 Dec 2008 12:24:59 +0000 (13:24 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 13 Dec 2008 12:24:59 +0000 (13:24 +0100)
modules/popup-dialog.php
modules/pref-filters.php

index 10074b1798e6b20c5a4619b5fcda0dbf505296d2..90e537e91316249b15e3ebee4394b87e51f4c99c 100644 (file)
                        print "<span id=\"filter_dlg_date_chk_box\" style=\"display : none\">";                 
                        print "&nbsp;<input class=\"button\"
                                type=\"submit\" onclick=\"return filterDlgCheckDate()\" 
-                               value=\"".__('Check Date')."\">";
+                               value=\"".__('Check date')."\">";
                        print "</span>";
 
                        print "<br/> " . __("on field") . " ";
index a63b8513da6b4fd5f6e13ddc9ec9719af9efa4ac..cfb3194d26674504f80d2cc78c06acc3ac4abf31 100644 (file)
                                                <td width=\"\"><a href=\"javascript:updateFilterList('feed_title')\">".__('Feed')."</a></td>
                                                <td width=\"20%\"><a href=\"javascript:updateFilterList('filter_type')\">".__('Match')."</a></td>
                                                <!-- <td width=\"15%\"><a href=\"javascript:updateFilterList('action_description')\">".__('Action')."</a></td> -->
-                                               <td width=\"20%\"><a href=\"javascript:updateFilterList('action_param')\">".__('Params')."</a></td>"; 
+                                               <td width=\"20%\"><a href=\"javascript:updateFilterList('action_param')\">".__('Action')."</a></td>"; 
 
                                }
 
                                if (!$line["feed_title"]) $line["feed_title"] = __("All feeds");
 
                                if (!$line["action_param"]) {
-                                       $line["action_param"] = "&mdash;";
+                                       #$line["action_param"] = "&mdash;";
                                } else if ($line["action_name"] == "score") {
 
                                        $score_pic = get_score_pic($line["action_param"]);
                                }
        
                                print "<td $onclick>" . $line["filter_type_descr"] . "$inverse_label</td>";
-                               print "<td $onclick>" . $line["action_param"] . "</td>";
+                               print "<td $onclick>" . $line["action_description"] . " " . 
+                                       $line["action_param"] . "</td>";
 
                                print "</tr>";