From 93aaffd5000c946609dc79b0c1d0d0ac3c83c262 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 7 Oct 2017 21:53:40 +0200 Subject: [PATCH] Add translation to kalender and append . to dates --- www/kalender/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/www/kalender/index.php b/www/kalender/index.php index 1d9b32d..941adf9 100644 --- a/www/kalender/index.php +++ b/www/kalender/index.php @@ -4,6 +4,7 @@ setlocale(LC_ALL, 'no_NO'); require __DIR__ . '/../../src/_autoload.php'; require __DIR__ . '/../../sql_config.php'; use \pvv\side\Agenda; +$months_translations = ['Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember']; $pdo = new \PDO($dbDsn, $dbUser, $dbPass); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $agenda = new \pvv\side\Agenda([ @@ -41,7 +42,7 @@ $days_in_month = date('t', mktime(0, 0, 0, $month, 1, $year));
-

Aktiviteter for

+

Aktiviteter for

-

  • +
  • . -
  • +
  • .