Files
urbackup/front/server.php
T

37 lines
651 B
PHP
Raw Normal View History

2026-05-20 09:20:27 +02:00
<?php
2026-05-21 10:54:04 +02:00
declare(strict_types=1);
2026-05-20 09:20:27 +02:00
use GlpiPlugin\Urbackup\Profile;
use GlpiPlugin\Urbackup\Server;
use Html;
use Search;
if (!defined('GLPI_ROOT')) {
define('GLPI_ROOT', dirname(__DIR__, 4));
}
include_once GLPI_ROOT . "/inc/includes.php";
if (!Profile::canCurrentUser(READ)) {
Html::displayRightError();
}
Html::header(
'UrBackup Servers',
'',
2026-05-21 09:26:03 +02:00
'admin',
'GlpiPlugin\Urbackup\Server'
2026-05-20 09:20:27 +02:00
);
Search::show('GlpiPlugin\Urbackup\Server', [
'is_deleted' => 0,
'massiveaction' => true,
'start' => 0,
'additional_actions' => [
'view' => __('View', 'urbackup'),
],
]);
2026-05-21 09:26:03 +02:00
Html::footer();