mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc
* added option to 'verbose' concatenate a list of items to class Lang * added option to strip tags from a string to class Markdown * fixed several instances of wrong categories on pages * actually display world state conditions for zone music * some typos all over the place
This commit is contained in:
@@ -99,6 +99,10 @@ class NpcsPage extends GenericPage
|
||||
array_unshift($this->title, $this->name);
|
||||
if ($this->category)
|
||||
array_unshift($this->title, Lang::npc('cat', $this->category[0]));
|
||||
|
||||
$form = $this->filterObj->getForm();
|
||||
if (isset($form['fa']) && !is_array($form['fa']))
|
||||
array_unshift($this->title, Lang::game('fa', $form['fa']));
|
||||
}
|
||||
|
||||
protected function generatePath()
|
||||
@@ -106,7 +110,7 @@ class NpcsPage extends GenericPage
|
||||
if ($this->category)
|
||||
$this->path[] = $this->category[0];
|
||||
|
||||
$form = $this->filterObj->getForm('form');
|
||||
$form = $this->filterObj->getForm();
|
||||
if (isset($form['fa']) && !is_array($form['fa']))
|
||||
$this->path[] = $form['fa'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user