This commit is contained in:
Dennis Eichhorn 2022-12-10 22:17:54 +01:00
parent 16520b4848
commit 4ec07af434
4 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Auditor", "name": "Auditor",
"uri": "{/prefix}admin/audit/list", "uri": "{/lang}/{/app}/admin/audit/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 75, "order": 75,
@ -19,7 +19,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Audits", "name": "Audits",
"uri": "{/prefix}admin/audit/list", "uri": "{/lang}/{/app}/admin/audit/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,

View File

@ -104,7 +104,7 @@ echo $this->getData('nav')->render(); ?>
<tbody> <tbody>
<?php $count = 0; <?php $count = 0;
foreach ($audits as $key => $audit) : ++$count; foreach ($audits as $key => $audit) : ++$count;
$url = UriFactory::build('admin/audit/single?id=' . $audit->getId()); ?> $url = UriFactory::build('{/lang}/{/app}/admin/audit/single?id=' . $audit->getId()); ?>
<tr tabindex="0" data-href="<?= $url; ?>"> <tr tabindex="0" data-href="<?= $url; ?>">
<td><?= $audit->getId(); ?> <td><?= $audit->getId(); ?>
<td><?= $this->printHtml($audit->getModule()); ?> <td><?= $this->printHtml($audit->getModule()); ?>
@ -115,7 +115,7 @@ echo $this->getData('nav')->render(); ?>
<?php endif; ?> <?php endif; ?>
<td><?= $audit->getType(); ?> <td><?= $audit->getType(); ?>
<td><?= $audit->getTrigger(); ?> <td><?= $audit->getTrigger(); ?>
<td><a class="content" href="<?= UriFactory::build('admin/account/settings?id=' . $audit->createdBy->getId()); ?>"><?= $this->printHtml( <td><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/admin/account/settings?id=' . $audit->createdBy->getId()); ?>"><?= $this->printHtml(
$this->renderUserName('%3$s %2$s %1$s', [$audit->createdBy->name1, $audit->createdBy->name2, $audit->createdBy->name3, $audit->createdBy->login]) $this->renderUserName('%3$s %2$s %1$s', [$audit->createdBy->name1, $audit->createdBy->name2, $audit->createdBy->name3, $audit->createdBy->login])
); ?></a> ); ?></a>
<td><?= $this->printHtml($audit->getRef()); ?> <td><?= $this->printHtml($audit->getRef()); ?>

View File

@ -53,7 +53,7 @@ echo $this->getData('nav')->render();
<td><?= $audit->getType(); ?> <td><?= $audit->getType(); ?>
<tr> <tr>
<th><?= $this->getHtml('By'); ?> <th><?= $this->getHtml('By'); ?>
<td><a href="<?= UriFactory::build('admin/account/settings?{?}&id=' . $audit->createdBy->getId()); ?>"><?= $audit->createdBy->name1; ?> <?= $audit->createdBy->name2; ?></a> <td><a href="<?= UriFactory::build('{/lang}/{/app}/admin/account/settings?{?}&id=' . $audit->createdBy->getId()); ?>"><?= $audit->createdBy->name1; ?> <?= $audit->createdBy->name2; ?></a>
<tr> <tr>
<th><?= $this->getHtml('Ref'); ?> <th><?= $this->getHtml('Ref'); ?>
<td><?= $this->printHtml($audit->getRef()); ?> <td><?= $this->printHtml($audit->getRef()); ?>
@ -62,7 +62,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getDateTime($audit->createdAt, 'very_long'); ?> <td><?= $this->getDateTime($audit->createdAt, 'very_long'); ?>
<tr> <tr>
<th><?= $this->getHtml('Module'); ?> <th><?= $this->getHtml('Module'); ?>
<td><a href="<?= UriFactory::build('admin/module/settings?{?}&id=' . $audit->getModule()); ?>"><?= $audit->getModule(); ?></a> <td><a href="<?= UriFactory::build('{/lang}/{/app}/admin/module/settings?{?}&id=' . $audit->getModule()); ?>"><?= $audit->getModule(); ?></a>
<tr> <tr>
<th><?= $this->getHtml('IP'); ?> <th><?= $this->getHtml('IP'); ?>
<td><?= \long2ip($audit->getIp()); ?> <td><?= \long2ip($audit->getIp()); ?>

View File

@ -12,7 +12,7 @@
}, },
"creator": { "creator": {
"name": "Karaka", "name": "Karaka",
"website": "www.spl1nes.com" "website": "jingga.app"
}, },
"description": "The administration module.", "description": "The administration module.",
"directory": "Auditor", "directory": "Auditor",