mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Forum fixes
This commit is contained in:
@@ -778,7 +778,7 @@ function newthreadjump($url)
|
||||
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<ul class="dropdown-menu pull-right">
|
||||
';
|
||||
|
||||
foreach($jumpList as $key => $val)
|
||||
|
@@ -286,7 +286,7 @@ function forumbuttons($thread)
|
||||
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<ul class="dropdown-menu pull-right">
|
||||
';
|
||||
|
||||
foreach($options as $key => $val)
|
||||
@@ -344,8 +344,6 @@ foreach ($postList as $postInfo)
|
||||
$e_hide_hidden = FORLAN_HIDDEN;
|
||||
$e_hide_allowed = USER;
|
||||
|
||||
|
||||
|
||||
if ($tnum > 1)
|
||||
{
|
||||
$postInfo['thread_start'] = false;
|
||||
|
@@ -51,7 +51,15 @@ class plugin_forum_view_shortcodes extends e_shortcode
|
||||
return $this->postInfo['post_id'];
|
||||
}
|
||||
|
||||
/* Preferred - as {POST} may conflict with other shortcodes */
|
||||
function sc_thread_text()
|
||||
{
|
||||
return $this->sc_post();
|
||||
}
|
||||
|
||||
/**
|
||||
* @DEPRECATED - use {THREAD_TEXT}
|
||||
*/
|
||||
function sc_post()
|
||||
{
|
||||
$emote = (isset($this->postInfo['post_options']['no_emote']) ? ',emotes_off' : '');
|
||||
@@ -467,7 +475,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
|
||||
Options
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu left">';
|
||||
<ul class="dropdown-menu pull-right">';
|
||||
|
||||
|
||||
$text .= "<li><a href='".e_HTTP."email.php?plugin:forum.".$this->postInfo['post_thread']."'>".FORLAN_101."</a></li>";
|
||||
|
@@ -343,7 +343,7 @@ $FORUM_VIEWTOPIC_TEMPLATE['thread'] = "
|
||||
</div>
|
||||
<div class='span9 '>
|
||||
{POLL}
|
||||
{POST}
|
||||
{THREAD_TEXT}
|
||||
{ATTACHMENTS}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user