As of this version OpenX stores dates in UTC time rather than in server time.
If you want historical statistics to be displayed with the correct timezone, upgrade your data manually. Learn more here.
Your statistics values will remain accurate even if you leave your data untouched.
show(array (
array (
'text' => $strDatabaseSettings,
'items' => array (
array (
'type' => $inputType,
'name' => 'aConfig[database][type]',
'text' => $strDbType,
'disabled' => $disableForm,
'onchange' => 'switchDbTypes(this);',
'value' => $aDatabase['database']['type'],
'items' => getSupportedDbTypes()
),
array (
'type' => 'break'
),
array (
'type' => 'checkbox',
'name' => 'aConfig[database][localsocket]',
'text' => $strDbLocal,
'onclick' => 'toggleSocketInput(this);',
'disabled'=> $disableForm,
'req' => false,
'value' => ($aDatabase['database']['localsocket'] || $aDatabase['database']['protocol'] == 'unix'),
),
array (
'type' => 'break'
),
array (
'type' => 'text',
'name' => 'aConfig[database][socket]',
'text' => $strDbSocket,
'disabled'=> $disableForm,
'req' => false,
'value' => $aDatabase['database']['socket']
),
array (
'type' => 'break'
),
array (
'type' => 'text',
'name' => 'aConfig[database][host]',
'text' => $strDbHost,
'disabled' => $disableForm,
'req' => true,
'value' => $aDatabase['database']['host']
),
array (
'type' => 'break'
),
array (
'type' => 'text',
'name' => 'aConfig[database][port]',
'text' => $strDbPort,
'disabled' => $disableForm,
'req' => true,
'value' => $aDatabase['database']['port']
),
array (
'type' => 'break'
),
array (
'type' => 'text',
'name' => 'aConfig[database][username]',
'text' => $strDbUser,
'disabled' => $disableForm,
'req' => true,
'autooff' => true,
'value' => $aDatabase['database']['username']
),
array (
'type' => 'break'
),
array (
'type' => 'password',
'name' => 'aConfig[database][password]',
'text' => $strDbPassword,
'disabled' => $disableForm,
'req' => false,
'autooff' => true,
'value' => $aDatabase['database']['password']
),
array (
'type' => 'break'
),
array (
'type' => 'text',
'name' => 'aConfig[database][name]',
'hint' => ($disableForm ? '' : $strDbNameHint),
'text' => $strDbName,
'disabled' => $disableForm,
'req' => true,
'value' => $aDatabase['database']['name']
)
)
),
array (
'text' => $strAdvancedSettings,
'items' => array (
array (
'type' => $inputType,
'name' => 'aConfig[table][type]',
'text' => $strTablesType,
'disabled' => $disableForm,
'value' => $aDatabase['table']['type'],
'items' => getSupportedTableTypes()
),
array (
'type' => 'break'
),
array (
'type' => 'text',
'name' => 'aConfig[table][prefix]',
'text' => $strTablesPrefix,
'disabled' => $disableForm,
'req' => false,
'maxlength' => '7',
'value' => $aDatabase['table']['prefix']
)
)
)
), $errormessage, 0, $imgPath);
?>