From c3f92100371ffe576074fd0cde7658f39cd1cf25 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 10 Jul 2011 17:02:23 -0700 Subject: replace prettyPhoto with fancybox the close button 404s; see next commit for fix --- views/layouts/default.html.php | 10 +- webroot/css/base.css | 7 + webroot/css/jquery.fancybox-1.3.4.css | 359 +++++++++++++++++++++++++++++++ webroot/img/fancybox.png | Bin 0 -> 15287 bytes webroot/js/functions.js | 3 +- webroot/js/jquery.fancybox-1.3.4.pack.js | 46 ++++ webroot/js/jquery.prettyPhoto.js | 27 --- 7 files changed, 418 insertions(+), 34 deletions(-) create mode 100644 webroot/css/jquery.fancybox-1.3.4.css create mode 100644 webroot/img/fancybox.png create mode 100644 webroot/js/jquery.fancybox-1.3.4.pack.js delete mode 100644 webroot/js/jquery.prettyPhoto.js 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; OtakuHub<?php $title = $this->title(); if ($title) echo " > $title" ?> html->style(array('style', 'base')) ?> html->style('themes/light') ?> - html->style('prettyPhoto') ?> + html->style('jquery.fancybox-1.3.4') ?> html->style('http://fonts.googleapis.com/css?family=Cantarell:regular,bold&v1') ?> styles(); ?> @@ -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 ' - '; } echo '