make the configuration defaults data shareable
authorDenis Ovsienko <denis@ovsienko.info>
Fri, 30 Nov 2018 22:42:21 +0000 (22:42 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Fri, 30 Nov 2018 23:47:45 +0000 (23:47 +0000)
commitc19194eed28b7d4bee99d870a6fd27fb6912db03
tree46570a6ecc80ed5945c993680f5c8cc0c5140882
parent8e0ca19e727e9d6c0e6daf853eb3ff0f48609152
make the configuration defaults data shareable

Move the array from resetUIConfig() to a new function,
getConfigDefaults(). Place the new function in dictionary.php as that is
the best way to make it available in the installer (which still does not
use it though). Update renderUIResetForm() to use a new opcode that
works better with the hardcoded require_once in index.php.
wwwroot/inc/dictionary.php
wwwroot/inc/interface-config.php
wwwroot/inc/navigation.php
wwwroot/inc/ophandlers.php
wwwroot/index.php