add dijit buttons in create filter dialog; code cleanup

master
Andrew Dolgov 14 years ago
parent 33d8b5d091
commit c33f56f3a2

@ -536,10 +536,10 @@
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> ";
print "<button onclick=\"return dijit.byId('filterEditDlg').hide()\">".
print "<button dojoType=\"dijit.form.Button\" onclick=\"return dijit.byId('filterEditDlg').hide()\">".
__('Cancel')."</button>";
print "</div>";

@ -403,17 +403,17 @@
print "</div></div>";
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()\">".
__('Edit')."</button dojoType=\"dijit.form.Button\"> ";
__('Edit')."</button> ";
print "<button dojoType=\"dijit.form.Button\" onclick=\"return removeSelectedFilters()\">".
__('Remove')."</button dojoType=\"dijit.form.Button\"> ";
__('Remove')."</button> ";
if (defined('_ENABLE_FEED_DEBUGGING')) {
print "<button dojoType=\"dijit.form.Button\" onclick=\"rescore_all_feeds()\">".
__('Rescore articles')."</button dojoType=\"dijit.form.Button\"> ";
__('Rescore articles')."</button> ";
}
print "</div>"; # toolbar

Loading…
Cancel
Save