Touren application
[infodrom.org/touren.infodrom.org] / controller / indexcontroller.class.php
index 09df359..adde583 100644 (file)
@@ -17,6 +17,12 @@ class IndexController extends ControllerBase implements ControllerInterface
                   'title' => 'Home'];
        $list[] = ['url' => $this->app->getBaseURL() . 'index/settings',
                   'title' => 'Einstellungen'];
+       if ($this->app->isAdmin()) {
+           $list[] = ['url' => $this->app->getBaseURL() . 'tour/newmember',
+                      'title' => 'Neuer Biker'];
+           $list[] = ['url' => $this->app->getBaseURL() . 'tour/new',
+                      'title' => 'Neue Tour'];
+       }
        $list[] = ['url' => $this->app->getBaseURL() . 'account/logout',
                   'title' => 'Logout'];