diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json
index bb8287a..2002d7a 100755
--- a/Admin/Install/Navigation.install.json
+++ b/Admin/Install/Navigation.install.json
@@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Workflows",
- "uri": "{/prefix}workflow/instance/list?{?}",
+ "uri": "{/lang}/{/app}/workflow/instance/list?{?}",
"target": "self",
"icon": null,
"order": 40,
@@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "Dashboard",
- "uri": "{/prefix}workflow/instance/list?{?}",
+ "uri": "{/lang}/{/app}/workflow/instance/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@@ -34,7 +34,7 @@
"type": 3,
"subtype": 1,
"name": "Templates",
- "uri": "{/prefix}workflow/template/list",
+ "uri": "{/lang}/{/app}/workflow/template/list",
"target": "self",
"icon": null,
"order": 5,
@@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
- "uri": "{/prefix}workflow/template/create?{?}",
+ "uri": "{/lang}/{/app}/workflow/template/create?{?}",
"target": "self",
"icon": null,
"order": 10,
diff --git a/Theme/Backend/workflow-dashboard.tpl.php b/Theme/Backend/workflow-dashboard.tpl.php
index 597986a..61d1d31 100755
--- a/Theme/Backend/workflow-dashboard.tpl.php
+++ b/Theme/Backend/workflow-dashboard.tpl.php
@@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
$instance) : ++$c;
- $url = \phpOMS\Uri\UriFactory::build('admin/instance/single?{?}&id=' . $instance->getId());
+ $url = \phpOMS\Uri\UriFactory::build('{/lang}/{/app}/admin/instance/single?{?}&id=' . $instance->getId());
?>
= $this->printHtml((string) $instance->getStatus()); ?>
diff --git a/Theme/Backend/workflow-template-list.tpl.php b/Theme/Backend/workflow-template-list.tpl.php
index ae5205c..2874624 100755
--- a/Theme/Backend/workflow-template-list.tpl.php
+++ b/Theme/Backend/workflow-template-list.tpl.php
@@ -29,16 +29,16 @@ $accountDir = $account->getId() . ' ' . $account->login;
$collections = $this->getData('collections');
$mediaPath = \urldecode($this->getData('path') ?? '/');
-$previous = empty($templates) ? 'workflow/template/list' : 'workflow/template/list?{?}&id=' . \reset($templates)->getId() . '&ptype=p';
-$next = empty($templates) ? 'workflow/template/list' : 'workflow/template/list?{?}&id=' . \end($templates)->getId() . '&ptype=n';
+$previous = empty($templates) ? 'workflow/template/list' : '{/lang}/{/app}/workflow/template/list?{?}&id=' . \reset($templates)->getId() . '&ptype=p';
+$next = empty($templates) ? 'workflow/template/list' : '{/lang}/{/app}/workflow/template/list?{?}&id=' . \end($templates)->getId() . '&ptype=n';
echo $this->getData('nav')->render(); ?>
- -
-
- /
+ -
+
- /
getData('nav')->render(); ?>
$subPath .= '/' . $paths[$i];
- $url = UriFactory::build('workflow/template/list?path=' . $subPath);
+ $url = UriFactory::build('{/lang}/{/app}/workflow/template/list?path=' . $subPath);
?>
- >= $this->printHtml($paths[$i]); ?>
@@ -115,7 +115,7 @@ echo $this->getData('nav')->render(); ?>
-
+
|
|
@@ -126,7 +126,7 @@ echo $this->getData('nav')->render(); ?>
|
$value) : ++$count;
- $url = UriFactory::build('workflow/template/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->name);
+ $url = UriFactory::build('{/lang}/{/app}/workflow/template/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->name);
?>
|
|
|
| = $this->printHtml($value->name); ?>
- | = $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$value->createdBy->name1, $value->createdBy->name2, $value->createdBy->name3, $value->createdBy->login ?? ''])); ?>
+ | = $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$value->createdBy->name1, $value->createdBy->name2, $value->createdBy->name3, $value->createdBy->login ?? ''])); ?>
| = $this->printHtml($value->createdAt->format('Y-m-d')); ?>
$template) : ++$count;
- $url = UriFactory::build('workflow/template/profile?{?}&id=' . $template->getId()); ?>
+ $url = UriFactory::build('{/lang}/{/app}/workflow/template/profile?{?}&id=' . $template->getId()); ?>
|
|
|
| = $this->printHtml($template->name); ?>
- | = $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$template->createdBy->name1, $template->createdBy->name2, $template->createdBy->name3, $template->createdBy->login ?? ''])); ?>
+ | = $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$template->createdBy->name1, $template->createdBy->name2, $template->createdBy->name3, $template->createdBy->login ?? ''])); ?>
| = $this->printHtml($template->createdAt->format('Y-m-d')); ?>
diff --git a/info.json b/info.json
index 3a4e00b..6d282d7 100755
--- a/info.json
+++ b/info.json
@@ -12,7 +12,7 @@
},
"creator": {
"name": "Karaka",
- "website": "www.spl1nes.com"
+ "website": "jingga.app"
},
"description": "Workflow module.",
"directory": "Workflow",
| |