summaryrefslogtreecommitdiff
path: root/views/layout.php
diff options
context:
space:
mode:
authorPelle Wessman <pelle@kodfabrik.se>2015-07-01 19:46:40 +0200
committerPelle Wessman <pelle@kodfabrik.se>2015-07-27 18:30:46 +0200
commitd979c81758f4b73816763ae80b30854343f90324 (patch)
treef62f2280893b0994bb678d268bdee092c1fde240 /views/layout.php
parentebb58a16a2f01994ed6397c6b1698f60f858d530 (diff)
don't use php shorttags
Diffstat (limited to 'views/layout.php')
-rw-r--r--views/layout.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/layout.php b/views/layout.php
index 7bbba4a..10bf9a2 100644
--- a/views/layout.php
+++ b/views/layout.php
@@ -61,30 +61,30 @@ if(property_exists($this, 'include_facebook')) {
<div class="nav">
<ul class="nav navbar-nav">
- <? if(session('me')) { ?>
+ <?php if(session('me')) { ?>
<li><a href="/editor">Editor</a></li>
<li><a href="/new">Note</a></li>
<li><a href="/bookmark">Bookmark</a></li>
<li><a href="/favorite">Favorite</a></li>
<li><a href="/photo">Photo</a></li>
<li><a href="/email">Email</a></li>
- <? } ?>
+ <?php } ?>
<li><a href="/docs">Docs</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
- <? if(session('me')) { ?>
+ <?php if(session('me')) { ?>
<li><a href="/settings"><?= preg_replace(array('/https?:\/\//','/\/$/'),'',session('me')) ?></a></li>
<li><a href="/signout">Sign Out</a></li>
- <? } else if(property_exists($this, 'authorizing')) { ?>
+ <?php } else if(property_exists($this, 'authorizing')) { ?>
<li class="navbar-text"><?= $this->authorizing ?></li>
- <? } else { ?>
+ <?php } else { ?>
<form action="/auth/start" method="get" class="navbar-form">
<input type="text" name="me" placeholder="yourdomain.com" class="form-control" />
<button type="submit" class="btn">Sign In</button>
<input type="hidden" name="redirect_uri" value="https://<?= $_SERVER['SERVER_NAME'] ?>/indieauth" />
</form>
- <? } ?>
+ <?php } ?>
</ul>
</div>