mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Rework and simplification of the 'powered by' menu when using Bootstrap themes.
This commit is contained in:
@@ -16,17 +16,32 @@
|
|||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
|
|
||||||
$text = "
|
$text = "
|
||||||
<div style='text-align: center'>
|
<div id='powered-by-menu' class='text-center'>
|
||||||
<div class='spacer'>
|
<a href='http://e107.org' rel='external'>
|
||||||
<a href='http://e107.org' rel='external'><img src='".e_IMAGE_ABS."button.png' alt='e107' style='border: 0px; width: 88px; height: 31px' /></a>
|
<img class='img-responsive' src='".e_IMAGE_ABS."admin_images/credits_logo.png' alt='e107' style='max-width:100%' />
|
||||||
|
</a>
|
||||||
</div>
|
</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'>
|
if(!deftrue("BOOTSTRAP")) // Old Legacy Code.
|
||||||
<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>
|
$text = "
|
||||||
</div>";
|
<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');
|
$ns -> tablerender(POWEREDBY_L1, $text, 'powered_by');
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user