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