diff options
author | raylu <raylu@mixpanel.com> | 2011-07-10 17:02:23 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-10 17:02:23 -0700 |
commit | c3f92100371ffe576074fd0cde7658f39cd1cf25 (patch) | |
tree | ee58fbc423130a30c9c8cf7d162d8e703be43e78 /views | |
parent | 7ff8ca57fec5bf7f8f4ada98fa8961ff2689a703 (diff) | |
download | otakuhub-c3f92100371ffe576074fd0cde7658f39cd1cf25.tar.xz |
replace prettyPhoto with fancybox
the close button 404s; see next commit for fix
Diffstat (limited to 'views')
-rw-r--r-- | views/layouts/default.html.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index 06dee9e..f4a6918 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -8,7 +8,7 @@ use \lithium\security\Auth; <title>OtakuHub<?php $title = $this->title(); if ($title) echo " > $title" ?></title> <?= $this->html->style(array('style', 'base')) ?> <?= $this->html->style('themes/light') ?> - <?= $this->html->style('prettyPhoto') ?> + <?= $this->html->style('jquery.fancybox-1.3.4') ?> <?= $this->html->style('http://fonts.googleapis.com/css?family=Cantarell:regular,bold&v1') ?> <?= $this->styles(); ?> </head> @@ -29,9 +29,9 @@ use \lithium\security\Auth; else { $links['Sign up'] = '/signup'; - $links['Login'] = '/login'; // overwritten with JS + $links['Login'] = '/login'; // overwritten with JS; see functions.js echo ' - <div id="login" style="display: none"> + <div style="display: none"><div id="login"> <h2>Login</h2> '; echo $this->form->create(null, array('url' => '/login')); @@ -39,7 +39,7 @@ use \lithium\security\Auth; echo $this->form->field('password', array('type' => 'password')); echo $this->form->submit('Login'); echo $this->form->end(); - echo '</div>'; + echo '</div></div>'; } echo ' <nav> @@ -78,7 +78,7 @@ use \lithium\security\Auth; <?= $this->html->script("/js/jquery.tools.min.js"); ?> <?= $this->html->script("/js/jquery.form.js"); ?> <?= $this->html->script("/js/jquery.tipsy.js"); ?> -<?= $this->html->script("/js/jquery.prettyPhoto.js"); ?> +<?= $this->html->script("/js/jquery.fancybox-1.3.4.pack.js") ?> <?= $this->html->script("/js/functions.js"); ?> <?= $this->scripts(); ?> |