From 6aee172effc272fcf999c827de36ca26939f18c1 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 19 Mar 2018 15:05:50 -0400
Subject: [PATCH] Simplify markup.

---
 themes/bootstrap3/templates/Helpers/pagination.phtml | 4 ++--
 themes/bootstrap3/templates/error/index.phtml        | 2 +-
 themes/root/templates/error/index.phtml              | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/themes/bootstrap3/templates/Helpers/pagination.phtml b/themes/bootstrap3/templates/Helpers/pagination.phtml
index e409ab7e55f..dc9125364a9 100644
--- a/themes/bootstrap3/templates/Helpers/pagination.phtml
+++ b/themes/bootstrap3/templates/Helpers/pagination.phtml
@@ -27,10 +27,10 @@
       <li<?php if ($page != $this->current): ?>>
         <?php $newParams = $this->params; $newParams['page'] = $page; ?>
         <a href="<?= $this->currentPath() . '?' . http_build_query($newParams); ?>">
-            <?php echo $page; ?>
+            <?=$page?>
         </a>
       <?php else: ?>
-         class="active"> <span><?php echo $page; ?></span>
+         class="active"> <span><?=$page?></span>
       <?php endif; ?>
       </li>
     <?php endforeach; ?>
diff --git a/themes/bootstrap3/templates/error/index.phtml b/themes/bootstrap3/templates/error/index.phtml
index c653fe6fbac..acaa357672e 100644
--- a/themes/bootstrap3/templates/error/index.phtml
+++ b/themes/bootstrap3/templates/error/index.phtml
@@ -35,7 +35,7 @@
   <?php if ($e = $this->exception->getPrevious()): ?>
     <h3>Previous exceptions:</h3>
     <?php while($e): ?>
-        <h4><?php echo get_class($e); ?></h4>
+        <h4><?=get_class($e)?></h4>
         <p><?=$e->getMessage()?></p>
         <pre><?=$e->getTraceAsString()?></pre>
         <?php $e = $e->getPrevious(); ?>
diff --git a/themes/root/templates/error/index.phtml b/themes/root/templates/error/index.phtml
index b60ef95a6d8..670e45ea0ef 100644
--- a/themes/root/templates/error/index.phtml
+++ b/themes/root/templates/error/index.phtml
@@ -21,7 +21,7 @@
   <?php if ($e = $this->exception->getPrevious()): ?>
     <h3>Previous exceptions:</h3>
     <?php while($e): ?>
-        <h4><?php echo get_class($e); ?></h4>
+        <h4><?=get_class($e)?></h4>
         <p><?=$e->getMessage()?></p>
         <pre><?=$e->getTraceAsString()?></pre>
         <?php $e = $e->getPrevious(); ?>
-- 
GitLab