Zeile 142 | Zeile 142 |
---|
echo "<body>\n"; echo "<div id=\"container\">\n"; echo " <div id=\"logo\"><h1><span class=\"invisible\">{$lang->mybb_admin_cp}</span></h1></div>\n";
|
echo "<body>\n"; echo "<div id=\"container\">\n"; echo " <div id=\"logo\"><h1><span class=\"invisible\">{$lang->mybb_admin_cp}</span></h1></div>\n";
|
echo " <div id=\"welcome\"><span class=\"logged_in_as\">{$lang->logged_in_as} <a href=\"index.php?module=user-users&action=edit&uid={$mybb->user['uid']}\" class=\"username\">{$mybb->user['username']}</a></span> | <a href=\"{$mybb->settings['bburl']}\" target=\"_blank\" class=\"forum\">{$lang->view_board}</a> | <a href=\"index.php?action=logout&my_post_key={$mybb->post_code}\" class=\"logout\">{$lang->logout}</a></div>\n";
| $username = htmlspecialchars_uni($mybb->user['username']); echo " <div id=\"welcome\"><span class=\"logged_in_as\">{$lang->logged_in_as} <a href=\"index.php?module=user-users&action=edit&uid={$mybb->user['uid']}\" class=\"username\">{$username}</a></span> | <a href=\"{$mybb->settings['bburl']}\" target=\"_blank\" class=\"forum\">{$lang->view_board}</a> | <a href=\"index.php?action=logout&my_post_key={$mybb->post_code}\" class=\"logout\">{$lang->logout}</a></div>\n";
|
echo $this->_build_menu(); echo " <div id=\"page\">\n"; echo " <div id=\"left_menu\">\n";
| echo $this->_build_menu(); echo " <div id=\"page\">\n"; echo " <div id=\"left_menu\">\n";
|
Zeile 224 | Zeile 225 |
---|
echo " <br style=\"clear: both;\" />"; echo " <br style=\"clear: both;\" />"; echo " </div>\n";
|
echo " <br style=\"clear: both;\" />"; echo " <br style=\"clear: both;\" />"; echo " </div>\n";
|
echo "<div id=\"footer\"><p class=\"generation\">".$lang->sprintf($lang->generated_in, $totaltime, $debuglink, $querycount, $memory_usage)."</p><p class=\"powered\">Powered By <a href=\"http://www.mybb.com/\" target=\"_blank\">MyBB</a>, © 2002-".COPY_YEAR." <a href=\"http://www.mybb.com/\" target=\"_blank\">MyBB Group</a>.</p></div>\n";
| echo "<div id=\"footer\"><p class=\"generation\">".$lang->sprintf($lang->generated_in, $totaltime, $debuglink, $querycount, $memory_usage)."</p><p class=\"powered\">Powered By <a href=\"https://mybb.com/\" target=\"_blank\">MyBB</a>, © 2002-".COPY_YEAR." <a href=\"https://mybb.com/\" target=\"_blank\">MyBB Group</a>.</p></div>\n";
|
if($mybb->debug_mode) { echo $db->explain;
| if($mybb->debug_mode) { echo $db->explain;
|
Zeile 902 | Zeile 903 |
---|
if($smilies) { if($mybb->settings['smilieinserter'] && $mybb->settings['smilieinsertercols'] && $mybb->settings['smilieinsertertot'])
|
if($smilies) { if($mybb->settings['smilieinserter'] && $mybb->settings['smilieinsertercols'] && $mybb->settings['smilieinsertertot'])
|
{
| {
|
$emoticon = ",emoticon"; } $emoticons_enabled = "true";
|
$emoticon = ",emoticon"; } $emoticons_enabled = "true";
|
|
|
if(!$smiliecount)
|
if(!$smiliecount)
|
{
| {
|
$smilie_cache = $cache->read("smilies"); $smiliecount = count($smilie_cache);
|
$smilie_cache = $cache->read("smilies"); $smiliecount = count($smilie_cache);
|
}
| }
|
if(!$smiliecache) { if(!is_array($smilie_cache))
| if(!$smiliecache) { if(!is_array($smilie_cache))
|
Zeile 925 | Zeile 926 |
---|
$smiliecache[$smilie['sid']] = $smilie; } }
|
$smiliecache[$smilie['sid']] = $smilie; } }
|
|
|
unset($smilie);
if(is_array($smiliecache))
| unset($smilie);
if(is_array($smiliecache))
|
Zeile 934 | Zeile 935 |
---|
$dropdownsmilies = $moresmilies = $hiddensmilies = ""; $i = 0;
|
$dropdownsmilies = $moresmilies = $hiddensmilies = ""; $i = 0;
|
|
|
foreach($smiliecache as $smilie) { $finds = explode("\n", $smilie['find']); $finds_count = count($finds);
|
foreach($smiliecache as $smilie) { $finds = explode("\n", $smilie['find']); $finds_count = count($finds);
|
|
|
// Only show the first text to replace in the box $find = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($finds[0])); $image = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($smilie['image']));
| // Only show the first text to replace in the box $find = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($finds[0])); $image = str_replace(array('\\', '"'), array('\\\\', '\"'), htmlspecialchars_uni($smilie['image']));
|
Zeile 950 | Zeile 951 |
---|
if(!$mybb->settings['smilieinserter'] || !$mybb->settings['smilieinsertercols'] || !$mybb->settings['smilieinsertertot'] || !$smilie['showclickable']) {
|
if(!$mybb->settings['smilieinserter'] || !$mybb->settings['smilieinsertercols'] || !$mybb->settings['smilieinsertertot'] || !$smilie['showclickable']) {
|
$hiddensmilies .= '"'.$find.'": "'.$image.'",';
| $hiddensmilies .= '"'.$find.'": "'.$image.'",';
|
} elseif($i < $mybb->settings['smilieinsertertot']) {
| } elseif($i < $mybb->settings['smilieinsertertot']) {
|