1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:45:56 +00:00

prefs: move more global functions into matching classes

This commit is contained in:
Andrew Dolgov
2018-12-02 15:30:07 +03:00
parent 50a4c2d723
commit 58e54282d3
5 changed files with 217 additions and 267 deletions

View File

@@ -26,7 +26,7 @@ class Pref_System extends Handler_Protected {
function index() {
print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">";
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Error Log')."\">";
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Event Log')."\">";
if (LOG_DESTINATION == "sql") {
@@ -40,7 +40,7 @@ class Pref_System extends Handler_Protected {
onclick=\"updateSystemList()\">".__('Refresh')."</button> ";
print "&nbsp;<button dojoType=\"dijit.form.Button\"
onclick=\"clearSqlLog()\">".__('Clear log')."</button> ";
class=\"btn-danger\" onclick=\"Prefs.clearEventLog()\">".__('Clear')."</button> ";
print "<p><table width=\"100%\" cellspacing=\"10\" class=\"prefErrorLog\">";