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:
@@ -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 " <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\">";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user