diff --git a/README.md b/README.md
index 3ccf1c2..e8c9009 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Polylang wordt gebruikt voor automatische taalkeuze wanneer beschikbaar; anders
## Instellingen
-Het beheer bestaat uit drie tabbladen: **Algemeen**, **Workflows** en **Teksten**.
+Het beheer bestaat uit **Algemeen**, **Workflows**, **Teksten** en **Over deze plugin**. Het laatste tabblad toont de gebruikte techniek, de actuele versies en informatie over onderhoud.
- Ontvangstadres en naam voor het e-mailonderwerp.
- Optioneel afzenderadres en afzendernaam voor uitsluitend formuliermails. Een leeg adres behoudt de bestaande standaardafzender. Reply-To is altijd het bezoekersadres. Kies een adres op een domein waarvoor de mailserver via SPF/DKIM mag versturen. Het technische envelope/Return-Path-adres wordt niet door deze instelling aangepast; een mailserver of SMTP-plugin kan de uiteindelijke afzender overschrijven.
diff --git a/assets/admin.css b/assets/admin.css
index 46d74a2..9326134 100644
--- a/assets/admin.css
+++ b/assets/admin.css
@@ -1 +1,3 @@
-.hgcf-admin{max-width:1160px}.hgcf-admin-header,.hgcf-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}.hgcf-admin-header h1{font-size:25px}.hgcf-admin-header p,.hgcf-panel-heading p{margin:8px 0;color:#50575e}.hgcf-language-status{background:#e8eef4;border:1px solid #d3dee9;padding:8px 13px;border-radius:20px;white-space:nowrap}.hgcf-admin-tabs{display:flex;gap:5px;border-bottom:1px solid #c3c4c7;margin-bottom:24px}.hgcf-admin-tabs a{color:#50575e;text-decoration:none;padding:14px 22px;font-size:15px;font-weight:600;border-bottom:3px solid transparent}.hgcf-admin-tabs a.is-active{color:#135e96;border-color:#2271b1}.hgcf-admin-tabs span{background:#e2e4e7;border-radius:15px;padding:2px 7px;margin-left:6px}.hgcf-admin-panel[hidden]{display:none}.hgcf-admin-card,.hgcf-workflow{background:#fff;border:1px solid #dcdcde;border-radius:8px;margin:0 0 20px}.hgcf-admin-card{padding:24px 28px}.hgcf-admin-card h2{margin-top:0}.hgcf-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 26px}.hgcf-admin-field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.hgcf-admin-field>span,.hgcf-field-matrix label>span{font-weight:600;color:#1d2327}.hgcf-admin-field input,.hgcf-admin-field textarea{width:100%;max-width:none;min-height:38px}.hgcf-admin-field small{font-weight:400;color:#646970;line-height:1.6}.hgcf-admin-note{padding:15px 18px;background:#f0f6fc;border-left:3px solid #72aee6;margin-top:24px}.hgcf-workflow>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;font-size:16px;font-weight:600;list-style:none}.hgcf-workflow>summary::before{content:'›';font-size:24px;margin-right:5px}.hgcf-workflow[open]>summary::before{transform:rotate(90deg)}.hgcf-workflow-name{flex:1}.hgcf-workflow-badge{font-size:12px;background:#edf6ef;color:#245c31;padding:4px 9px;border-radius:15px}.hgcf-workflow-body{padding:0 24px 24px;border-top:1px solid #e8e8ea}.hgcf-workflow-toolbar{display:flex;justify-content:space-between;gap:20px;padding:20px 0}.hgcf-field-matrix{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.hgcf-field-matrix label{display:flex;flex-direction:column;gap:8px}.hgcf-field-matrix select{max-width:none;width:100%;min-height:36px}.hgcf-checkbox{display:block;margin-top:20px}.hgcf-flow-services,.hgcf-flow-times{border-top:1px solid #e8e8ea;margin-top:24px;padding-top:6px}.hgcf-service-row{display:flex;align-items:center;gap:16px}.hgcf-service-row .hgcf-admin-field{flex:1;min-width:0}.hgcf-service-row button{white-space:nowrap;margin-top:18px}.hgcf-workflow-texts{margin-top:24px;border-top:1px solid #e8e8ea;padding-top:18px}.hgcf-workflow-texts summary{cursor:pointer;font-weight:600}.hgcf-save-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:16px 24px;margin-top:25px;z-index:5;box-shadow:0 -2px 8px #00000008}.hgcf-save-bar span{color:#646970}.hgcf-admin [hidden]{display:none!important}@media(max-width:782px){.hgcf-admin-header,.hgcf-panel-heading{align-items:flex-start;flex-direction:column}.hgcf-admin-grid{grid-template-columns:1fr}.hgcf-field-matrix{grid-template-columns:1fr 1fr}.hgcf-admin-card{padding:20px}.hgcf-service-row{flex-wrap:wrap}.hgcf-admin-tabs a{padding:12px}.hgcf-save-bar{flex-wrap:wrap}.hgcf-language-status{white-space:normal}}
+.hgcf-admin{max-width:1160px}.hgcf-admin-header,.hgcf-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}.hgcf-admin-header h1{font-size:25px}.hgcf-admin-header p,.hgcf-panel-heading p{margin:8px 0;color:#50575e}.hgcf-language-status{background:#e8eef4;border:1px solid #d3dee9;padding:8px 13px;border-radius:20px;white-space:nowrap}.hgcf-admin-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid #c3c4c7;margin-bottom:24px}.hgcf-admin-tabs a{color:#50575e;text-decoration:none;padding:14px 22px;font-size:15px;font-weight:600;border-bottom:3px solid transparent}.hgcf-admin-tabs a.is-active{color:#135e96;border-color:#2271b1}.hgcf-admin-tabs span{background:#e2e4e7;border-radius:15px;padding:2px 7px;margin-left:6px}.hgcf-admin-panel[hidden]{display:none}.hgcf-admin-card,.hgcf-workflow{background:#fff;border:1px solid #dcdcde;border-radius:8px;margin:0 0 20px}.hgcf-admin-card{padding:24px 28px}.hgcf-admin-card h2{margin-top:0}.hgcf-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 26px}.hgcf-admin-field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.hgcf-admin-field>span,.hgcf-field-matrix label>span{font-weight:600;color:#1d2327}.hgcf-admin-field input,.hgcf-admin-field textarea{width:100%;max-width:none;min-height:38px}.hgcf-admin-field small{font-weight:400;color:#646970;line-height:1.6}.hgcf-admin-note{padding:15px 18px;background:#f0f6fc;border-left:3px solid #72aee6;margin-top:24px}.hgcf-workflow>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;font-size:16px;font-weight:600;list-style:none}.hgcf-workflow>summary::before{content:'›';font-size:24px;margin-right:5px}.hgcf-workflow[open]>summary::before{transform:rotate(90deg)}.hgcf-workflow-name{flex:1}.hgcf-workflow-badge{font-size:12px;background:#edf6ef;color:#245c31;padding:4px 9px;border-radius:15px}.hgcf-workflow-body{padding:0 24px 24px;border-top:1px solid #e8e8ea}.hgcf-workflow-toolbar{display:flex;justify-content:space-between;gap:20px;padding:20px 0}.hgcf-field-matrix{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.hgcf-field-matrix label{display:flex;flex-direction:column;gap:8px}.hgcf-field-matrix select{max-width:none;width:100%;min-height:36px}.hgcf-checkbox{display:block;margin-top:20px}.hgcf-flow-services,.hgcf-flow-times{border-top:1px solid #e8e8ea;margin-top:24px;padding-top:6px}.hgcf-service-row{display:flex;align-items:center;gap:16px}.hgcf-service-row .hgcf-admin-field{flex:1;min-width:0}.hgcf-service-row button{white-space:nowrap;margin-top:18px}.hgcf-workflow-texts{margin-top:24px;border-top:1px solid #e8e8ea;padding-top:18px}.hgcf-workflow-texts summary{cursor:pointer;font-weight:600}.hgcf-save-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:16px 24px;margin-top:25px;z-index:5;box-shadow:0 -2px 8px #00000008}.hgcf-save-bar span{color:#646970}.hgcf-admin [hidden]{display:none!important}@media(max-width:782px){.hgcf-admin-header,.hgcf-panel-heading{align-items:flex-start;flex-direction:column}.hgcf-admin-grid{grid-template-columns:1fr}.hgcf-field-matrix{grid-template-columns:1fr 1fr}.hgcf-admin-card{padding:20px}.hgcf-service-row{flex-wrap:wrap}.hgcf-admin-tabs a{padding:12px}.hgcf-save-bar{flex-wrap:wrap}.hgcf-language-status{white-space:normal}}
+
+.hgcf-tech-table{overflow-x:auto}.hgcf-tech-table th,.hgcf-tech-table td{padding:12px 14px}.hgcf-tech-table td:first-child{font-weight:600}
diff --git a/assets/admin.js b/assets/admin.js
index 54e84fe..d418b2d 100644
--- a/assets/admin.js
+++ b/assets/admin.js
@@ -1,7 +1,7 @@
(() => {
const app=document.querySelector('.hgcf-admin');if(!app)return;
const panels=[...app.querySelectorAll('.hgcf-admin-panel')];const tabs=[...app.querySelectorAll('.hgcf-admin-tabs a')];
- function selectTab(id){if(!panels.some(p=>p.id===id))id='hgcf-general';panels.forEach(p=>p.hidden=p.id!==id);tabs.forEach(t=>{const active=t.hash==='#'+id;t.classList.toggle('is-active',active);if(active)t.setAttribute('aria-current','page');else t.removeAttribute('aria-current');});}
+ function selectTab(id){if(!panels.some(p=>p.id===id))id='hgcf-general';panels.forEach(p=>p.hidden=p.id!==id);const saveBar=app.querySelector('.hgcf-save-bar');if(saveBar)saveBar.hidden=id==='hgcf-info';tabs.forEach(t=>{const active=t.hash==='#'+id;t.classList.toggle('is-active',active);if(active)t.setAttribute('aria-current','page');else t.removeAttribute('aria-current');});}
tabs.forEach(tab=>tab.addEventListener('click',()=>selectTab(tab.hash.slice(1))));selectTab(location.hash.slice(1));window.addEventListener('hashchange',()=>selectTab(location.hash.slice(1)));
let sequence=0;const unique=prefix=>prefix+Date.now().toString(36)+(++sequence).toString(36);
function initCard(card){
diff --git a/hg-contactform.php b/hg-contactform.php
index 26ca0fa..91f129d 100644
--- a/hg-contactform.php
+++ b/hg-contactform.php
@@ -2,13 +2,13 @@
/**
* Plugin Name: HG Contactformulier
* Description: Configureerbaar contactformulier met workflows en talen vanuit de website, zonder inzendingen op te slaan.
- * Version: 1.3.0
+ * Version: 1.3.1
* Requires at least: 6.5
* Requires PHP: 8.1
* Text Domain: hg-contactform
*/
if (!defined('ABSPATH')) { exit; }
-define('HGCF_VERSION','1.3.0');
+define('HGCF_VERSION','1.3.1');
define('HGCF_FILE',__FILE__);
require_once __DIR__.'/includes/settings.php';
require_once __DIR__.'/includes/language.php';
diff --git a/includes/admin.php b/includes/admin.php
index 928c2c5..45c1773 100644
--- a/includes/admin.php
+++ b/includes/admin.php
@@ -32,17 +32,34 @@ function hgcf_workflow_card($flow,$index,$languages,$template=false) {
is_string($manifest[$key]['version']??null)?$manifest[$key]['version']:'Niet beschikbaar';
+ $polylang=function_exists('pll_languages_list')?(defined('POLYLANG_VERSION')?POLYLANG_VERSION:'Actief; versie niet beschikbaar'):'Niet actief';
+ $rows=[
+ ['HG Contactformulier',HGCF_VERSION,'Formulier, workflows en beheer'],
+ ['WordPress',get_bloginfo('version'),'Website en verzending via wp_mail'],
+ ['PHP',PHP_VERSION,'Uitvoering op de server'],
+ ['Polylang',$polylang,'Taalkeuze en vertalingen'],
+ ['ALTCHA-widget',$version('widget'),'Antispamcontrole in de browser'],
+ ['ALTCHA PHP-library',$version('php'),'Controle van het antwoord op de server'],
+ ]; ?>
+ Gebruikte onderdelen en hun versies op deze website. ALTCHA is lokaal gebundeld. De browser haalt een uitdaging op bij deze website; de server controleert het antwoord voordat er mail wordt verstuurd. Hiervoor worden geen externe verificatiediensten gebruikt. De basisbescherming bestaat uit een verborgen botveld, een ondertekende tijdcontrole, formuliertokens en een verzendlimiet. Met ALTCHA worden ook verlopen en eerder gebruikte antwoorden geweigerd. Berichten worden verstuurd via de bestaande mailvoorziening van WordPress en niet als inzendingen opgeslagen. Voor antispam worden tijdelijk technische limiet- en verificatiegegevens bewaard. ALTCHA wordt bijgewerkt als onderdeel van een nieuwe versie van HG Contactformulier. Er worden geen nieuwe versies automatisch van een CDN geladen. Voor ontwikkelaars: de repository bevat Over deze plugin
Onderdeel Versie Functie Antispam en verzending
Onderhoud
scripts/update_altcha.py voor versiecontrole en het bijwerken van de gebundelde onderdelen. Test een update voordat je de nieuwe pluginversie uitrolt.
Beheer je mailinstellingen, bezoekersroutes en formulierteksten.