Show runtime mPDF header payload
This commit is contained in:
parent
16de9b0c0c
commit
afd0ba8a8c
|
|
@ -3,6 +3,8 @@ $ipdId = (int) ($ipd_id ?? 0);
|
|||
$templateId = (int) ($template_id ?? 0);
|
||||
$templateName = (string) ($template_name ?? '');
|
||||
$html = (string) ($html ?? '');
|
||||
$runtimeHeader = (string) ($runtime_header ?? '');
|
||||
$runtimeFooter = (string) ($runtime_footer ?? '');
|
||||
?>
|
||||
<section class="content">
|
||||
<div class="card">
|
||||
|
|
@ -11,6 +13,11 @@ $html = (string) ($html ?? '');
|
|||
<span class="small text-muted">IPD <?= $ipdId ?> | Template <?= $templateId ?>: <?= esc($templateName) ?></span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h6>Runtime SetHTMLHeader() Payload</h6>
|
||||
<pre style="white-space:pre-wrap;word-break:break-word;font-family:Consolas,monospace;font-size:12px;"><?= esc($runtimeHeader !== '' ? $runtimeHeader : '(none)') ?></pre>
|
||||
<h6>Runtime SetHTMLFooter() Payload</h6>
|
||||
<pre style="white-space:pre-wrap;word-break:break-word;font-family:Consolas,monospace;font-size:12px;"><?= esc($runtimeFooter !== '' ? $runtimeFooter : '(none)') ?></pre>
|
||||
<h6>Exact HTML passed to WriteHTML()</h6>
|
||||
<pre style="white-space:pre-wrap;word-break:break-word;font-family:Consolas,monospace;font-size:12px;margin:0;"><?= esc($html) ?></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user