mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 16:17:14 +02:00
Merge branch 'master' of https://github.com/e107inc/e107
This commit is contained in:
@@ -172,9 +172,9 @@ class admin_shortcodes
|
||||
|
||||
if(strpos(e_SELF, e_ADMIN_ABS) !== false)
|
||||
{
|
||||
if (is_readable(e_LANGUAGEDIR.e_LANGUAGE.'/admin/help/'.e_PAGE))
|
||||
if (is_readable(e_LANGUAGEDIR.'/'.$pref['adminlanguage'].'/admin/help/'.e_PAGE))
|
||||
{
|
||||
$helpfile = e_LANGUAGEDIR.e_LANGUAGE.'/admin/help/'.e_PAGE;
|
||||
$helpfile = e_LANGUAGEDIR.'/'.$pref['adminlanguage'].'/admin/help/'.e_PAGE;
|
||||
}
|
||||
elseif (is_readable(e_LANGUAGEDIR.'English/admin/help/'.e_PAGE))
|
||||
{
|
||||
|
@@ -1011,11 +1011,11 @@ function fadminoptions($thread_info)
|
||||
|
||||
|
||||
|
||||
$text .= "<li class='text-right'><a href='".e_REQUEST_URI."' data-forum-action='delete' data-forum-thread='".$id."'>".LAN_DELETE." ".$tp->toGlyph('trash')."</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 class='dropdown-item' href='".e_REQUEST_URI."' data-forum-action='delete' data-forum-thread='".$id."'>".LAN_DELETE." ".$tp->toGlyph('trash')."</a></li>";
|
||||
$text .= "<li class='text-right'><a class='dropdown-item' href='".e_REQUEST_URI."' data-forum-action='".$stickUnstick."' data-forum-thread='".$id."'>".$lan[$stickUnstick]." ".$icon[$stickUnstick]."</a></li>";
|
||||
$text .= "<li class='text-right'><a class='dropdown-item' 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}'>".LAN_FORUM_2042." ".$tp->toGlyph('move')."</a></li>";
|
||||
$text .= "<li class='text-right'><a class='dropdown-item' href='{$moveUrl}'>".LAN_FORUM_2042." ".$tp->toGlyph('move')."</a></li>";
|
||||
|
||||
if(e_DEVELOPER)
|
||||
{
|
||||
|
@@ -111,7 +111,7 @@
|
||||
//-- foreach($jumpList as $key => $val)
|
||||
foreach($jumpList as $val)
|
||||
{
|
||||
$text .= '<li><a href="' . e107::url('forum', 'forum', $val) . '">' . LAN_FORUM_1017 . ': ' . $val['forum_name'] . '</a></li>';
|
||||
$text .= '<li><a class="dropdown-item" href="' . e107::url('forum', 'forum', $val) . '">' . LAN_FORUM_1017 . ': ' . $val['forum_name'] . '</a></li>';
|
||||
}
|
||||
|
||||
$text .= '
|
||||
|
Reference in New Issue
Block a user