Commit b4d06b80 authored by Ad Schellevis's avatar Ad Schellevis

move get_locale_list into system.php (single usage)

parent 1751d30a
...@@ -32,6 +32,14 @@ require_once("functions.inc"); ...@@ -32,6 +32,14 @@ require_once("functions.inc");
require_once("filter.inc"); require_once("filter.inc");
require_once("shaper.inc"); require_once("shaper.inc");
function get_locale_list()
{
$locales = array('en_US' => gettext('English'));
asort($locales);
return $locales;
}
$pconfig['hostname'] = $config['system']['hostname']; $pconfig['hostname'] = $config['system']['hostname'];
$pconfig['domain'] = $config['system']['domain']; $pconfig['domain'] = $config['system']['domain'];
list($pconfig['dns1'],$pconfig['dns2'],$pconfig['dns3'],$pconfig['dns4']) = $config['system']['dnsserver']; list($pconfig['dns1'],$pconfig['dns2'],$pconfig['dns3'],$pconfig['dns4']) = $config['system']['dnsserver'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment