1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Forum fixes

This commit is contained in:
Cameron
2013-04-18 12:43:22 -07:00
parent 4d46c4bd4c
commit e01c75e58b
4 changed files with 12 additions and 6 deletions

View File

@@ -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)

View File

@@ -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;

View File

@@ -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>";

View File

@@ -343,7 +343,7 @@ $FORUM_VIEWTOPIC_TEMPLATE['thread'] = "
</div>
<div class='span9 '>
{POLL}
{POST}
{THREAD_TEXT}
{ATTACHMENTS}
</div>
</div>