mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Support FontAwesome in NextPrev
This commit is contained in:
@@ -87,12 +87,22 @@ function nextprev_shortcode($parm = '')
|
|||||||
$check_render = true;
|
$check_render = true;
|
||||||
|
|
||||||
if(vartrue($parm['glyphs']) && (deftrue('BOOTSTRAP')))
|
if(vartrue($parm['glyphs']) && (deftrue('BOOTSTRAP')))
|
||||||
|
{
|
||||||
|
if(deftrue('FONTAWESOME'))
|
||||||
|
{
|
||||||
|
$LAN_NP_FIRST = $tp->toGlyph('fa-fast-backward');
|
||||||
|
$LAN_NP_PREVIOUS = $tp->toGlyph('fa-backward');
|
||||||
|
$LAN_NP_NEXT = $tp->toGlyph('fa-forward');
|
||||||
|
$LAN_NP_LAST = $tp->toGlyph('fa-fast-forward');
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
$LAN_NP_FIRST = $tp->toGlyph("icon-fast-backward.glyph",false);
|
$LAN_NP_FIRST = $tp->toGlyph("icon-fast-backward.glyph",false);
|
||||||
$LAN_NP_PREVIOUS = $tp->toGlyph("icon-backward.glyph",false);
|
$LAN_NP_PREVIOUS = $tp->toGlyph("icon-backward.glyph",false);
|
||||||
$LAN_NP_NEXT = $tp->toGlyph("icon-forward.glyph",false);
|
$LAN_NP_NEXT = $tp->toGlyph("icon-forward.glyph",false);
|
||||||
$LAN_NP_LAST = $tp->toGlyph("icon-fast-forward",false);
|
$LAN_NP_LAST = $tp->toGlyph("icon-fast-forward",false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$LAN_NP_FIRST = LAN_NP_FIRST;
|
$LAN_NP_FIRST = LAN_NP_FIRST;
|
||||||
|
Reference in New Issue
Block a user