mirror of
https://github.com/e107inc/e107.git
synced 2025-06-07 19:35:47 +02:00
Update viewforum_shortcodes.php
This commit is contained in:
parent
00899a0da9
commit
b6d3c46c5c
@ -80,16 +80,9 @@
|
|||||||
global $forum;
|
global $forum;
|
||||||
$jumpList = $forum->forumGetAllowed('view');
|
$jumpList = $forum->forumGetAllowed('view');
|
||||||
|
|
||||||
|
$text = '<div class="btn-group">'.
|
||||||
$text = '<div class="btn-group">';
|
($this->var['ntUrl']?<a href="'.$this->var['ntUrl'].'" class="btn btn-primary">'.LAN_FORUM_1018.'</a>:LAN_FORUM_1001." ".LAN_FORUM_8013).
|
||||||
|
'<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
|
||||||
if(!empty($this->var['ntUrl']))
|
|
||||||
{
|
|
||||||
$text .= '<a href="' . $this->var['ntUrl'] . '" class="btn btn-primary">' . LAN_FORUM_1018 . '</a>';
|
|
||||||
}
|
|
||||||
|
|
||||||
$text .= '
|
|
||||||
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
|
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu pull-right">
|
<ul class="dropdown-menu pull-right">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user