mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 21:18:04 +01:00
Support FontAwesome in NextPrev
This commit is contained in:
parent
ff47a5e84b
commit
4eff3a7785
@ -88,10 +88,20 @@ function nextprev_shortcode($parm = '')
|
||||
|
||||
if(vartrue($parm['glyphs']) && (deftrue('BOOTSTRAP')))
|
||||
{
|
||||
$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",false);
|
||||
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_PREVIOUS = $tp->toGlyph("icon-backward.glyph",false);
|
||||
$LAN_NP_NEXT = $tp->toGlyph("icon-forward.glyph",false);
|
||||
$LAN_NP_LAST = $tp->toGlyph("icon-fast-forward",false);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user