From b56dce7ae724d5b955a96d7d3d5b3b476d2e28fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C4=83lin-Andrei=20Burloiu?= Date: Fri, 17 Feb 2012 15:03:13 +0200 Subject: [PATCH] video thumbnails are displayed as slideshow when mouse is over; video widget bugs solved --- application/config/article.php | 12 +++- application/config/p2p-tube.php | 2 +- application/controllers/catalog.php | 11 +-- application/core/Article_Controller.php | 2 +- application/models/videos_model.php | 14 +++- application/views/article/english/test.php | 17 +++++ .../views/catalog/search_results_view.php | 15 +++- .../views/catalog/videos_summary_view.php | 8 ++- js/jquery.ui.nsvideo.js | 4 +- js/jquery.ui.thumbs.js | 68 +++++++++++++++++++ 10 files changed, 133 insertions(+), 20 deletions(-) create mode 100644 application/views/article/english/test.php create mode 100644 js/jquery.ui.thumbs.js diff --git a/application/config/article.php b/application/config/article.php index 1677048..b43dc9c 100644 --- a/application/config/article.php +++ b/application/config/article.php @@ -1,8 +1,11 @@ array( 'catalog.css' ), - //'js' => array(), + 'js' => array('jquery.ui.thumbs.js'), //'metas' => array('description'=>'','keywords'=>'') ); $this->load->library('html_head_params', $params); @@ -135,8 +135,9 @@ class Catalog extends CI_Controller { . $this->config->item('site_name'), 'css' => array( 'catalog.css' - ) - //'metas' => array('description'=>'','keywords'=>'') + ), + 'js' => array('jquery.ui.thumbs.js') + //'metas' => array('description'=>'','keywords'=>'') ); $this->load->library('html_head_params', $params); @@ -234,8 +235,8 @@ class Catalog extends CI_Controller { 'css' => array( 'catalog.css' ), - //'js' => array(), - //'metas' => array('description'=>'','keywords'=>'') + 'js' => array('jquery.ui.thumbs.js'), + //'metas' => array('description'=>'','keywords'=>'') ); $this->load->library('html_head_params', $params); diff --git a/application/core/Article_Controller.php b/application/core/Article_Controller.php index 480b847..6324883 100644 --- a/application/core/Article_Controller.php +++ b/application/core/Article_Controller.php @@ -3,7 +3,7 @@ * Library Article_Controller can be extended by a controller to be used for * content pages that depend on the language. * - * The page views are usually located in + * The page views are located in * "application/views/article/$language/$method". * Parameters: *