views: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org] / app / views / pages / wiki.phtml
index 0ad2e17685713e991f43c4bbebd2b656fc9c17e3..f60864eb5ff945ddd1b680063eeb961fe5449b9e 100644 (file)
@@ -9,10 +9,10 @@
 </div>
 
 <div class="row">
-       <div class="col-md-8">
+       <div class="col-sm-8">
                <?= $this->md($page, true) ?>
        </div>
-       <div class="col-md-4">
+       <div class="col-sm-4">
                <ul class="nav nav-stacked nav-pills" style="border-radius: 4px; border: 1px solid #ccc">
                        <li class="bg-primary">
                                <a class="bg-primary" style="background-color: inherit; color: inherit">
@@ -22,7 +22,7 @@
                        </li>
                        <?php foreach ($pages as $page) : ?>
                        <li>
-                               <a href="<?= $baseUrl->mod("./pages/". rawurlencode($page)) ?>">
+                               <a href="<?= $baseUrl->mod(":./pages/". rawurlencode($page)) ?>">
                                <?= $this->e($page) ?>
                                </a>
                        </li>