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:
7
e107_core/shortcodes/single/alerts.php
Normal file
7
e107_core/shortcodes/single/alerts.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
function alerts_shortcode($parm = '')
|
||||
{
|
||||
return e107::getMessage()->render();
|
||||
}
|
@@ -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
|
||||
{
|
||||
|
@@ -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'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user