Commit
This commit is contained in:
parent
41d6e6f9f4
commit
768c040e86
@ -45,7 +45,7 @@
|
|||||||
<h4>Tillatelser</h4>
|
<h4>Tillatelser</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="<?=$this->config['root_url']?>race/simulator.php">Simulator</a></li>
|
<li><a href="<?=$this->config['root_url']?>race/simulator.php">Simulator</a></li>
|
||||||
<li><a href="<?=$this->config['root_url']?>race/teamtable/edit/index.php">Endre lagene</a></li>
|
<li><a href="<?=$this->config['root_url']?>race/configure/index.php">Konfigurer</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?php $app = require '../../../app/inc.php';
|
<?php $app = require '../../../app/inc.php';
|
||||||
|
|
||||||
// redirect
|
// redirect
|
||||||
$app->redirect('edit/');
|
$app->redirect('teams/');
|
@ -26,7 +26,7 @@ if (!$team)
|
|||||||
if ($confirm)
|
if ($confirm)
|
||||||
{
|
{
|
||||||
$app->view('template/header', ['title' => 'Bekreft sletting']);
|
$app->view('template/header', ['title' => 'Bekreft sletting']);
|
||||||
$app->view('pages/race/teamtable/edit/delete', ['team' => $team]);
|
$app->view('pages/race/configure/teams/delete', ['team' => $team]);
|
||||||
$app->view('template/footer');
|
$app->view('template/footer');
|
||||||
die();
|
die();
|
||||||
}
|
}
|
@ -5,5 +5,5 @@ $model = $app->model('Teamtable');
|
|||||||
$teams = $model->getAll();
|
$teams = $model->getAll();
|
||||||
|
|
||||||
$app->view('template/header', ['title' => 'Endre lagtabell']);
|
$app->view('template/header', ['title' => 'Endre lagtabell']);
|
||||||
$app->view('pages/race/teamtable/edit/index', ["teams" => $teams]);
|
$app->view('pages/race/configure/teams/index', ["teams" => $teams]);
|
||||||
$app->view('template/footer');
|
$app->view('template/footer');
|
@ -64,7 +64,7 @@ if ($item !== NULL)
|
|||||||
$app->view('template/header', [
|
$app->view('template/header', [
|
||||||
'title' => $title
|
'title' => $title
|
||||||
]);
|
]);
|
||||||
$app->view('pages/race/teamtable/edit/update', [
|
$app->view('pages/race/configure/teams/update', [
|
||||||
"team" => $team,
|
"team" => $team,
|
||||||
"title" => $title
|
"title" => $title
|
||||||
]);
|
]);
|
||||||
@ -77,7 +77,7 @@ $title = "Legg til lag";
|
|||||||
$app->view('template/header', [
|
$app->view('template/header', [
|
||||||
'title' => $title
|
'title' => $title
|
||||||
]);
|
]);
|
||||||
$app->view('pages/race/teamtable/edit/update', [
|
$app->view('pages/race/configure/teams/update', [
|
||||||
"team" => new Team,
|
"team" => new Team,
|
||||||
"title" => $title
|
"title" => $title
|
||||||
]);
|
]);
|
Reference in New Issue
Block a user