projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
views: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org]
/
app
/
views
/
navbar.phtml
diff --git
a/app/views/navbar.phtml
b/app/views/navbar.phtml
index 310ab533b469277573eb1ac25ec3ad081d5f85e3..0b0a5986168ffd2404575465bd05bec5cb9e7669 100644
(file)
--- a/
app/views/navbar.phtml
+++ b/
app/views/navbar.phtml
@@
-9,7
+9,7
@@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="<?=$baseUrl->mod("./")?>">PHARext</a>
+ <a class="navbar-brand" href="<?=$baseUrl->mod("
:
./")?>">PHARext</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
@@
-22,25
+22,25
@@
data-toggle="dropdown"
role="button"
aria-expand="false"
data-toggle="dropdown"
role="button"
aria-expand="false"
- href="<?=$baseUrl->mod("./pages/Home")?>">
+ href="<?=$baseUrl->mod("
:
./pages/Home")?>">
About
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<?php foreach ($pages as $page) : ?>
About
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<?php foreach ($pages as $page) : ?>
- <li><a href="<?= $baseUrl->mod("./pages/". rawurlencode($page)) ?>">
+ <li><a href="<?= $baseUrl->mod("
:
./pages/". rawurlencode($page)) ?>">
<?= $this->e($page) ?></a></li>
<?php endforeach; ?>
</ul>
</li>
<?php else : ?>
<?= $this->e($page) ?></a></li>
<?php endforeach; ?>
</ul>
</li>
<?php else : ?>
- <li><a href="<?=$baseUrl->mod("./pages/Home")?>">About</a></li>
+ <li><a href="<?=$baseUrl->mod("
:
./pages/Home")?>">About</a></li>
<?php endif; ?>
<li
<?php if ($location == "github") : ?>
class="active"
<?php endif; ?>
<?php endif; ?>
<li
<?php if ($location == "github") : ?>
class="active"
<?php endif; ?>
- ><a href="<?=$baseUrl->mod("./github")?>">Github</a>
+ ><a href="<?=$baseUrl->mod("
:
./github")?>">Github</a>
</li>
</ul>
<?php if (isset($session)) : ?>
</li>
</ul>
<?php if (isset($session)) : ?>
@@
-60,7
+60,7
@@
</a>
<ul class="dropdown-menu" role="menu">
<li>
</a>
<ul class="dropdown-menu" role="menu">
<li>
- <a href="<?= $baseUrl->mod("./reset") ?>">
+ <a href="<?= $baseUrl->mod("
:
./reset") ?>">
Signout
</a>
</li>
Signout
</a>
</li>