use 'text-xxx' class from bootstrap instead of own classes

This commit is contained in:
Uwe Steinmann 2020-09-22 11:25:44 +02:00
parent f0bdb0fda3
commit 28d45c0270

View File

@ -102,12 +102,12 @@ class SeedDMS_View_ImportUsers extends SeedDMS_Bootstrap_Style {
if(isset($newuser['__logs__'])) {
foreach($newuser['__logs__'] as $item) {
$class = $item['type'] == 'success' ? 'success' : 'error';
echo "<i class=\"fa fa-circle ".$class."\"></i> ".htmlspecialchars($item['msg'])."<br />";
echo "<i class=\"fa fa-circle text-".$class."\"></i> ".htmlspecialchars($item['msg'])."<br />";
}
}
foreach($log[$uhash] as $item) {
$class = $item['type'] == 'success' ? 'success' : 'error';
echo "<i class=\"fa fa-circle ".$class."\"></i> ".htmlspecialchars($item['msg'])."<br />";
echo "<i class=\"fa fa-circle text-".$class."\"></i> ".htmlspecialchars($item['msg'])."<br />";
}
echo "</td>";
echo "</tr>\n";