* (internal) moved changelog to twig

* added changelog menu item to kathrine template
* (fix) if changelog type or where is set to 0 then display as unknown
This commit is contained in:
slawkens1
2017-11-23 17:55:42 +01:00
parent 036520566c
commit d9675b1bc6
6 changed files with 62 additions and 55 deletions

View File

@@ -93,6 +93,7 @@ else {
'/^account\/character\/comment\/?$/' => array('subtopic' => 'accountmanagement', 'action' => 'change_comment'),
'/^account\/confirm_email\/[A-Za-z0-9-_]+\/?$/' => array('subtopic' => 'accountmanagement', 'action' => 'confirm_email', 'v' => '$2'),
'/^characters\/[A-Za-z0-9-_%+\']+$/' => array('subtopic' => 'characters', 'name' => '$1'),
'/^changelog\/[0-9]+\/?$/' => array('subtopic' => 'changelog', 'page' => '$1'),
'/^commands\/add\/?$/' => array('subtopic' => 'commands', 'action' => 'add'),
'/^commands\/edit\/?$/' => array('subtopic' => 'commands', 'action' => 'edit'),
'/^faq\/add\/?$/' => array('subtopic' => 'faq', 'action' => 'add'),