1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-24 00:34:13 +01:00

Merge pull request #1852 from yesszus/patch-15

Issue #6 Update forum_viewforum.php
This commit is contained in:
Cameron 2016-09-16 18:19:21 -07:00 committed by GitHub
commit d678995c26

View File

@ -982,7 +982,7 @@ function fadminoptions($thread_info)
$stickUnstick = ($thread_info['thread_sticky'] == 1) ? 'unstick' : 'stick';
$id = intval($thread_info['thread_id']);
$lan = array('stick'=>'Stick','unstick'=>'Unstick','lock'=>"Lock", 'unlock'=>"Unlock");
$lan = array('stick'=>LAN_FORUM_8007,'unstick'=>LAN_FORUM_8008,'lock'=>LAN_FORUM_8009, 'unlock'=>LAN_FORUM_8010);
$icon = array(
'unstick' => $tp->toGlyph('chevron-down'),
'stick' => $tp->toGlyph('chevron-up'),
@ -992,11 +992,11 @@ function fadminoptions($thread_info)
$text .= "<li class='text-right'><a href='".e_REQUEST_URI."' data-forum-action='delete' data-forum-thread='".$id."'>Delete ".$tp->toGlyph('trash');
$text .= "<li class='text-right'><a href='".e_REQUEST_URI."' data-forum-action='delete' data-forum-thread='".$id."'>".LAN_DELETE." ".$tp->toGlyph('trash');
$text .= "<li class='text-right'><a href='".e_REQUEST_URI."' data-forum-action='".$stickUnstick."' data-forum-thread='".$id."'>".$lan[$stickUnstick]." ".$icon[$stickUnstick]."</a></li>";
$text .= "<li class='text-right'><a href='".e_REQUEST_URI."' data-forum-action='".$lockUnlock."' data-forum-thread='".$id."'>".$lan[$lockUnlock]." ".$icon[$lockUnlock]."</a></li>";
$text .= "<li class='text-right'><a href='{$moveUrl}'>Move ".$tp->toGlyph('move')."</i></a></li>";
$text .= "<li class='text-right'><a href='{$moveUrl}'>".LAN_FORUM_2042." ".$tp->toGlyph('move')."</i></a></li>";
if(e_DEVELOPER)
{
@ -1120,4 +1120,4 @@ function newthreadjump($url)
return $text;
}
?>
?>