Zeile 108 | Zeile 108 |
---|
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.js\"></script>\n"; echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.plugins.min.js\"></script>\n";
|
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.js\"></script>\n"; echo " <script type=\"text/javascript\" src=\"../jscripts/jquery.plugins.min.js\"></script>\n";
|
echo " <script type=\"text/javascript\" src=\"../jscripts/general.js?ver=1807\"></script>\n";
| echo " <script type=\"text/javascript\" src=\"../jscripts/general.js?ver=1810\"></script>\n";
|
echo " <script type=\"text/javascript\" src=\"./jscripts/admincp.js\"></script>\n"; echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js\"></script>\n";
| echo " <script type=\"text/javascript\" src=\"./jscripts/admincp.js\"></script>\n"; echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js\"></script>\n";
|
Zeile 131 | Zeile 131 |
---|
var cookieDomain = '{$mybb->settings['cookiedomain']}'; var cookiePath = '{$mybb->settings['cookiepath']}'; var cookiePrefix = '{$mybb->settings['cookieprefix']}';
|
var cookieDomain = '{$mybb->settings['cookiedomain']}'; var cookiePath = '{$mybb->settings['cookiepath']}'; var cookiePrefix = '{$mybb->settings['cookieprefix']}';
|
| var cookieSecureFlag = '{$mybb->settings['cookiesecureflag']}';
|
var imagepath = '../images';
lang.unknown_error = \"{$lang->unknown_error}\";
| var imagepath = '../images';
lang.unknown_error = \"{$lang->unknown_error}\";
|
Zeile 142 | Zeile 143 |
---|
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 226 |
---|
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 904 |
---|
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 927 |
---|
$smiliecache[$smilie['sid']] = $smilie; } }
|
$smiliecache[$smilie['sid']] = $smilie; } }
|
|
|
unset($smilie);
if(is_array($smiliecache))
| unset($smilie);
if(is_array($smiliecache))
|
Zeile 934 | Zeile 936 |
---|
$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 952 |
---|
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']) {
|