1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Flexpanel status/latest menu render fixes.

This commit is contained in:
Cameron
2017-01-16 16:14:49 -08:00
parent 347c9f9af0
commit 2cca2373ed
3 changed files with 19 additions and 5 deletions

View File

@@ -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>