mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
PHP8/Bootstrap5 Fixes
This commit is contained in:
@@ -35,8 +35,10 @@ if($sql->select('menus', "*", "menu_name='chatbox_menu'"))
|
||||
if ( ! isset($pref['cb_mod'])) {
|
||||
$pref['cb_mod'] = e_UC_ADMIN;
|
||||
}
|
||||
|
||||
define('CB_MOD', check_class($pref['cb_mod']));
|
||||
if(!defined('CB_MOD'))
|
||||
{
|
||||
define('CB_MOD', check_class($pref['cb_mod']));
|
||||
}
|
||||
|
||||
if ( ! empty($_POST['moderate']) && CB_MOD) {
|
||||
|
||||
|
@@ -1157,11 +1157,11 @@
|
||||
);
|
||||
|
||||
|
||||
$text .= "<li class='text-right'><a class='dropdown-item' href='" . e_REQUEST_URI . "' data-forum-action='delete' data-confirm='".LAN_JSCONFIRM."' 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='delete' data-confirm='".LAN_JSCONFIRM."' data-forum-thread='" . $id . "'>" . LAN_DELETE . " " . $tp->toGlyph('fa-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 class='dropdown-item' 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('fa-arrows') . "</a></li>";
|
||||
|
||||
//if(e_DEVELOPER)
|
||||
// {
|
||||
|
Reference in New Issue
Block a user