From dabd47a4fe37006b7cd1cb84f50ee72bafac703d 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/dashboard.tpl.php | 6 +++--- Theme/Backend/mail-out-view.tpl.php | 4 ++-- Theme/Backend/mail-spam-view.tpl.php | 4 ++-- Theme/Backend/mail-trash-view.tpl.php | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Theme/Backend/dashboard.tpl.php b/Theme/Backend/dashboard.tpl.php index 9fcd835..17d4ce7 100644 --- a/Theme/Backend/dashboard.tpl.php +++ b/Theme/Backend/dashboard.tpl.php @@ -23,7 +23,7 @@ echo $this->getData('nav')->render(); ?>
@@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?> / $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?id=' . $value->uid); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}id=' . $value->uid); ?> seen == 0 ? ' class="unseen"' : ''; ?>> @@ -52,7 +52,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?id=' . $value->uid); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}id=' . $value->uid); ?> seen == 0 ? ' class="unseen"' : ''; ?>> diff --git a/Theme/Backend/mail-out-view.tpl.php b/Theme/Backend/mail-out-view.tpl.php index 7a139dc..9297d49 100644 --- a/Theme/Backend/mail-out-view.tpl.php +++ b/Theme/Backend/mail-out-view.tpl.php @@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
@@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> / $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?id=' . $value->uid); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}id=' . $value->uid); ?> seen == 0 ? ' class="unseen"' : ''; ?>> diff --git a/Theme/Backend/mail-spam-view.tpl.php b/Theme/Backend/mail-spam-view.tpl.php index 7a139dc..9297d49 100644 --- a/Theme/Backend/mail-spam-view.tpl.php +++ b/Theme/Backend/mail-spam-view.tpl.php @@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
@@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> / $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?id=' . $value->uid); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}id=' . $value->uid); ?> seen == 0 ? ' class="unseen"' : ''; ?>> diff --git a/Theme/Backend/mail-trash-view.tpl.php b/Theme/Backend/mail-trash-view.tpl.php index 7a139dc..9297d49 100644 --- a/Theme/Backend/mail-trash-view.tpl.php +++ b/Theme/Backend/mail-trash-view.tpl.php @@ -22,7 +22,7 @@ echo $this->getData('nav')->render(); ?>
@@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> / $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?id=' . $value->uid); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/messages/mail/single?{?}id=' . $value->uid); ?> seen == 0 ? ' class="unseen"' : ''; ?>>