= $footerView->render(); ?>
diff --git a/Theme/backend/monitoring-dashboard.tpl.php b/Theme/backend/monitoring-dashboard.tpl.php
index 570cc95..283808d 100644
--- a/Theme/backend/monitoring-dashboard.tpl.php
+++ b/Theme/backend/monitoring-dashboard.tpl.php
@@ -19,42 +19,42 @@ $penetrators = $this->app->logger->getHighestPerpetrator();
echo $this->getData('nav')->render(); ?>
- = $this->l11n->getText('Monitoring', 'System') ?>
+ = $this->l11n->getText('Monitoring', 'Backend', 'System') ?>
- | = $this->l11n->getText('Monitoring', 'OS') ?> | = php_uname('s'); ?>
- | | = $this->l11n->getText('Monitoring', 'Version') ?> | = php_uname('v'); ?>
- | | = $this->l11n->getText('Monitoring', 'Release') ?> | = php_uname('r'); ?>
- | | = $this->l11n->getText('Monitoring', 'RAMUsage') ?> | = memory_get_usage(true)/(1024*1024); ?> MB
- | | = $this->l11n->getText('Monitoring', 'MemoryLimit') ?> | = ini_get('memory_limit'); ?>
- | | = $this->l11n->getText('Monitoring', 'SystemRAM') ?> | = \phpOMS\System\SystemUtils::getRAM()/(1024); ?> MB
- | | = $this->l11n->getText('Monitoring', 'CPUUsage') ?> | = \phpOMS\System\SystemUtils::getCpuUsage(); ?>%
- | | = $this->l11n->getText('Monitoring', 'DiskUsage') ?> | = round(\phpOMS\System\File\Directory::getFolderSize(ROOT_PATH)/1000000, true); ?> MB
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'OS') ?> | = php_uname('s'); ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Version') ?> | = php_uname('v'); ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Release') ?> | = php_uname('r'); ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'RAMUsage') ?> | = memory_get_usage(true)/(1024*1024); ?> MB
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'MemoryLimit') ?> | = ini_get('memory_limit'); ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'SystemRAM') ?> | = \phpOMS\System\SystemUtils::getRAM()/(1024); ?> MB
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'CPUUsage') ?> | = \phpOMS\System\SystemUtils::getCpuUsage(); ?>%
+ | | = $this->l11n->getText('Monitoring', 'DiskUsage') ?> | = round(\phpOMS\System\File\Directory::getFolderSize(ROOT_PATH)/1000000, 'Backend', true); ?> MB
|
- = $this->l11n->getText('Monitoring', 'Logs') ?>
+ = $this->l11n->getText('Monitoring', 'Backend', 'Logs') ?>
- | = $this->l11n->getText('Monitoring', 'Emergencies') ?> | = $logs['emergency'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Criticals') ?> | = $logs['critical'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Errors') ?> | = $logs['error'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Warnings') ?> | = $logs['warning'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Alerts') ?> | = $logs['alert'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Notices') ?> | = $logs['notice'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Info') ?> | = $logs['info'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Debug') ?> | = $logs['debug'] ?? 0; ?>
- | | = $this->l11n->getText('Monitoring', 'Total') ?> | = array_sum($logs); ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Emergencies') ?> | = $logs['emergency'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Criticals') ?> | = $logs['critical'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Errors') ?> | = $logs['error'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Warnings') ?> | = $logs['warning'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Alerts') ?> | = $logs['alert'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Notices') ?> | = $logs['notice'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Info') ?> | = $logs['info'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Debug') ?> | = $logs['debug'] ?? 0; ?>
+ | | = $this->l11n->getText('Monitoring', 'Backend', 'Total') ?> | = array_sum($logs); ?>
|
- = $this->l11n->getText('Monitoring', 'Penetrators') ?>
+ = $this->l11n->getText('Monitoring', 'Backend', 'Penetrators') ?>
diff --git a/Theme/backend/monitoring-logs-single.tpl.php b/Theme/backend/monitoring-logs-single.tpl.php
index b0525ea..e05afc9 100644
--- a/Theme/backend/monitoring-logs-single.tpl.php
+++ b/Theme/backend/monitoring-logs-single.tpl.php
@@ -33,59 +33,59 @@ $details = '* Uri: `' . trim($log['path']) . "`\n"
echo $this->getData('nav')->render(); ?>
- = $this->l11n->getText('Monitoring', 'Logs'); ?>
+ = $this->l11n->getText('Monitoring', 'Backend', 'Logs'); ?>
- | = $this->l11n->getText(0, 'ID'); ?>
+ | = $this->l11n->getText(0, 'Backend', 'ID'); ?>
|
| = (int) $this->request->getData('id') ?? 0; ?>
|
- | = $this->l11n->getText('Monitoring', 'Time'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Time'); ?>
|
| = $log['datetime']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Uri'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Uri'); ?>
|
| = $log['path']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Source'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Source'); ?>
|
| = $log['ip']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Level'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Level'); ?>
|
| = $log['level']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Message'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Message'); ?>
|
| = $log['message']; ?>
|
- | = $this->l11n->getText('Monitoring', 'File'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'File'); ?>
|
| = $log['file']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Line'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Line'); ?>
|
| = $log['line']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Version'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Version'); ?>
|
| = $log['version']; ?>
|
- | = $this->l11n->getText('Monitoring', 'OS'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'OS'); ?>
|
| = $log['os']; ?>
|
- | = $this->l11n->getText('Monitoring', 'Backtrace'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Backtrace'); ?>
|
= json_encode($log['backtrace'], JSON_PRETTY_PRINT); ?>
|
| = $this->l11n->getText('Monitoring', 'Report'); ?>
+ href="https://gitreports.com/issue/Orange-Management/Orange-Management/?name=Guest&issue_title== urlencode($log['message']); ?>&details== urlencode($details); ?>">= $this->l11n->getText('Monitoring', 'Backend', 'Report'); ?>
|
diff --git a/Theme/backend/monitoring-logs.tpl.php b/Theme/backend/monitoring-logs.tpl.php
index a685700..07d8563 100644
--- a/Theme/backend/monitoring-logs.tpl.php
+++ b/Theme/backend/monitoring-logs.tpl.php
@@ -30,13 +30,13 @@ echo $this->getData('nav')->render(); ?>
- = $this->l11n->getText('Monitoring', 'Logs'); ?>
+ = $this->l11n->getText('Monitoring', 'Backend', 'Logs'); ?>
- | = $this->l11n->getText('Monitoring', 'Timestamp'); ?>
- | = $this->l11n->getText('Monitoring', 'Level'); ?>
- | = $this->l11n->getText('Monitoring', 'Source'); ?>
- | = $this->l11n->getText('Monitoring', 'Message'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Timestamp'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Level'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Source'); ?>
+ | = $this->l11n->getText('Monitoring', 'Backend', 'Message'); ?>
|
| = $footerView->render(); ?>
| |