// Modules list fix
This commit is contained in:
@@ -45,7 +45,6 @@
|
|||||||
{else}
|
{else}
|
||||||
<span class="label label-warning">{l s='Not installed'}</span>
|
<span class="label label-warning">{l s='Not installed'}</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{/if}
|
{/if}
|
||||||
</h4>
|
</h4>
|
||||||
<p>
|
<p>
|
||||||
@@ -75,6 +74,7 @@
|
|||||||
<div id="list-action-button" class="btn-group">
|
<div id="list-action-button" class="btn-group">
|
||||||
{assign var=option value=$module->optionsHtml[0]}
|
{assign var=option value=$module->optionsHtml[0]}
|
||||||
{$option}
|
{$option}
|
||||||
|
{if $module->optionsHtml|count > 1}
|
||||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" >
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" >
|
||||||
<span class="caret"> </span>
|
<span class="caret"> </span>
|
||||||
</button>
|
</button>
|
||||||
@@ -85,6 +85,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -2325,7 +2325,7 @@ class AdminControllerCore extends Controller
|
|||||||
|
|
||||||
if (in_array($module->name, $filter_modules_list) && $perm)
|
if (in_array($module->name, $filter_modules_list) && $perm)
|
||||||
{
|
{
|
||||||
$this->fillModuleData($module, 'select');
|
$this->fillModuleData($module, 'array');
|
||||||
$this->modules_list[array_search($module->name, $filter_modules_list)] = $module;
|
$this->modules_list[array_search($module->name, $filter_modules_list)] = $module;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user