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

Rework and simplification of the 'powered by' menu when using Bootstrap themes.

This commit is contained in:
Cameron
2014-01-10 09:33:04 -08:00
parent 479a9c503b
commit ed5634574f

View File

@@ -16,6 +16,18 @@
if (!defined('e107_INIT')) { exit; }
$text = "
<div id='powered-by-menu' class='text-center'>
<a href='http://e107.org' rel='external'>
<img class='img-responsive' src='".e_IMAGE_ABS."admin_images/credits_logo.png' alt='e107' style='max-width:100%' />
</a>
</div>
";
if(!deftrue("BOOTSTRAP")) // Old Legacy Code.
{
$text = "
<div style='text-align: center'>
<div class='spacer'>
@@ -28,5 +40,8 @@ $text = "
<a href='http://mysql.com' rel='external'><img src='".e_IMAGE_ABS."generic/poweredbymysql-88.png' alt='MySQL' style='border: 0px; width: 88px; height: 31px' /></a>
</div>
</div>";
}
$ns -> tablerender(POWEREDBY_L1, $text, 'powered_by');
?>