This commit is contained in:
Dennis Eichhorn 2022-12-10 22:17:54 +01:00
parent 4460aa7f5a
commit faa1b211c5
6 changed files with 12 additions and 12 deletions

View File

@ -5,7 +5,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Wiki", "name": "Wiki",
"uri": "{/prefix}wiki/dashboard?{?}", "uri": "{/lang}/{/app}/wiki/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 50, "order": 50,
@ -19,7 +19,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Dashboard", "name": "Dashboard",
"uri": "{/prefix}wiki/dashboard?{?}", "uri": "{/lang}/{/app}/wiki/dashboard?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -34,7 +34,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Categories", "name": "Categories",
"uri": "{/prefix}wiki/category/list", "uri": "{/lang}/{/app}/wiki/category/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -49,7 +49,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/prefix}wiki/doc/create?{?}", "uri": "{/lang}/{/app}/wiki/doc/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -64,7 +64,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/prefix}wiki/list", "uri": "{/lang}/{/app}/wiki/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 15, "order": 15,

View File

@ -34,7 +34,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('Parent'); ?> <td><?= $this->getHtml('Parent'); ?>
<tbody> <tbody>
<?php foreach ($categories as $key => $value) : <?php foreach ($categories as $key => $value) :
$url = UriFactory::build('admin/account/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/lang}/{/app}/admin/account/settings?{?}&id=' . $value->getId()); ?>
<tr tabindex="0" data-href="<?= $url; ?>"> <tr tabindex="0" data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td data-label="<?= $this->getHtml('Name'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n()); ?></a> <td data-label="<?= $this->getHtml('Name'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n()); ?></a>

View File

@ -29,7 +29,7 @@ echo $this->getData('nav')->render(); ?>
<div class="row"> <div class="row">
<div class="col-xs-12 col-md-8 col-lg-9"> <div class="col-xs-12 col-md-8 col-lg-9">
<div class="row"> <div class="row">
<?php foreach ($documents as $doc) : $url = UriFactory::build('wiki/doc/single?id=' . $doc->getId()); ?> <?php foreach ($documents as $doc) : $url = UriFactory::build('{/lang}/{/app}/wiki/doc/single?id=' . $doc->getId()); ?>
<div class="col-xs-12 plain-grid"> <div class="col-xs-12 plain-grid">
<div class="portlet"> <div class="portlet">
<div class="portlet-head"><a href="<?= $url; ?>"><?= $this->printHtml($doc->name); ?></a></div> <div class="portlet-head"><a href="<?= $url; ?>"><?= $this->printHtml($doc->name); ?></a></div>
@ -74,7 +74,7 @@ echo $this->getData('nav')->render(); ?>
<div class="portlet-body"> <div class="portlet-body">
<ul> <ul>
<?php foreach ($categories as $category) : ?> <?php foreach ($categories as $category) : ?>
<li><a href="<?= UriFactory::build('wiki/doc/list?{?}&id=' . $category->getId()); ?>"><?= $this->printHtml($category->getL11n()); ?></a> <li><a href="<?= UriFactory::build('{/lang}/{/app}/wiki/doc/list?{?}&id=' . $category->getId()); ?>"><?= $this->printHtml($category->getL11n()); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
</div> </div>

View File

@ -70,7 +70,7 @@ echo $this->getData('nav')->render(); ?>
<tr> <tr>
<td> <td>
<?php if ($isNewDoc) : ?> <?php if ($isNewDoc) : ?>
<a href="<?= UriFactory::build('/wiki/dashboard'); ?>" class="button"><?= $this->getHtml('Delete', '0', '0'); ?></a> <a href="<?= UriFactory::build('{/lang}/{/app}//wiki/dashboard'); ?>" class="button"><?= $this->getHtml('Delete', '0', '0'); ?></a>
<?php else : ?> <?php else : ?>
<input type="submit" name="deleteButton" id="iDeleteButton" value="<?= $this->getHtml('Delete', '0', '0'); ?>"> <input type="submit" name="deleteButton" id="iDeleteButton" value="<?= $this->getHtml('Delete', '0', '0'); ?>">
<?php endif; ?> <?php endif; ?>

View File

@ -50,7 +50,7 @@ echo $this->getData('nav')->render();
<?php endforeach; ?> <?php endforeach; ?>
<?php $files = $doc->getMedia(); foreach ($files as $file) : ?> <?php $files = $doc->getMedia(); foreach ($files as $file) : ?>
<span><a class="content" href="<?= UriFactory::build('media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span> <span><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php if ($editable) : ?> <?php if ($editable) : ?>
@ -70,7 +70,7 @@ echo $this->getData('nav')->render();
<div class="portlet-body"> <div class="portlet-body">
<ul> <ul>
<?php foreach ($categories as $category) : ?> <?php foreach ($categories as $category) : ?>
<li><a href="<?= UriFactory::build('wiki/doc/list?{?}&id=' . $category->getId()); ?>"><?= $this->printHtml($category->getL11n()); ?></a> <li><a href="<?= UriFactory::build('{/lang}/{/app}/wiki/doc/list?{?}&id=' . $category->getId()); ?>"><?= $this->printHtml($category->getL11n()); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
</div> </div>

View File

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