aowow/pages/profiler.php
Sarjuuk 48527b0b68 Localization: remove search-group and move strings to main
Profiler: implemented frontpage (?profiler)
Announcements: parse for STATIC_URL and HOST_URL
2014-07-24 20:41:02 +02:00

29 lines
678 B
PHP

<?php
if (!defined('AOWOW_REVISION'))
die('illegal access');
class ProfilerPage extends GenericPage
{
protected $path = [1, 5];
protected $tabId = 1;
protected $tpl = 'profiler';
protected $gDataKey = true;
protected $js = ['profile_all.js', 'profile.js'];
protected $css = [['path' => 'Profiler.css']];
protected function generateContent()
{
$this->addJS('?data=realms&locale='.User::$localeId.'&t='.$_SESSION['dataKey']);
}
protected function generatePath() { }
protected function generateTitle()
{
array_unshift($this->title, Util::ucFirst(Lang::$main['_cpHead']));
}
}
?>