mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-10 16:48:41 +00:00
crash backup
This commit is contained in:
parent
c338c42603
commit
e3f761c1b6
|
|
@ -19,9 +19,9 @@ use phpOMS\Uri\UriFactory;
|
|||
<div class="floater">
|
||||
<hr>
|
||||
<ul>
|
||||
<li><a href="<?= UriFactory::build('{/base}/{/app}/terms'); ?>">Terms</a>
|
||||
<li><a href="<?= UriFactory::build('{/base}/{/app}/privacy'); ?>">Data Protection</a>
|
||||
<li><a href="<?= UriFactory::build('{/base}/{/app}/imprint'); ?>">Imprint</a>
|
||||
<li><a href="<?= UriFactory::build('{/app}/terms'); ?>">Terms</a>
|
||||
<li><a href="<?= UriFactory::build('{/app}/privacy'); ?>">Data Protection</a>
|
||||
<li><a href="<?= UriFactory::build('{/app}/imprint'); ?>">Imprint</a>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Uri\UriFactory;
|
|||
<nav>
|
||||
<ul>
|
||||
<li><a href="<?= UriFactory::build('{/base}/{/app}'); ?>">Website</a>
|
||||
<li><a href="<?= UriFactory::build('{/base}/{/app}/components'); ?>">Profile</a>
|
||||
<li><a href="<?= UriFactory::build('{/app}/components'); ?>">Profile</a>
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="search">
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ use phpOMS\Uri\UriFactory;
|
|||
$head = $this->head;
|
||||
|
||||
/** @var array $dispatch */
|
||||
$dispatch = $this->getData('dispatch') ?? [];
|
||||
$dispatch = $this->data['dispatch'] ?? [];
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?= $this->printHtml($this->response->header->l11n->language); ?>">
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ final class ApiController extends Controller
|
|||
public function apiTicketGet(RequestAbstract $request, ResponseAbstract $response, array $data = []) : void
|
||||
{
|
||||
/** @var \Modules\Support\Models\Ticket $ticket */
|
||||
$ticket = TicketMapper::get()->where('id', (int) $request->getData('id'))->execute();
|
||||
$ticket = TicketMapper::get()->where('id', $request->getDataInt('id') ?? 0)->execute();
|
||||
$this->createStandardReturnResponse($request, $response, $ticket);
|
||||
}
|
||||
|
||||
|
|
@ -277,7 +277,7 @@ final class ApiController extends Controller
|
|||
/** @var \Modules\Support\Models\Ticket $old */
|
||||
$old = TicketMapper::get()
|
||||
->with('task')
|
||||
->where('id', (int) $request->getData('id'))
|
||||
->where('id', $request->getDataInt('id') ?? 0)
|
||||
->execute();
|
||||
|
||||
$new = $this->updateTicketFromRequest($request, clone $old);
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ final class BackendController extends Controller
|
|||
|
||||
$view->data['ticket'] = $request->hasData('for')
|
||||
? $mapperQuery->where('task', (int) $request->getData('for'))->execute()
|
||||
: $mapperQuery->where('id', (int) $request->getData('id'))->execute();
|
||||
: $mapperQuery->where('id', $request->getDataInt('id') ?? 0)->execute();
|
||||
|
||||
if ($view->data['ticket']->id === 0) {
|
||||
$response->header->status = RequestStatusCode::R_404;
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@ echo $this->data['nav']->render(); ?>
|
|||
<template id="contentTpl">
|
||||
<div class="task-content">
|
||||
<!-- @todo bind js after adding template -->
|
||||
<?= $this->getData('editor')->render('task-edit'); ?>
|
||||
<?= $this->getData('editor')->getData('text')->render(
|
||||
<?= $this->data['editor']->render('task-edit'); ?>
|
||||
<?= $this->data['editor']->data['text']->render(
|
||||
'task-edit',
|
||||
'plain',
|
||||
'taskEdit',
|
||||
|
|
@ -164,8 +164,8 @@ echo $this->data['nav']->render(); ?>
|
|||
<template id="taskElementContentTpl">
|
||||
<div class="taskElement-content">
|
||||
<!-- @todo bind js after adding template -->
|
||||
<?= $this->getData('editor')->render('task-element-edit'); ?>
|
||||
<?= $this->getData('editor')->getData('text')->render(
|
||||
<?= $this->data['editor']->render('task-element-edit'); ?>
|
||||
<?= $this->data['editor']->data['text']->render(
|
||||
'task-element-edit',
|
||||
'plain',
|
||||
'taskElementEdit',
|
||||
|
|
@ -321,11 +321,11 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="portlet-head"><?= $this->getHtml('Message'); ?></div>
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<?= $this->getData('editor')->render('task-editor'); ?>
|
||||
<?= $this->data['editor']->render('task-editor'); ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<?= $this->getData('editor')->getData('text')->render(
|
||||
<?= $this->data['editor']->data['text']->render(
|
||||
'task-editor',
|
||||
'plain',
|
||||
'taskElementCreate',
|
||||
|
|
@ -347,7 +347,7 @@ echo $this->data['nav']->render(); ?>
|
|||
|
||||
<div class="form-group">
|
||||
<label for="iReceiver"><?= $this->getHtml('To'); ?></label>
|
||||
<?= $this->getData('accGrpSelector')->render('iReceiver', 'to', true); ?>
|
||||
<?= $this->data['accGrpSelector']->render('iReceiver', 'to', true); ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group wf-100">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user