Edwin Noorlander 60276cdccd Fix security vulnerabilities, remove dead code, and improve code quality
- Fix path traversal with realpath() validation in getPage() and executePhpFile()
- Remove insecure JWT secret fallback, require JWT_SECRET env var
- Fix IP spoofing by only trusting proxy headers from configured proxies
- Add Secure/HttpOnly/SameSite flags to all cookies
- Use env var for debug mode instead of hardcoded true
- Fix operator precedence bug in MQTTTracker track_user_flows check
- Remove dead code: duplicate is_dir() block, unused scanForPageNames()
- Remove htmlspecialchars() from filesystem path operations
- Remove duplicate require_once calls and redundant autoloader includes
- Fix unclosed </div> in getDirectoryListing()
- Escape breadcrumb titles and add lang param to search result URLs
- Make language prefixes dynamic from config instead of hardcoded nl|en
- Make HTML lang attribute dynamic, add go_to translation key
- Add aria-label/aria-expanded to sidebar toggle for accessibility
- Fix event listener leak in app.js using event delegation
- Remove console.log from production code
- Update guides (NL/EN) with sidebar toggle documentation
- Add TODO.md documenting all identified improvements
2026-02-16 15:05:27 +01:00

40 lines
1.4 KiB
PHP

<?php
return [
'site_title' => 'CodePress',
'home' => 'Home',
'search' => 'Zoeken',
'search_placeholder' => 'Zoeken...',
'search_button' => 'Zoeken',
'welcome' => 'Welkom',
'created' => 'Aangemaakt',
'modified' => 'Aangepast',
'author' => 'Auteur',
'manual' => 'Handleiding',
'no_content' => 'Geen inhoud gevonden',
'no_results' => 'Geen resultaten gevonden',
'results_found' => 'resultaten gevonden',
'breadcrumb_home' => 'Home',
'file_details' => 'Bestandsdetails',
'guide' => 'Handleiding',
'powered_by' => 'Mogelijk gemaakt door',
't_powered_by' => 'Mogelijk gemaakt door',
'directory_empty' => 'Deze map is leeg',
'page_not_found' => 'Pagina niet gevonden',
'page_not_found_text' => 'De pagina die u zoekt bestaat niet.',
'mappen' => 'Mappen',
'paginas' => 'Pagina\'s',
'author_website' => 'Auteur website',
'author_git' => 'Auteur Git',
'plugins' => 'Plugins',
'templates' => 'Templates',
'layouts' => 'Layouts',
'sidebar_content' => 'Sidebar + Content',
'content_only' => 'Alleen Content',
'sidebar_only' => 'Alleen Sidebar',
'content_sidebar' => 'Content + Sidebar',
'plugin_development' => 'Plugin Ontwikkeling',
'template_system' => 'Template Systeem',
'mqtt_tracking' => 'MQTT Tracking',
'real_time_analytics' => 'Real-time Analytics',
'go_to' => 'Ga naar'
];