1
0

location.php 429 B

1234567891011121314151617181920
  1. <?php /** @noinspection PhpUnhandledExceptionInspection */
  2. namespace App;
  3. /**
  4. * @var int $id
  5. */
  6. $location = Location::require($id);
  7. $core = Core::getInstance();
  8. $core->addBreadcrumb("/locations", __("Locations"));
  9. $core->addBreadcrumb($location->getUrl(), $location->name);
  10. $user = $core->getUser();
  11. $user->requireAdmin();
  12. View::include("header");
  13. View::include("location", compact("location"));
  14. View::include("footer");