aowow/endpoints/maps/maps.php
Sarjuuk 3edac3c77a Endpoints/Cache
* fix cache id collision when category == dbTypeId for a given dbType
 * increment version number to invalidate existing caches
 * maps endpoint doesn't need caching. It is entirely static content.
2025-10-08 19:48:21 +02:00

29 lines
668 B
PHP

<?php
namespace Aowow;
if (!defined('AOWOW_REVISION'))
die('illegal access');
class MapsBaseResponse extends TemplateResponse
{
protected string $template = 'maps';
protected string $pageName = 'maps';
protected ?int $activeTab = parent::TAB_TOOLS;
protected array $breadcrumb = [1, 1];
protected array $dataLoader = ['zones'];
protected array $scripts = [[SC_JS_FILE, 'js/maps.js'], [SC_CSS_STRING, 'zone-picker { margin-left: 4px }']];
protected function generate() : void
{
$this->h1 = Lang::maps('maps');
array_unshift($this->title, $this->h1);
parent::generate();
}
}
?>