1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Issue #435 - More Bootstrap3 styling fixes. Login-menu shortcodes updated to v2 spec.

This commit is contained in:
Cameron
2013-12-21 06:23:22 -08:00
parent e2d67d8ecd
commit c3e93fb34d
16 changed files with 419 additions and 333 deletions

View File

@@ -0,0 +1,7 @@
<?php
function alerts_shortcode($parm = '')
{
return e107::getMessage()->render();
}

View File

@@ -76,12 +76,12 @@ function nextprev_shortcode($parm = '')
$total_items = intval($parm['total']);
$check_render = true;
if(vartrue($parm['glyphs']) && (BOOTSTRAP === true))
if(vartrue($parm['glyphs']) && (deftrue('BOOTSTRAP')))
{
$LAN_NP_FIRST = "<i class='icon-fast-backward'></i>";
$LAN_NP_PREVIOUS = "<i class='icon-backward'></i>";
$LAN_NP_NEXT = "<i class='icon-forward'></i>";
$LAN_NP_LAST = "<i class='icon-fast-forward'></i>";
$LAN_NP_FIRST = $tp->toGlyph("icon-fast-backward.glyph",false);
$LAN_NP_PREVIOUS = $tp->toGlyph("icon-backward.glyph",false);
$LAN_NP_NEXT = $tp->toGlyph("icon-forward.glyph",false);
$LAN_NP_LAST = $tp->toGlyph("icon-fast-forward.glyph",false);
}
else
{

View File

@@ -716,7 +716,7 @@ if ($e107_popup != 1) {
}
//XXX TODO LAN in English.php
echo "<noscript><div class='alert alert-block alert-error'><strong>This web site requires that javascript be enabled. <a rel='external' href='http://activatejavascript.org'>Click here for instructions.</a>.</strong></div></noscript>";
echo "<noscript><div class='alert alert-block alert-error alert-danger'><strong>This web site requires that javascript be enabled. <a rel='external' href='http://activatejavascript.org'>Click here for instructions.</a>.</strong></div></noscript>";
if(deftrue('BOOTSTRAP'))
{