From 695846ffcc9f1c693663166579d001a2e194e580 Mon Sep 17 00:00:00 2001 From: saveline Date: Tue, 25 Aug 2015 11:06:05 +0200 Subject: [PATCH 1/2] Add locale for Paris --- phplib/base.php | 2 +- phplib/nav.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phplib/base.php b/phplib/base.php index f61f3de..d880902 100644 --- a/phplib/base.php +++ b/phplib/base.php @@ -24,7 +24,7 @@ $nagios_tag_categories = array("" => "Untagged", "action" => "Action Taken", "noaction" => "No Action Taken"); $nagios_tag_category_map = array("issue" => "action", "issuetimeperiod" => "action", "viewissue" => "action", "incorrecttimeperiod" => "noaction", "downtimeexpired" => "noaction", "downtimenotset" => "noaction", "thresholdincorrect" => "noaction", "checkfaulty" => "noaction"); -$locales = array("UK" => "Europe/London", "ET" => "America/New_York", "PT" => "America/Los_Angeles"); +$locales = array("UK" => "Europe/London", "ET" => "America/New_York", "PT" => "America/Los_Angeles","FR"=>"Europe/Paris"); $sleep_states = array(-1 => "Unknown", 0 => "Awake", 1 => "Asleep"); $sleep_state_icons = array(0 => "icon-eye-open", 1 => "icon-eye-close"); $sleep_state_levels = array(-1 => "Unknown", 1 => "NREM Stage 1", 2 => "NREM Stage 2", 3 => "NREM Stage 3", 4 => "REM"); diff --git a/phplib/nav.php b/phplib/nav.php index 77d478c..26870f4 100644 --- a/phplib/nav.php +++ b/phplib/nav.php @@ -52,6 +52,7 @@
  • London, UK
  • Brooklyn, NY
  • San Francisco, CA
  • +
  • Paris, FR