From f930e120150969a2c882776e2fa6e424521ae00f Mon Sep 17 00:00:00 2001 From: raylu Date: Mon, 4 Jul 2011 02:00:26 -0700 Subject: fix minor errors; passes validation now --- views/layouts/default.html.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index da09a4c..bc5ac36 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -5,13 +5,11 @@ use \lithium\security\Auth; html->charset() ?> - OtakuHub > <?= $this->title() ?> + OtakuHub<?php $title = $this->title(); if ($title) echo " > $title" ?> html->style(array('style', 'base')) ?> html->style(array('themes/light')) ?> html->style(array('prettyPhoto')) ?> - html->script("/js/jquery-1.6.1.min.js") ?> - - +

Login

'; - echo $this->form->create(null, array('url' => '/login', 'id' => 'login')); - echo $this->form->field('username', array('type' => 'textbox')); + echo $this->form->create(null, array('url' => '/login')); + echo $this->form->field('username', array('type' => 'text')); echo $this->form->field('password', array('type' => 'password')); echo $this->form->submit('Login'); echo $this->form->end(); @@ -84,6 +82,7 @@ use \lithium\security\Auth;
+html->script("/js/jquery-1.6.1.min.js") ?> html->script("/js/jquery.anchor.js"); ?> html->script("/js/jquery.tools.min.js"); ?> html->script("/js/jquery.form.js"); ?> @@ -91,7 +90,7 @@ use \lithium\security\Auth; html->script("/js/functions.js"); ?> html->script("/js/jquery.prettyPhoto.js"); ?> -