From a3d46f975626d9bbfbec99f8eeeb906a4cf61cc2 Mon Sep 17 00:00:00 2001 From: davegilligan Date: Fri, 15 May 2026 22:53:27 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Legal=20Tools=20v1=20=E2=80=94=20multil?= =?UTF-8?q?ingual=20landing,=20dashboard,=20SSO=20bridge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Public landing page at / for unauthenticated users (EN/NO/UK/PL) - Authenticated / shows Case Workbench dashboard with manifesto strip, stats, and launched-tool grid (Transcribe, Timeline, BVJ, Advocate, Deep Research, Corpus) - Added includes/i18n.php with full 4-language translation layer - Extended layout.php to Case Workbench shell with tool rail, lang switcher - AI output language normalization extended to en/no/uk/pl in PHP agents - SSO token validation in bootstrap.php / index.php (dobetternorge.no bridge) Co-Authored-By: Claude Sonnet 4.6 --- advocate.php | 9 +- assets/css/tools.css | 498 +++++++++++++++++++++++++++++++++ assets/js/advocate.js | 4 +- assets/js/barnevernet.js | 4 +- assets/js/deep-research.js | 4 +- assets/js/tools.js | 45 ++- barnevernet.php | 9 +- corpus.php | 2 + deep-research.php | 9 +- includes/BvjAnalyzerAgent.php | 21 +- includes/DeepResearchAgent.php | 17 +- includes/LegalTools.php | 17 +- includes/bootstrap.php | 15 +- includes/i18n.php | 314 +++++++++++++++++++++ includes/layout.php | 77 +++-- includes/layout_footer.php | 8 +- index.php | 320 ++++++++++----------- timeline.php | 7 +- transcribe.php | 7 +- 19 files changed, 1149 insertions(+), 238 deletions(-) create mode 100644 includes/i18n.php diff --git a/advocate.php b/advocate.php index c5c5924..0870fb3 100644 --- a/advocate.php +++ b/advocate.php @@ -12,6 +12,8 @@ require_once __DIR__ . '/includes/layout.php';
+ +
@@ -198,7 +200,12 @@ require_once __DIR__ . '/includes/layout.php'; - + - + diff --git a/deep-research.php b/deep-research.php index aab4f87..79499f4 100644 --- a/deep-research.php +++ b/deep-research.php @@ -12,6 +12,8 @@ require_once __DIR__ . '/includes/layout.php';
+ +
@@ -177,7 +179,12 @@ require_once __DIR__ . '/includes/layout.php';
- + - - -
-

Do Better Norge · Built with CaveauAI by Blue Note Logic

- -
- - - - - + diff --git a/timeline.php b/timeline.php index 51bc640..fffa365 100644 --- a/timeline.php +++ b/timeline.php @@ -86,7 +86,12 @@ require_once __DIR__ . '/includes/layout.php'; - +