| 1234567891011121314151617181920 |
- <?php /** @noinspection PhpUnhandledExceptionInspection */
- namespace App;
- /**
- * @var int $id
- */
- $location = Location::require($id);
- $core = Core::getInstance();
- $core->addBreadcrumb("/locations", __("Locations"));
- $core->addBreadcrumb($location->getUrl(), $location->name);
- $user = $core->getUser();
- $user->requireAdmin();
- View::include("header");
- View::include("location", compact("location"));
- View::include("footer");
|