Don't force download of HTML member directory for consistency
This commit is contained in:
parent
6664fd5078
commit
cab1f53e2c
@ -53,7 +53,7 @@ if ($format == "html") {
|
||||
$htmltop = <<<END
|
||||
<!DOCTYPE html>
|
||||
<title>HACHE Member Directory</title>
|
||||
<style>
|
||||
<style nonce="$SECURE_NONCE">
|
||||
html, body {
|
||||
font-family: Roboto, DejaVu Sans, Arial, sans-serif;
|
||||
}
|
||||
@ -134,7 +134,6 @@ END;
|
||||
$html = $htmltop . $htmlmiddle . $htmlbottom;
|
||||
|
||||
header("Content-Type: text/html; charset=UTF-8");
|
||||
header("Content-disposition: attachment; filename=\"HACHE_Directory_" . date("Y-m-d") . ".html\"");
|
||||
echo $html;
|
||||
} else {
|
||||
\PhpOffice\PhpWord\Settings::setOutputEscapingEnabled(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user