diff options
author | Aaron Parecki <aaron@parecki.com> | 2014-12-27 00:08:50 +0000 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2014-12-27 00:08:50 +0000 |
commit | 87a76f495eb3126e6d3adb5bf675fdb41682a16d (patch) | |
tree | 79b37a3c90955787f28ec4578c7112a44e39c505 /views/layout.php | |
parent | 89afcc13490b7f89ddd1301394acef34682d52b2 (diff) | |
parent | 875a9fd90944eef8bf94f24594c80b9433ec824d (diff) |
Merge branch 'master' of github.com:aaronpk/IndiePost
Diffstat (limited to 'views/layout.php')
-rw-r--r-- | views/layout.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/views/layout.php b/views/layout.php index 531dec9..8d7607d 100644 --- a/views/layout.php +++ b/views/layout.php @@ -31,6 +31,12 @@ </head> <body role="document"> +<?php +if(property_exists($this, 'include_facebook')) { + # echo partial('partials/fb-script'); +} +?> + <script type="text/javascript"> var _gaq = _gaq || []; @@ -58,14 +64,14 @@ <? if(session('me')) { ?> <li><a href="/new">New Post</a></li> <li><a href="/bookmark">Bookmark</a></li> + <li><a href="/favorite">Favorite</a></li> <? } ?> <li><a href="/docs">Docs</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <? if(session('me')) { ?> - <li><a href="/add-to-home?start">Add to Home Screen</a></li> - <li><span class="navbar-text"><?= preg_replace('/https?:\/\//','',session('me')) ?></span></li> + <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')) { ?> <li class="navbar-text"><?= $this->authorizing ?></li> |