mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Added a button to allow closing of "Developer Mode" alert message. Fixed default button styling of some news buttons under Bootstrap 5.
This commit is contained in:
@@ -821,7 +821,7 @@ e107::getDebug()->logTime('Render Other');
|
||||
|
||||
if(ADMIN && $pref['developer'] && (strpos(e_SELF,'localhost') === false) && (strpos(e_SELF,'127.0.0.1') === false))
|
||||
{
|
||||
echo "<div class='installer alert alert-danger alert-block text-center'>".e107::getParser()->toHTML(LAN_DEVELOPERMODE_CHECK, true)."</div>";
|
||||
echo "<div class='installer alert alert-danger alert-block alert-dismissible text-center'>".e107::getParser()->toHTML(LAN_DEVELOPERMODE_CHECK, true)."<button type='button' class='close btn-close' data-bs-dismiss='alert' data-dismiss='alert' aria-label='".LAN_CLOSE."'></button></div>";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user