mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Rework and simplification of the 'powered by' menu when using Bootstrap themes.
This commit is contained in:
parent
479a9c503b
commit
ed5634574f
@ -16,17 +16,32 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
$text = "
|
||||
<div style='text-align: center'>
|
||||
<div class='spacer'>
|
||||
<a href='http://e107.org' rel='external'><img src='".e_IMAGE_ABS."button.png' alt='e107' style='border: 0px; width: 88px; height: 31px' /></a>
|
||||
<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>
|
||||
<div class='spacer'>
|
||||
<a href='http://php.net' rel='external'><img src='".e_IMAGE_ABS."generic/php-small-trans-light.gif' alt='PHP' style='border: 0px; width: 88px; height: 31px' /></a>
|
||||
</div>
|
||||
<div class='spacer'>
|
||||
<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>";
|
||||
";
|
||||
|
||||
|
||||
if(!deftrue("BOOTSTRAP")) // Old Legacy Code.
|
||||
{
|
||||
$text = "
|
||||
<div style='text-align: center'>
|
||||
<div class='spacer'>
|
||||
<a href='http://e107.org' rel='external'><img src='".e_IMAGE_ABS."button.png' alt='e107' style='border: 0px; width: 88px; height: 31px' /></a>
|
||||
</div>
|
||||
<div class='spacer'>
|
||||
<a href='http://php.net' rel='external'><img src='".e_IMAGE_ABS."generic/php-small-trans-light.gif' alt='PHP' style='border: 0px; width: 88px; height: 31px' /></a>
|
||||
</div>
|
||||
<div class='spacer'>
|
||||
<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');
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user