mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Update forum_viewforum.php
Some correction
This commit is contained in:
@@ -982,7 +982,7 @@ function fadminoptions($thread_info)
|
|||||||
$stickUnstick = ($thread_info['thread_sticky'] == 1) ? 'unstick' : 'stick';
|
$stickUnstick = ($thread_info['thread_sticky'] == 1) ? 'unstick' : 'stick';
|
||||||
$id = intval($thread_info['thread_id']);
|
$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(
|
$icon = array(
|
||||||
'unstick' => $tp->toGlyph('chevron-down'),
|
'unstick' => $tp->toGlyph('chevron-down'),
|
||||||
'stick' => $tp->toGlyph('chevron-up'),
|
'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='".$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='".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)
|
if(e_DEVELOPER)
|
||||||
{
|
{
|
||||||
@@ -1120,4 +1120,4 @@ function newthreadjump($url)
|
|||||||
|
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user