mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-11 16:18:42 +00:00
permission changes & minor bug fixes
This commit is contained in:
parent
ac1c70d86c
commit
974c3c91f6
0
Admin/Install/Navigation.install.json
Normal file → Executable file
0
Admin/Install/Navigation.install.json
Normal file → Executable file
0
Admin/Install/Navigation.php
Normal file → Executable file
0
Admin/Install/Navigation.php
Normal file → Executable file
0
Admin/Install/NavigationSkeleton.php
Normal file → Executable file
0
Admin/Install/NavigationSkeleton.php
Normal file → Executable file
0
Admin/Settings/Theme/Backend/modules-nav-list.tpl.php
Normal file → Executable file
0
Admin/Settings/Theme/Backend/modules-nav-list.tpl.php
Normal file → Executable file
0
Admin/Settings/Theme/Backend/settings-nav.tpl.php
Normal file → Executable file
0
Admin/Settings/Theme/Backend/settings-nav.tpl.php
Normal file → Executable file
6
Admin/Settings/Theme/Backend/settings.tpl.php
Normal file → Executable file
6
Admin/Settings/Theme/Backend/settings.tpl.php
Normal file → Executable file
|
|
@ -20,8 +20,8 @@ use phpOMS\Uri\UriFactory;
|
|||
*/
|
||||
$navs = $this->getData('navigation') ?? [];
|
||||
|
||||
$previous = empty($navs) ? '{/prefix}admin/nav/list' : '{/prefix}admin/nav/list?{?}&id=' . \reset($navs)->id . '&ptype=p';
|
||||
$next = empty($navs) ? '{/prefix}admin/nav/list' : '{/prefix}admin/nav/list?{?}&id=' . \end($navs)->id . '&ptype=n';
|
||||
$previous = empty($navs) ? 'admin/nav/list' : 'admin/nav/list?{?}&id=' . \reset($navs)->id . '&ptype=p';
|
||||
$next = empty($navs) ? 'admin/nav/list' : 'admin/nav/list?{?}&id=' . \end($navs)->id . '&ptype=n';
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tbody>
|
||||
<?php $count = 0;
|
||||
foreach ($navs as $key => $nav) : ++$count;
|
||||
$url = UriFactory::build('{/prefix}admin/module/settings?id=Navigation&nav=' . $nav->id); ?>
|
||||
$url = UriFactory::build('admin/module/settings?id=Navigation&nav=' . $nav->id); ?>
|
||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= $nav->id; ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $nav->pidRaw; ?></a>
|
||||
|
|
|
|||
0
Models/LinkStatus.php
Normal file → Executable file
0
Models/LinkStatus.php
Normal file → Executable file
0
Models/NullNavElement.php
Normal file → Executable file
0
Models/NullNavElement.php
Normal file → Executable file
0
Theme/Backend/Lang/ar.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ar.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/cs.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/cs.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/da.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/da.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/de.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/el.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/el.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/es.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/es.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fi.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fi.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/fr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/hu.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/hu.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/it.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/it.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ja.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ja.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ko.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ko.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/no.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/no.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pl.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pl.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pt.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/pt.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ru.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/ru.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/sv.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/sv.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/th.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/th.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/tr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/tr.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/uk.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/uk.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/zh.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/zh.lang.php
Normal file → Executable file
0
tests/Models/NavigationTest.php
Normal file → Executable file
0
tests/Models/NavigationTest.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user