mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01: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:
parent
666459d060
commit
6674beaf82
@ -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>";
|
||||
}
|
||||
|
||||
|
||||
|
@ -139,7 +139,7 @@ $NEWS_TEMPLATE['default']['item'] = '
|
||||
</div>
|
||||
<hr>
|
||||
<div class="options">
|
||||
<div class="btn-group hidden-print">{NEWSCOMMENTLINK: glyph=comments&class=btn btn-default}{PRINTICON: class=btn btn-default}{PDFICON}{SOCIALSHARE}{ADMINOPTIONS: class=btn btn-default}</div>
|
||||
<div class="btn-group hidden-print">{NEWSCOMMENTLINK: glyph=comments&class=btn btn-default btn-secondary}{PRINTICON: class=btn btn-default btn-secondary}{PDFICON}{SOCIALSHARE}{ADMINOPTIONS: class=btn btn-default btn-secondary}</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
Loading…
x
Reference in New Issue
Block a user