Files
aowow/pages/maps.php
Sarjuuk 9b0c4c69f8 - wrap json_encode in Util::toJson to always encode with the same flags
- implemented secondary tooltips with spawnPoints
- merged Mapper.js back into global.js
 * fixed wrong id for Nexus Instance
 * the ToC Dungeon no longer has a second layer
- fixed displaying waypoints as spawns
- images in pageText are now PNG instead of JPG to accomodate for transparency
2015-01-18 18:10:01 +01:00

39 lines
903 B
PHP

<?php
if (!defined('AOWOW_REVISION'))
die('illegal access');
// tabId 1: Tools g_initHeader()
class MapsPage extends GenericPage
{
protected $tpl = 'maps';
protected $tabId = 1;
protected $path = [1, 1];
protected $mode = CACHE_TYPE_NONE;
protected $js = ['maps.js'];
protected $css = [['string' => 'zone-picker { margin-left: 4px }']];
public function __construct($pageCall, $__)
{
parent::__construct($pageCall, $__);
$this->name = Lang::$maps['maps'];
}
protected function generateContent()
{
// add conditional js
$this->addJS('?data=zones&locale=' . User::$localeId . '&t=' . $_SESSION['dataKey']);
}
protected function generateTitle()
{
array_unshift($this->title, $this->name);
}
protected function generatePath() {}
}
?>