Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: doctype not actually being output in several places.
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble committed Jul 24, 2024
1 parent 0e76f8f commit f7c5f34
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion module/Admin/view/pages/fees/payment-success-print.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php echo $this->doctype(); ?>
<?php echo $this->doctype().PHP_EOL; ?>
<html lang="en" class="review">
<?php echo $this->partial('partials/review-header'); ?>
<body>
Expand Down
4 changes: 1 addition & 3 deletions module/Olcs/view/layout/base.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@
}

}
$this->doctype(); ?>
echo $this->doctype().PHP_EOL; ?>

<html lang="en">
<head>
<?php echo $this->partial('partials/head', ['title' => $title]); ?>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://code.jquery.com/jquery-migrate-3.3.2.min.js"></script>
</head>
<body class="internal" id="<?php echo $this->pageId(); ?>">
<?php echo $this->version(); ?>
Expand Down
2 changes: 1 addition & 1 deletion module/Olcs/view/layout/signin.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$this->doctype();
echo $this->doctype().PHP_EOL;

// OLCS-26896 - make sure X-UA-Compatible value is not escaped on the internal login screen
$this->headMeta()->setAutoEscape(false);
Expand Down
4 changes: 2 additions & 2 deletions module/Olcs/view/layout/simple.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php echo $this->doctype(); ?>
<?php echo $this->doctype().PHP_EOL; ?>
<?php
/**
* Simplified layout; will probably be used for print pages but not always
Expand Down Expand Up @@ -33,4 +33,4 @@
</div>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion module/Olcs/view/layout/split-screen.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php echo $this->doctype(); ?>
<?php echo $this->doctype().PHP_EOL; ?>
<html lang="en">
<head>
<meta charset="utf-8">
Expand Down

0 comments on commit f7c5f34

Please sign in to comment.