You are here

function bu_get_settings in Browser update 6

Same name and namespace in other branches
  1. 7 bu.module \bu_get_settings()
1 call to bu_get_settings()
bu_init in ./bu.module

File

./bu.module, line 25

Code

function bu_get_settings() {
  return array(
    'bu' => array(
      'firefox' => (double) bu_get_versions('firefox', variable_get('bu_browsers_firefox', 5)),
      'ie' => (double) bu_get_versions('ie', variable_get('bu_browsers_ie', 3)),
      'opera' => (double) bu_get_versions('opera', variable_get('bu_browsers_opera', 2)),
      'safari' => (double) bu_get_versions('safari', variable_get('bu_browsers_safari', 3)),
      'text' => variable_get('bu_settings_text', ''),
      'reminder' => (int) variable_get('bu_settings_reminder', 3),
      'debug' => (bool) variable_get('bu_settings_debug', 0),
      'blank' => (bool) variable_get('bu_settings_blank', 0),
    ),
  );
}