* 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:
Sarjuuk
2017-04-22 00:59:34 +02:00
parent 959d0ace0b
commit 6377a9e659
20 changed files with 149 additions and 53 deletions

View File

@@ -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'];
}