fix some js escaping issues

work^2
Ondřej Hruška 7 years ago
parent c55ceb1298
commit 1a05b70b6c
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 4
      pages/cfg_system.php

@ -8,7 +8,7 @@
<div class="Row buttons2"> <div class="Row buttons2">
<a class="button icn-restore" <a class="button icn-restore"
onclick="return confirm('<?= tr('persist.confirm_restore') ?>');" onclick="return confirm('<?= e(tr('persist.confirm_restore')) ?>');"
href="<?= e(url('restore_defaults')) ?>"> href="<?= e(url('restore_defaults')) ?>">
<?= tr('persist.restore_defaults') ?> <?= tr('persist.restore_defaults') ?>
</a> </a>
@ -19,7 +19,7 @@
</div> </div>
<div class="Row buttons2"> <div class="Row buttons2">
<a onclick="return confirm('<?= tr('persist.confirm_restore_hard') ?>');" <a onclick="return confirm('<?= e(tr('persist.confirm_restore_hard')) ?>');"
href="<?= e(url('restore_hard')) ?>"> href="<?= e(url('restore_hard')) ?>">
<?= tr('persist.restore_hard') ?> <?= tr('persist.restore_hard') ?>
</a><br> </a><br>

Loading…
Cancel
Save