1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

GUI fixes

This commit is contained in:
Cameron
2015-02-07 12:56:16 -08:00
parent 25b96411e0
commit 2d29b7a739
6 changed files with 177 additions and 116 deletions

View File

@@ -110,6 +110,23 @@ class adminlog_admin extends e_admin_dispatcher
);
protected $menuTitle = ADLAN_155;
function init()
{
e107::css('inline', "
.fa { font-size:130% }
.fa-question-circle { }
.fa-exclamation-circle { color: #FAA732 }
.fa-warning { color: red }
");
}
}
@@ -487,6 +504,7 @@ class admin_log_form_ui extends e_admin_form_ui
// Custom Method/Function
function dblog_type($curVal,$mode)
{
$tp = e107::getParser();
/*
define("E_LOG_INFORMATIVE", 0); // Minimal Log Level, including really minor stuff
define("E_LOG_NOTICE", 1); // More important than informative, but less important than notice
@@ -503,8 +521,9 @@ class admin_log_form_ui extends e_admin_form_ui
' ' // Plugin information - Deprecated - Leave empty.
);
$array[1] = $tp->toGlyph('fa-question-circle');
$array[2] = $tp->toGlyph('fa-exclamation-circle');
$array[3] = $tp->toGlyph('fa-warning');
switch($mode)
{