Skip to content

Commit

Permalink
Add wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Apr 15, 2024
1 parent 2b6e98c commit 28e15c6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plugins/Sandbox/templates/QrCodeExamples/complex.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@
<p>Here we use a controller action to allow rendering also <?php echo strtoupper($ext);?> directly</p>

<div class="col-md-6" style="margin-bottom: 16px;">
<?php if ($result) { ?>
<h4>Result</h4>
<?php
if ($result) {
echo '<h4>Result</h4>';
echo $this->QrCode->$ext($result, $options);
}
echo $this->QrCode->$ext($result, $options);
?>

<details style="margin-top: 10px;">
<summary>Show text</summary>
<code><?php echo h($result); ?></code>
</details>

<?php } ?>
</div>

<h4>Generate QR Code</h4>
Expand Down

0 comments on commit 28e15c6

Please sign in to comment.