Pass uri query parameter

This commit is contained in:
Dennis Eichhorn 2017-02-08 19:28:55 +01:00
parent 0f510c38b9
commit 32822f9114
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ $accounts = $this->getData('accounts');
<td colspan="3"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach($accounts as $key => $account) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/profile/single?id=' . $account->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/profile/single?{?}id=' . $account->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $account->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $account->getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(); ?></a>

View File

@ -100,7 +100,7 @@ echo $this->getData('nav')->render();
<tr><td colspan="4"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?{?}id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>