The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 16a62ee2 authored by Demian Katz's avatar Demian Katz
Browse files

Simplify markup.

parent b180e1fd
No related merge requests found
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
<li<?php if ($page != $this->current): ?>> <li<?php if ($page != $this->current): ?>>
<?php $newParams = $this->params; $newParams['page'] = $page; ?> <?php $newParams = $this->params; $newParams['page'] = $page; ?>
<a href="<?= $this->currentPath() . '?' . http_build_query($newParams); ?>"> <a href="<?= $this->currentPath() . '?' . http_build_query($newParams); ?>">
<?php echo $page; ?> <?=$page?>
</a> </a>
<?php else: ?> <?php else: ?>
class="active"> <span><?php echo $page; ?></span> class="active"> <span><?=$page?></span>
<?php endif; ?> <?php endif; ?>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<?php if ($e = $this->exception->getPrevious()): ?> <?php if ($e = $this->exception->getPrevious()): ?>
<h3>Previous exceptions:</h3> <h3>Previous exceptions:</h3>
<?php while($e): ?> <?php while($e): ?>
<h4><?php echo get_class($e); ?></h4> <h4><?=get_class($e)?></h4>
<p><?=$e->getMessage()?></p> <p><?=$e->getMessage()?></p>
<pre><?=$e->getTraceAsString()?></pre> <pre><?=$e->getTraceAsString()?></pre>
<?php $e = $e->getPrevious(); ?> <?php $e = $e->getPrevious(); ?>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<?php if ($e = $this->exception->getPrevious()): ?> <?php if ($e = $this->exception->getPrevious()): ?>
<h3>Previous exceptions:</h3> <h3>Previous exceptions:</h3>
<?php while($e): ?> <?php while($e): ?>
<h4><?php echo get_class($e); ?></h4> <h4><?=get_class($e)?></h4>
<p><?=$e->getMessage()?></p> <p><?=$e->getMessage()?></p>
<pre><?=$e->getTraceAsString()?></pre> <pre><?=$e->getTraceAsString()?></pre>
<?php $e = $e->getPrevious(); ?> <?php $e = $e->getPrevious(); ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment