fix typo and re-add button to reset opcache in opcache-overview
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -52,7 +52,7 @@ try {
|
||||
$certificates_list_data = include_once dirname(__FILE__) . '/lib/tablelisting/tablelisting.sslcertificates.php';
|
||||
$collection = (new Collection(Certificates::class, $userinfo))
|
||||
->withPagination($certificates_list_data['sslcertificates_list']['columns']);
|
||||
if ($userinfo['adminisession'] == 1) {
|
||||
if ($userinfo['adminsession'] == 1) {
|
||||
$collection->has('domains', \Froxlor\Api\Commands\Domains::class, 'domainid', 'id');
|
||||
} else {
|
||||
$collection->has('domains', \Froxlor\Api\Commands\SubDomains::class, 'domainid', 'id');
|
||||
|
||||
@@ -7,6 +7,13 @@
|
||||
</h5>
|
||||
{% endblock %}
|
||||
|
||||
{% block actions %}
|
||||
<a class="btn btn-warning" href="{{ linker({'section':'opcacheinfo','page':'showinfo','action':'reset'}) }}">
|
||||
<i class="fa-solid fa-trash-can me-1"></i>
|
||||
{{ lng('opcacheinfo.resetcache') }}
|
||||
</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 mb-4">
|
||||
<div class="col">
|
||||
|
||||
Reference in New Issue
Block a user