From 034110d2aa25f23d2a44285fa3f42cf29fab7c8d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 8 Feb 2017 19:28:55 +0100 Subject: [PATCH] Pass uri query parameter --- Theme/Backend/task-create.tpl.php | 2 +- Theme/Backend/task-dashboard.tpl.php | 2 +- Theme/Backend/task-single.tpl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Theme/Backend/task-create.tpl.php b/Theme/Backend/task-create.tpl.php index fcef0d1..4c227a9 100644 --- a/Theme/Backend/task-create.tpl.php +++ b/Theme/Backend/task-create.tpl.php @@ -24,7 +24,7 @@ echo $this->getData('nav')->render(); ?>

getText('Task'); ?>

-
+ $task) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/single?{?}&id=' . $task->getId()); + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/single?{?{?}}&id=' . $task->getId()); $color = 'darkred'; if($task->getStatus() === \Modules\Tasks\Models\TaskStatus::DONE) { $color = 'green'; } elseif($task->getStatus() === \Modules\Tasks\Models\TaskStatus::OPEN) { $color = 'darkblue'; } diff --git a/Theme/Backend/task-single.tpl.php b/Theme/Backend/task-single.tpl.php index 20fcbad..d229fff 100644 --- a/Theme/Backend/task-single.tpl.php +++ b/Theme/Backend/task-single.tpl.php @@ -86,7 +86,7 @@ echo $this->getData('nav')->render(); ?>
- +
diff --git a/Theme/Backend/task-dashboard.tpl.php b/Theme/Backend/task-dashboard.tpl.php index a23365b..bbe8ef4 100644 --- a/Theme/Backend/task-dashboard.tpl.php +++ b/Theme/Backend/task-dashboard.tpl.php @@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>