diff --git a/action.php b/action.php index c4060bb..2f2705e 100644 --- a/action.php +++ b/action.php @@ -46,7 +46,7 @@ class action_plugin_childrenpages extends DokuWiki_Action_Plugin { return; } // Get the list of children pages - $children_types = [ 'animation', 'gameplay', 'dev', 'talk' ]; + $children_types = $this->getConf('children_list'); foreach ( $children_types as $child_type ) { $child_label = $this->getLang("btn_$child_type"); $this->addMenuItem($event, $child_type, $child_label); diff --git a/conf/default.php b/conf/default.php new file mode 100644 index 0000000..1b8843b --- /dev/null +++ b/conf/default.php @@ -0,0 +1,3 @@ +