summaryrefslogtreecommitdiff
path: root/views/layout.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2014-12-26 14:57:31 -0800
committerAaron Parecki <aaron@parecki.com>2014-12-26 14:57:31 -0800
commit8be498a324954f9d5792ca921b7364f53ff4085f (patch)
treec0bec4dc8a617ab949903e63c18594e7b34b99f9 /views/layout.php
parent430609b9005bb93ce2c6b21405cea0ede2b17a9d (diff)
new "favorite" form with bookmarklet
* disable facebook liking for now since it was getting complicated * new page for creating a favorite, can pass in a URL parameter too * bookmarklet code added to the "favorite" page
Diffstat (limited to 'views/layout.php')
-rw-r--r--views/layout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/layout.php b/views/layout.php
index 0c78aa7..8d7607d 100644
--- a/views/layout.php
+++ b/views/layout.php
@@ -33,7 +33,7 @@
<body role="document">
<?php
if(property_exists($this, 'include_facebook')) {
- echo partial('partials/fb-script');
+ # echo partial('partials/fb-script');
}
?>
@@ -64,13 +64,13 @@ if(property_exists($this, 'include_facebook')) {
<? 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><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')) { ?>