*/ declare(strict_types = 1); error_reporting(E_ALL); ini_set('display_errors', "1"); require_once __DIR__ . "/functions/functions.php"; if (session_status() != PHP_SESSION_ACTIVE) { session_start(); } // This array contains all available languages $allowed_langs = ['ar', 'de', 'en', 'hu', 'id', 'it', 'pl','pt']; // Some languages are in translation. They will only be available for logged in users. if (isset($_GET['navlang'])) { $_SESSION['lang'] = $_GET['navlang']; if (!in_array($_SESSION['lang'], $allowed_langs)) $_SESSION['lang'] = 'de'; } else if (!isset($_SESSION['lang'])) { $_SESSION['lang'] = MD_STD::lang_getfrombrowser($allowed_langs, 'en', "", false); } $lang = $_SESSION['lang']; require __DIR__ . "/translation-importer/$lang/csvxml-overview.php"; $toInject = ' '; echo printHTMLHead($toInject); echo '

' . $csvxml_overview['currently_approved_tags'] . '

' . $csvxml_overview['download_csv_all'] . '
' . $csvxml_overview['select_required_fields'] . ' ' . $csvxml_overview['select_all_fields'] . '
'; require __DIR__ . "/values/availableFields.php"; $tooltips = []; foreach ($availableFields as $headline => $fields) { echo "

{$headline}

'; } echo '
'; echo implode($tooltips); echo ' ';