diff options
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 |