Fix absolute path to relative paths

This commit is contained in:
Dennis Eichhorn 2019-02-11 11:38:15 +01:00
parent 97a1e914dd
commit d7241b9daa
4 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@
"type": 2,
"subtype": 1,
"name": "Ticket",
"uri": "/{/lang}/backend/support/list?{?}",
"uri": "{/lang}/backend/support/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -33,7 +33,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/support/list?{?}",
"uri": "{/lang}/backend/support/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/support/create?{?}",
"uri": "{/lang}/backend/support/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -67,7 +67,7 @@
"type": 2,
"subtype": 1,
"name": "Settings",
"uri": "/{/lang}/backend/support/settings/dashboard?{?}",
"uri": "{/lang}/backend/support/settings/dashboard?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -83,7 +83,7 @@
"type": 2,
"subtype": 1,
"name": "Analysis",
"uri": "/{/lang}/backend/support/analysis/dashboard?{?}",
"uri": "{/lang}/backend/support/analysis/dashboard?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -101,7 +101,7 @@
"type": 2,
"subtype": 1,
"name": "Support",
"uri": "/{/lang}/backend/private/support/dashboard?{?}",
"uri": "{/lang}/backend/private/support/dashboard?{?}",
"target": "self",
"icon": null,
"order": 5,

View File

@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
<tfoot>
<tbody>
<?php $c = 0; foreach ($tickets as $key => $ticket) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/support/single?{?}&id=' . $ticket->getId());
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/support/single?{?}&id=' . $ticket->getId());
$color = 'darkred';
if ($ticket->getTask()->getStatus() === \Modules\Tasks\Models\TaskStatus::DONE) { $color = 'green'; }
elseif ($ticket->getTask()->getStatus() === \Modules\Tasks\Models\TaskStatus::OPEN) { $color = 'darkblue'; }

View File

@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box wf-100">
<header><h1><?= $this->getHtml('Ticket'); ?></h1></header>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/template'); ?>" method="post">
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/template'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iTitle"><?= $this->getHtml('Department'); ?></label>

View File

@ -82,7 +82,7 @@ echo $this->getData('nav')->render(); ?>
<section class="box wf-100">
<div class="inner">
<form id="taskElementCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
<form id="taskElementCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
<tr><td><textarea id="iMessage" name="description"></textarea>