mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 18:21:30 +00:00
add dijit buttons in create filter dialog; code cleanup
This commit is contained in:
@@ -536,10 +536,10 @@
|
|||||||
|
|
||||||
print "<div class=\"dlgButtons\">";
|
print "<div class=\"dlgButtons\">";
|
||||||
|
|
||||||
print "<button onclick=\"return dijit.byId('filterEditDlg').execute()\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterEditDlg').execute()\">".
|
||||||
__('Create')."</button> ";
|
__('Create')."</button> ";
|
||||||
|
|
||||||
print "<button onclick=\"return dijit.byId('filterEditDlg').hide()\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterEditDlg').hide()\">".
|
||||||
__('Cancel')."</button>";
|
__('Cancel')."</button>";
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|||||||
@@ -403,17 +403,17 @@
|
|||||||
print "</div></div>";
|
print "</div></div>";
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return quickAddFilter()\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return quickAddFilter()\">".
|
||||||
__('Create filter')."</button dojoType=\"dijit.form.Button\"> ";
|
__('Create filter')."</button> ";
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return editSelectedFilter()\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return editSelectedFilter()\">".
|
||||||
__('Edit')."</button dojoType=\"dijit.form.Button\"> ";
|
__('Edit')."</button> ";
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return removeSelectedFilters()\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return removeSelectedFilters()\">".
|
||||||
__('Remove')."</button dojoType=\"dijit.form.Button\"> ";
|
__('Remove')."</button> ";
|
||||||
|
|
||||||
if (defined('_ENABLE_FEED_DEBUGGING')) {
|
if (defined('_ENABLE_FEED_DEBUGGING')) {
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"rescore_all_feeds()\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"rescore_all_feeds()\">".
|
||||||
__('Rescore articles')."</button dojoType=\"dijit.form.Button\"> ";
|
__('Rescore articles')."</button> ";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "</div>"; # toolbar
|
print "</div>"; # toolbar
|
||||||
|
|||||||
Reference in New Issue
Block a user