Fix uri parameter

This commit is contained in:
Dennis Eichhorn 2017-02-08 19:40:22 +01:00
parent f91b1d22be
commit bcf235ba4e
4 changed files with 12 additions and 12 deletions

View File

@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="6"><?= $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->getName(); ?></a>

View File

@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('Risk'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
@ -106,7 +106,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('RiskStatus'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iRiskConsequence"><?= $this->getText('RiskConsequence'); ?></label>
@ -161,7 +161,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('RiskObjects'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iRiskObjectName"><?= $this->getText('Name'); ?></label>
@ -202,7 +202,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('RiskObjectStatus'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iRiskObjectNameValue"><?= $this->getText('RiskObject'); ?></label>
@ -247,7 +247,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('Solution'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSolutionName"><?= $this->getText('Name'); ?></label>

View File

@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="6"><?= $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->getName(); ?></a>

View File

@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('Risk'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iName"><?= $this->getText('Name'); ?></label>
@ -106,7 +106,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('RiskStatus'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iRiskConsequence"><?= $this->getText('RiskConsequence'); ?></label>
@ -161,7 +161,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('RiskObjects'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iRiskObjectName"><?= $this->getText('Name'); ?></label>
@ -202,7 +202,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('RiskObjectStatus'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iRiskObjectNameValue"><?= $this->getText('RiskObject'); ?></label>
@ -247,7 +247,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getText('Solution'); ?></h1></header>
<div class="inner">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}csrf={$CSRF}'); ?>">
<form id="fRisk" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/controlling/riskmanagement?{?}&csrf={$CSRF}'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSolutionName"><?= $this->getText('Name'); ?></label>