mirror of
https://github.com/e107inc/e107.git
synced 2025-02-12 02:24:11 +01:00
Update forum_viewforum.php
Some correction
This commit is contained in:
parent
afbe20614b
commit
b31340c54c
@ -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;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user