mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 10:32:08 +02:00
Flexpanel status/latest menu render fixes.
This commit is contained in:
parent
347c9f9af0
commit
2cca2373ed
@ -144,15 +144,18 @@ class e107_debug {
|
||||
|
||||
$aDVal = explode('.',$dVals); // support multiple values, OR'd together
|
||||
$dVal = 0;
|
||||
|
||||
|
||||
|
||||
foreach ($aDVal as $curDVal)
|
||||
{
|
||||
if (isset($this->aDebugShortcuts[$curDVal]))
|
||||
{
|
||||
$dVal |= $this->aDebugShortcuts[$curDVal];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$dVal |= $curDVal;
|
||||
$dVal |= intval($curDVal);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2778,9 +2778,11 @@ class e107
|
||||
return false;
|
||||
}
|
||||
|
||||
self::getMessage()->addDebug("Couldn't load language file: ".$path);
|
||||
|
||||
$path = str_replace(e_LANGUAGE, 'English', $path);
|
||||
|
||||
|
||||
self::getDebug()->log("Couldn't load language file: ".$path);
|
||||
|
||||
if(!is_readable($path))
|
||||
{
|
||||
return false;
|
||||
|
@ -104,6 +104,8 @@ class bootstrap3_admintheme
|
||||
// echo "Style: ".$style;
|
||||
|
||||
echo "\n\n<!-- UniqueID: ".$data['uniqueId']." -->\n\n";
|
||||
echo "<!-- Style: ".$style." -->\n\n";
|
||||
echo "<!-- Mode: ".$mode." -->";
|
||||
$class = '';
|
||||
|
||||
if(is_string($mode) && $mode == 'admin_help')
|
||||
@ -160,6 +162,13 @@ class bootstrap3_admintheme
|
||||
'site_info' => 'panel-default',
|
||||
'flexpanel' => 'panel-default',
|
||||
);
|
||||
|
||||
if($data['uniqueId'] === 'e-latest-list' || $data['uniqueId'] === 'e-status-list')
|
||||
{
|
||||
$style = 'lists';
|
||||
}
|
||||
|
||||
|
||||
|
||||
switch(varset($style, 'admin_content'))
|
||||
{
|
||||
@ -188,7 +197,7 @@ class bootstrap3_admintheme
|
||||
break;
|
||||
|
||||
case 'lists':
|
||||
echo '<div class="panel panel-default">
|
||||
echo '<div class="panel panel-default" id="' . $data['uniqueId'] . '">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">' . $caption . '</h3>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user