diff --git a/emhttp/plugins/dynamix/scripts/feedback b/emhttp/plugins/dynamix/scripts/feedback index 6952d8064..e1593d233 100755 --- a/emhttp/plugins/dynamix/scripts/feedback +++ b/emhttp/plugins/dynamix/scripts/feedback @@ -10,170 +10,177 @@ * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. */ -?> - + $docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp'; require_once "$docroot/webGui/include/Helpers.php"; -extract(parse_plugin_cfg('dynamix',true)); +extract(parse_plugin_cfg('dynamix', true)); // add translations $_SERVER['REQUEST_URI'] = ''; -$login_locale = _var($display,'locale'); +$login_locale = _var($display, 'locale'); require_once "$docroot/webGui/include/Translations.php"; -$var = parse_ini_file('state/var.ini'); -$unraid = parse_ini_file('/etc/unraid-version'); -$keyfile = trim(base64_encode(@file_get_contents($var['regFILE']))); -$width = in_array($display['theme'],['azure','gray']) ? '98.4%' : '100%'; - -$style = [""; - -$html = ["
"._('NOTE').": "._('Submission of this bug report will automatically send your system diagnostics to Lime Technology').".
"; -$html[] = ": .
+