Skip to content

Commit

Permalink
Example app template cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jwheare committed Mar 4, 2011
1 parent 37ac8bb commit bca28b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/template/error.tpl.php
Expand Up @@ -11,4 +11,6 @@
<?php if ($message) { ?>
<p><?php echo linkify(safe($message)); ?>
<?php } ?>
</div>
</div>

<?php $this->out('footer.inc'); ?>
4 changes: 3 additions & 1 deletion app/template/home/index.tpl.php
@@ -1,7 +1,9 @@
<?php $this->out('header.inc'); ?>

<?php if ($this->session->isLoggedIn()): ?>
<?php dump($this->user); ?>
<?php else: ?>
<a href="<?php out($this->session->addNext('/twitter/start', $this->request->get('next'))); ?>">Sign in with Twitter</a>
<?php endif; ?>
<?php $this->out('footer.inc'); ?>

<?php $this->out('footer.inc'); ?>

0 comments on commit bca28b3

Please sign in to comment.