diff options
author | Michael Francis <edude03@gmail.com> | 2011-06-20 19:02:50 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-06-20 19:02:50 -0400 |
commit | 191c5b356d89bc62e40268e7cec43e11dc5dafa9 (patch) | |
tree | a3deeb078460fd3d477db15ea1df8b49d6c9e109 /views/elements/normalnav.html.php | |
parent | b36745e2187bf369d135fc787d252c531b97664d (diff) | |
download | otakuhub-191c5b356d89bc62e40268e7cec43e11dc5dafa9.tar.xz |
New views for the nav bar.
Diffstat (limited to 'views/elements/normalnav.html.php')
-rw-r--r-- | views/elements/normalnav.html.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/views/elements/normalnav.html.php b/views/elements/normalnav.html.php index 460eb16..c700aba 100644 --- a/views/elements/normalnav.html.php +++ b/views/elements/normalnav.html.php @@ -1,3 +1,5 @@ +<script type="text/javascript"> +</script> <nav> <ul id="nav"> <li class="current"><a href="/users/feed">Home</a></li> @@ -27,7 +29,7 @@ </ul> </li> <li><a href="contact.html">Contact Us</a></li> - <li><a href="/login?iframe=true&width=100%&height=600px" rel="prettyPhoto[iframes]">Login</a></li> + <li><a href="#login" rel="prettyPhoto">Login</a></li> <li> <?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'style' => 'height:20px', 'method' => 'get')); ?> <?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?> @@ -37,4 +39,12 @@ </li> </ul> <br class="cl" /> - </nav>
\ No newline at end of file + </nav> +<div id="login" style="display: none;"> +<h2> Login </h2> + <?= $this->form->create(null, array('url' => '/login', 'id' => 'login')); ?> + <?= $this->form->field('username', array('type' => 'textbox')); ?> + <?= $this->form->field('password', array('type' => 'password')); ?> + <?= $this->form->submit('Login'); ?> + <?= $this->form->end(); ?> +</div>
\ No newline at end of file |