From b9aa2a0396aa5f7db439bc362952f7710c7c24e9 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 3 Jul 2011 04:30:08 -0700 Subject: rearrange the header and get rid of wrapper --- views/elements/authnav.html.php | 50 +++++++++++-------------------- views/elements/normalnav.html.php | 62 ++++++++++++--------------------------- 2 files changed, 35 insertions(+), 77 deletions(-) (limited to 'views/elements') diff --git a/views/elements/authnav.html.php b/views/elements/authnav.html.php index e2f3d99..9b0af38 100644 --- a/views/elements/authnav.html.php +++ b/views/elements/authnav.html.php @@ -1,39 +1,23 @@ + +form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?> +form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?> + +form->end(); ?> + \ No newline at end of file + form->create(); ?> + form->field('username', array('type' => 'textbox')); ?> + form->submit('Add'); ?> + form->end(); ?> + diff --git a/views/elements/normalnav.html.php b/views/elements/normalnav.html.php index c700aba..28eeeff 100644 --- a/views/elements/normalnav.html.php +++ b/views/elements/normalnav.html.php @@ -1,50 +1,24 @@ - - + +form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?> +form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?> + +form->end(); ?> + \ No newline at end of file +

Login

+ form->create(null, array('url' => '/login', 'id' => 'login')); ?> + form->field('username', array('type' => 'textbox')); ?> + form->field('password', array('type' => 'password')); ?> + form->submit('Login'); ?> + form->end(); ?> + -- cgit v1.2.3