mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Template/Update (Cleanup)
* smush leftover changes into a commit * create fresh db dump, without dbc placeholders * version bump ... all done
This commit is contained in:
@@ -8,7 +8,7 @@ if (!defined('AOWOW_REVISION'))
|
||||
|
||||
class InfoboxMarkup extends Markup
|
||||
{
|
||||
public function __construct(private array $items = [], array $opts, string $parent = '')
|
||||
public function __construct(private array $items, array $opts, string $parent = '')
|
||||
{
|
||||
parent::__construct('', $opts, $parent);
|
||||
}
|
||||
|
||||
@@ -108,6 +108,9 @@ class Markup implements \JsonSerializable
|
||||
else if ($match[1] == 'icondb')
|
||||
$match[1] = 'icon';
|
||||
|
||||
// todo - respecte forced locale
|
||||
// match[0] => [achievement=3579 domain=ru], [spell=40120 site=fr]
|
||||
|
||||
if ($match[1] == 'money')
|
||||
{
|
||||
if (stripos($match[0], 'items'))
|
||||
|
||||
Reference in New Issue
Block a user