diff options
author | raylu <raylu@mixpanel.com> | 2011-07-03 18:47:10 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-03 18:47:10 -0700 |
commit | 1ce0c238258c99bb56e45595197dd63dd1947b44 (patch) | |
tree | 443c7fb09260b02d9e6a4f9894275a11d10aec5b /views/elements | |
parent | abef6b0759dd944867fb87a3230f25fe7909fc3e (diff) | |
download | otakuhub-1ce0c238258c99bb56e45595197dd63dd1947b44.tar.xz |
get rid of separate nav elements
Diffstat (limited to 'views/elements')
-rw-r--r-- | views/elements/authnav.html.php | 23 | ||||
-rw-r--r-- | views/elements/normalnav.html.php | 24 |
2 files changed, 0 insertions, 47 deletions
diff --git a/views/elements/authnav.html.php b/views/elements/authnav.html.php deleted file mode 100644 index 012ddde..0000000 --- a/views/elements/authnav.html.php +++ /dev/null @@ -1,23 +0,0 @@ -<nav> -<ul id="nav"> - <li class="current"><a href="/users/feed">Home</a></li> - <li><a href="about.html">Anime</a></li> - <li><a href="/animelist/view/<?= $user['username'] ?>">My List</a></li> - <li><a href="#">Manga</a></li> - <li><a href="#">Friends</a></li> - <li><a href="/users/settings">Settings</a></li> - <li><a href="/logout">Logout</a></li> -</ul> -</nav> - -<?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?> -<?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?> -<input type="submit" value="Go"> -<?= $this->form->end(); ?> - -<div id="friend" style="display:none"> - <?= $this->form->create(); ?> - <?= $this->form->field('username', array('type' => 'textbox')); ?> - <?= $this->form->submit('Add'); ?> - <?= $this->form->end(); ?> -</div> diff --git a/views/elements/normalnav.html.php b/views/elements/normalnav.html.php deleted file mode 100644 index ae8583e..0000000 --- a/views/elements/normalnav.html.php +++ /dev/null @@ -1,24 +0,0 @@ -<nav> -<ul id="nav"> - <li class="current"><a href="/users/feed">Home</a></li> - <li><a href="about.html">Anime</a></li> - <li><a href="about.html">Manga</a></li> - <li><a href="portfolio.html">Stuff</a> - <li><a href="contact.html">Contact Us</a></li> - <li><a href="#login" rel="prettyPhoto">Login</a></li> -</ul> -</nav> - -<?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?> -<?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?> -<input type="submit" value="Go"> -<?= $this->form->end(); ?> - -<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> |