Owen Leonard
ef231b4111
This patch adds missing filters to the installer header and footer include files. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
21 lines
1 KiB
HTML
21 lines
1 KiB
HTML
[% USE raw %]
|
|
<script src="[% interface | html %]/lib/jquery/jquery-2.2.3.min.js"></script>
|
|
<script src="[% interface | html %]/lib/jquery/jquery-migrate-1.3.0.min.js"></script>
|
|
<script src="[% interface | html %]/lib/jquery/jquery-ui-1.11.4.min.js"></script>
|
|
<script src="[% interface | html %]/lib/bootstrap/bootstrap.min.js"></script>
|
|
<script src="[% interface | html %]/lib/jquery/plugins/jquery.validate.min.js"></script>
|
|
<script>
|
|
function _(s) { return s } // dummy function for gettext
|
|
[%# Prevent XFS attacks -%]
|
|
$(document).ready(function() {
|
|
if (self === top) {
|
|
var antiClickjack = document.getElementById("antiClickjack");
|
|
antiClickjack.parentNode.removeChild(antiClickjack);
|
|
} else {
|
|
top.location = self.location;
|
|
}
|
|
});
|
|
</script>
|
|
[% jsinclude | $raw # Parse the page template's JavaScript block if necessary %]
|
|
</body>
|
|
</html>
|