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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user