OSDN Git Service

古いライブラリを削除。
authornaoki hirata <naoki@magic3.org>
Wed, 24 Oct 2018 07:12:17 +0000 (16:12 +0900)
committernaoki hirata <naoki@magic3.org>
Wed, 24 Oct 2018 07:12:17 +0000 (16:12 +0900)
16 files changed:
include/common/scriptLibInfo.php
include/sql/update_widgets.sql
scripts/jquery/cloud-carousel.1.0.5.min.js [deleted file]
scripts/jquery/qtip2-2.1.1/jquery.qtip.min.css [deleted file]
scripts/jquery/qtip2-2.1.1/jquery.qtip.min.js [deleted file]
scripts/jquery/thickbox.css [deleted file]
scripts/jquery/thickbox3.1.js [deleted file]
widgets/ec_product_carousel/admin/index.php [deleted file]
widgets/ec_product_carousel/css/default.css [deleted file]
widgets/ec_product_carousel/images/navigati.png [deleted file]
widgets/ec_product_carousel/include/container/admin_ec_product_carouselWidgetContainer.php [deleted file]
widgets/ec_product_carousel/include/container/ec_product_carouselWidgetContainer.php [deleted file]
widgets/ec_product_carousel/include/db/ec_product_carouselDb.php [deleted file]
widgets/ec_product_carousel/include/template/admin.tmpl.html [deleted file]
widgets/ec_product_carousel/include/template/index.tmpl.html [deleted file]
widgets/ec_product_carousel/index.php [deleted file]

index f1767a5..b0be70c 100644 (file)
@@ -66,7 +66,6 @@ class ScriptLibInfo
        // jQueryプラグイン
        const LIB_JQUERY_EASING                 = 'jquery.easing';
        const LIB_JQUERY_JCAROUSEL              = 'jquery.jcarousel';
-       const LIB_JQUERY_THICKBOX               = 'jquery.thickbox';
        const LIB_JQUERY_CYCLE                  = 'jquery.cycle';
        const LIB_JQUERY_CODEPRESS              = 'jquery.codepress';
        const LIB_JQUERY_CLUETIP                = 'jquery.cluetip';
@@ -80,13 +79,11 @@ class ScriptLibInfo
        const LIB_JQUERY_FACEBOX                = 'jquery.facebox';
        const LIB_JQUERY_PRETTYPHOTO    = 'jquery.prettyphoto';
        const LIB_JQUERY_QTIP                   = 'jquery.qtip';
-       const LIB_JQUERY_QTIP2                  = 'jquery.qtip2';
        const LIB_JQUERY_CALCULATION    = 'jquery.calculation';
        const LIB_JQUERY_JQPLOT                 = 'jquery.jqplot';
        const LIB_JQUERY_JSTREE                 = 'jquery.jstree';
        const LIB_JQUERY_RATY                   = 'jquery.raty';
        const LIB_JQUERY_MOUSEWHEEL             = 'jquery.mousewheel';
-       const LIB_JQUERY_CLOUDCAROUSEL  = 'jquery.cloudcarousel';
        const LIB_JQUERY_SCROLLTO               = 'jquery.scrollto';
        const LIB_JQUERY_FULLCALENDAR   = 'jquery.fullcalendar';
        const LIB_JQUERY_FULLCALENDAR_GOOGLE    = 'jquery.fullcalendar.google';                 // Google連携オプション
@@ -116,17 +113,14 @@ class ScriptLibInfo
 
        // jQueryプラグインバージョン
        const JQUERY_JCAROUSEL_VER              = '0.2.8';
-       const JQUERY_THICKBOX_VER               = '3.1';
        const JQUERY_COOKIE_VER                 = '1.4.0';
        const JQUERY_PRETTYPHOTO_VER    = '3.1.6';
        const JQUERY_QTIP_VER                   = '1.0';
-       const JQUERY_QTIP2_VER                  = '2.1.1';
        const JQUERY_CALCULATION_VER    = '0.4.07';
        const JQUERY_JQPLOT_VER                 = '1.0.8';
        const JQUERY_JSTREE_VER                 = '1.0-rc3';
        const JQUERY_RATY_VER                   = '1.4.3';
        const JQUERY_MOUSEWHEEL_VER             = '3.0.6';
-       const JQUERY_CLOUDCAROUSEL_VER  = '1.0.5';
        const JQUERY_SCROLLTO_VER               = '1.4.3.1';
 //     const JQUERY_FULLCALENDAR_VER   = '2.2.6';
        const JQUERY_FULLCALENDAR_VER   = '2.3.1';
@@ -170,8 +164,6 @@ class ScriptLibInfo
        const JQUERY_JCAROUSEL_FILENAME         = 'jquery/jquery.jcarousel.0.2.8.min.js';               // jQuery1.4.2対応版
 //     const JQUERY_CONTEXTMENU_FILENAME       = 'jquery/jquery.contextmenu.r2.packed.js';
        const JQUERY_CONTEXTMENU_FILENAME       = 'jquery/jquery.contextmenu.r2.js';
-       const JQUERY_THICKBOX_FILENAME          = 'jquery/thickbox3.1.js';
-       const JQUERY_THICKBOX_CSS                       = 'jquery/thickbox.css';
        const JQUERY_CYCLE_FILENAME                     = 'jquery/jquery.cycle.all.pack.js';
        const JQUERY_CODEPRESS_FILENAME         = 'jquery/jquery.Codepress.js';
        const JQUERY_CLUETIP_FILENAME           = 'jquery/jquery.cluetip.js';
@@ -194,15 +186,12 @@ class ScriptLibInfo
        const JQUERY_PRETTYPHOTO_CSS            = 'jquery/prettyphoto-3.1.6/css/prettyPhoto.css';
 //     const JQUERY_QTIP_FILENAME                      = 'jquery/jquery.qtip-1.0.min.js';
        const JQUERY_QTIP_FILENAME                      = 'jquery/jquery.qtip-1.0.0-rc3.min.js';
-       const JQUERY_QTIP2_FILENAME                     = 'jquery/qtip2-2.1.1/jquery.qtip.min.js';
-       const JQUERY_QTIP2_CSS                          = 'jquery/qtip2-2.1.1/jquery.qtip.min.css';
        const JQUERY_CALCULATION_FILENAME       = 'jquery/jquery.calculation.js';
        const JQUERY_JQPLOT_FILENAME            = 'jquery/jqplot1.0.8/jquery.jqplot.min.js';
        const JQUERY_JQPLOT_CSS                         = 'jquery/jqplot1.0.8/jquery.jqplot.min.css';
        const JQUERY_JSTREE_FILENAME            = 'jquery/jstree/jquery.jstree.js';
        const JQUERY_RATY_FILENAME                      = 'jquery/raty/jquery.raty.js';
        const JQUERY_MOUSEWHEEL_FILENAME        = 'jquery/jquery.mousewheel.js';
-       const JQUERY_CLOUDCAROUSEL_FILENAME     = 'jquery/cloud-carousel.1.0.5.min.js';
        const JQUERY_SCROLLTO_FILENAME          = 'jquery/jquery.scrollTo-1.4.3.1-min.js';
        const JQUERY_FULLCALENDAR_FILENAME                      = 'jquery/fullcalendar-2.3.1/fullcalendar.js';
        const JQUERY_FULLCALENDAR_LANG_FILENAME         = 'jquery/fullcalendar-2.3.1/lang/{LANG}.js';                   // 言語ファイル
@@ -237,19 +226,16 @@ class ScriptLibInfo
        const BOOTSTRAP_DATETIMEPICKER_URL      = 'https://github.com/Eonasdan/bootstrap-datetimepicker';
        const BOOTSTRAP_TOGGLE_URL                      = 'https://github.com/minhur/bootstrap-toggle';
        const JQUERY_JCAROUSEL_URL                      = 'http://sorgalla.com/projects/jcarousel/';
-       const JQUERY_THICKBOX_URL                       = 'http://thickbox.net/';
        const JQUERY_CLUETIP_URL                        = 'http://plugins.learningjquery.com/cluetip/';
        const JQUERY_COOKIE_URL                         = 'https://github.com/carhartl/jquery-cookie';
        const JQUERY_FACEBOX_URL                        = 'http://defunkt.github.com/facebox/';
        const JQUERY_PRETTYPHOTO_URL            = 'http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/';
        const JQUERY_QTIP_URL                           = 'http://craigsworks.com/projects/qtip/';
-       const JQUERY_QTIP2_URL                          = 'http://qtip2.com/';
        const JQUERY_CALCULATION_URL            = 'http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm';
        const JQUERY_JQPLOT_URL                         = 'http://www.jqplot.com/';
        const JQUERY_JSTREE_URL                         = 'http://www.jstree.com/';
        const JQUERY_RATY_URL                           = 'http://www.wbotelhos.com/raty/';
        const JQUERY_MOUSEWHEEL_URL                     = 'https://github.com/brandonaaron/jquery-mousewheel';
-       const JQUERY_CLOUDCAROUSEL_URL          = 'http://www.professorcloud.com/mainsite/carousel.htm';
        const JQUERY_SCROLLTO_URL                       = 'http://flesler.blogspot.jp/2007/10/jqueryscrollto.html';
        const JQUERY_FULLCALENDAR_URL           = 'http://arshaw.com/fullcalendar/';
        const JQUERY_TIMEPICKER_URL                     = 'http://fgelinas.com/code/timepicker/';
@@ -442,10 +428,6 @@ class ScriptLibInfo
                                                self::LIB_JQUERY_JCAROUSEL              =>      array(  'script'        => array(self::JQUERY_JCAROUSEL_FILENAME),
                                                                                                                                        'url'           => self::JQUERY_JCAROUSEL_URL,
                                                                                                                                        'version'       => self::JQUERY_JCAROUSEL_VER),                 // jquery.jcarousel用のファイル
-                                               self::LIB_JQUERY_THICKBOX               =>      array(  'script'        => array(self::JQUERY_THICKBOX_FILENAME),// jquery.thickbox用のファイル
-                                                                                                                                       'css'           => array(self::JQUERY_THICKBOX_CSS),
-                                                                                                                                       'url'           => self::JQUERY_THICKBOX_URL,
-                                                                                                                                       'version'       => self::JQUERY_THICKBOX_VER),
                                                self::LIB_JQUERY_CYCLE                  =>      array(  'script'        => array(self::JQUERY_CYCLE_FILENAME)),         // jquery.cycle用のファイル
                                                self::LIB_JQUERY_CODEPRESS              =>      array(  'script'        => array(self::JQUERY_CODEPRESS_FILENAME)),     // jquery.codepress用のファイル
                                                self::LIB_JQUERY_CLUETIP                =>      array(  'script'        => array(self::JQUERY_CLUETIP_FILENAME),// jquery.cluetip用のファイル
@@ -473,10 +455,6 @@ class ScriptLibInfo
                                                self::LIB_JQUERY_QTIP                   =>      array(  'script'        => array(self::JQUERY_QTIP_FILENAME),   // jquery.qtip用のファイル
                                                                                                                                        'url'           => self::JQUERY_QTIP_URL,
                                                                                                                                        'version'       => self::JQUERY_QTIP_VER),
-                                               self::LIB_JQUERY_QTIP2                  =>      array(  'script'        => array(self::JQUERY_QTIP2_FILENAME),  // jquery.qtip2用のファイル
-                                                                                                                                       'css'           => array(self::JQUERY_QTIP2_CSS),
-                                                                                                                                       'url'           => self::JQUERY_QTIP2_URL,
-                                                                                                                                       'version'       => self::JQUERY_QTIP2_VER),
                                                self::LIB_JQUERY_CALCULATION    =>      array(  'script'        => array(self::JQUERY_CALCULATION_FILENAME),    // jquery.calculation用のファイル
                                                                                                                                        'url'           => self::JQUERY_CALCULATION_URL,
                                                                                                                                        'version'       => self::JQUERY_CALCULATION_VER),
@@ -494,9 +472,6 @@ class ScriptLibInfo
                                                self::LIB_JQUERY_MOUSEWHEEL             =>      array(  'script'        => array(self::JQUERY_MOUSEWHEEL_FILENAME),             // jquery.mousewheel用のファイル
                                                                                                                                        'url'           => self::JQUERY_MOUSEWHEEL_URL,
                                                                                                                                        'version'       => self::JQUERY_MOUSEWHEEL_VER),
-                                               self::LIB_JQUERY_CLOUDCAROUSEL  =>      array(  'script'        => array(self::JQUERY_CLOUDCAROUSEL_FILENAME),          // jquery.cloudcarousel用のファイル
-                                                                                                                                       'url'           => self::JQUERY_CLOUDCAROUSEL_URL,
-                                                                                                                                       'version'       => self::JQUERY_CLOUDCAROUSEL_VER),
                                                self::LIB_JQUERY_SCROLLTO               =>      array(  'script'        => array(self::JQUERY_SCROLLTO_FILENAME),       // jquery.scrollto用のファイル
                                                                                                                                        'url'           => self::JQUERY_SCROLLTO_URL,
                                                                                                                                        'version'       => self::JQUERY_SCROLLTO_VER),
index 123f687..2347b29 100644 (file)
@@ -164,10 +164,6 @@ DELETE FROM _widgets WHERE wd_id = 'ec_product_slide';
 INSERT INTO _widgets\r
 (wd_id,              wd_name,                        wd_category_id, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,   wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_release_dt, wd_install_dt, wd_create_dt) VALUES\r
 ('ec_product_slide', 'Eコマース-商品スライド表示', 'commerce',     '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10, '商品画像をカテゴリー単位でスライド表示する。', 'jquery', 'jquery',   true,        false,               false,true,           0, 0, '2012-10-28', now(), now());\r
-DELETE FROM _widgets WHERE wd_id = 'ec_product_carousel';\r
-INSERT INTO _widgets\r
-(wd_id,                 wd_name,                          wd_category_id, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,   wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_release_dt, wd_install_dt, wd_create_dt) VALUES\r
-('ec_product_carousel', 'Eコマース - 商品カルーセル表示', 'commerce',     '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10, '商品画像をランダムでカルーセル表示する。', 'jquery.cloudcarousel,jquery.mousewheel', '',   true,        false,               false,true,           0, 0, '2012-11-01', now(), now());\r
 -- ウィジェット情報(PC用/フォトギャラリー)\r
 DELETE FROM _widgets WHERE wd_id = 'photo_main';\r
 INSERT INTO _widgets\r
diff --git a/scripts/jquery/cloud-carousel.1.0.5.min.js b/scripts/jquery/cloud-carousel.1.0.5.min.js
deleted file mode 100644 (file)
index c02d72d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////////
-// CloudCarousel V1.0.5
-// (c) 2011 by R Cecco. <http://www.professorcloud.com>
-// MIT License
-//
-// Reflection code based on plugin by Christophe Beyls <http://www.digitalia.be>
-//
-// Please retain this copyright header in all versions of the software
-//////////////////////////////////////////////////////////////////////////////////
-(function($){function Reflection(img,reflHeight,opacity){var reflection,cntx,imageWidth=img.width,imageHeight=img.width,gradient,parent;parent=$(img.parentNode);this.element=reflection=parent.append("<canvas class='reflection' style='position:absolute'/>").find(':last')[0];if(!reflection.getContext&&$.browser.msie){this.element=reflection=parent.append("<img class='reflection' style='position:absolute'/>").find(':last')[0];reflection.src=img.src;reflection.style.filter="flipv progid:DXImageTransform.Microsoft.Alpha(opacity="+(opacity*100)+", style=1, finishOpacity=0, startx=0, starty=0, finishx=0, finishy="+(reflHeight/imageHeight*100)+")"}else{cntx=reflection.getContext("2d");try{$(reflection).attr({width:imageWidth,height:reflHeight});cntx.save();cntx.translate(0,imageHeight-1);cntx.scale(1,-1);cntx.drawImage(img,0,0,imageWidth,imageHeight);cntx.restore();cntx.globalCompositeOperation="destination-out";gradient=cntx.createLinearGradient(0,0,0,reflHeight);gradient.addColorStop(0,"rgba(255, 255, 255, "+(1-opacity)+")");gradient.addColorStop(1,"rgba(255, 255, 255, 1.0)");cntx.fillStyle=gradient;cntx.fillRect(0,0,imageWidth,reflHeight)}catch(e){return}}$(reflection).attr({'alt':$(img).attr('alt'),title:$(img).attr('title')})}var Item=function(imgIn,options){this.orgWidth=imgIn.width;this.orgHeight=imgIn.height;this.image=imgIn;this.reflection=null;this.alt=imgIn.alt;this.title=imgIn.title;this.imageOK=false;this.options=options;this.imageOK=true;if(this.options.reflHeight>0){this.reflection=new Reflection(this.image,this.options.reflHeight,this.options.reflOpacity)}$(this.image).css('position','absolute')};var Controller=function(container,images,options){var items=[],funcSin=Math.sin,funcCos=Math.cos,ctx=this;this.controlTimer=0;this.stopped=false;this.container=container;this.xRadius=options.xRadius;this.yRadius=options.yRadius;this.showFrontTextTimer=0;this.autoRotateTimer=0;if(options.xRadius===0){this.xRadius=($(container).width()/2.3)}if(options.yRadius===0){this.yRadius=($(container).height()/6)}this.xCentre=options.xPos;this.yCentre=options.yPos;this.frontIndex=0;this.rotation=this.destRotation=Math.PI/2;this.timeDelay=1000/options.FPS;if(options.altBox!==null){$(options.altBox).css('display','block');$(options.titleBox).css('display','block')}$(container).css({position:'relative',overflow:'hidden'});$(options.buttonLeft).css('display','inline');$(options.buttonRight).css('display','inline');$(options.buttonLeft).bind('mouseup',this,function(event){event.data.rotate(-1);return false});$(options.buttonRight).bind('mouseup',this,function(event){event.data.rotate(1);return false});if(options.mouseWheel){$(container).bind('mousewheel',this,function(event,delta){event.data.rotate(delta);return false})}$(container).bind('mouseover click',this,function(event){clearInterval(event.data.autoRotateTimer);var text=$(event.target).attr('alt');if(text!==undefined&&text!==null){clearTimeout(event.data.showFrontTextTimer);$(options.altBox).html(($(event.target).attr('alt')));$(options.titleBox).html(($(event.target).attr('title')));if(options.bringToFront&&event.type=='click'){var idx=$(event.target).data('itemIndex');var frontIndex=event.data.frontIndex;var diff=(idx-frontIndex)%images.length;if(Math.abs(diff)>images.length/2){diff+=(diff>0?-images.length:images.length)}event.data.rotate(-diff)}}});$(container).bind('mouseout',this,function(event){var context=event.data;clearTimeout(context.showFrontTextTimer);context.showFrontTextTimer=setTimeout(function(){context.showFrontText()},1000);context.autoRotate()});$(container).bind('mousedown',this,function(event){event.data.container.focus();return false});container.onselectstart=function(){return false};this.innerWrapper=$(container).wrapInner('<div style="position:absolute;width:100%;height:100%;"/>').children()[0];this.showFrontText=function(){if(items[this.frontIndex]===undefined){return}$(options.titleBox).html($(items[this.frontIndex].image).attr('title'));$(options.altBox).html($(items[this.frontIndex].image).attr('alt'))};this.go=function(){if(this.controlTimer!==0){return}var context=this;this.controlTimer=setTimeout(function(){context.updateAll()},this.timeDelay)};this.stop=function(){clearTimeout(this.controlTimer);this.controlTimer=0};this.rotate=function(direction){this.frontIndex-=direction;this.frontIndex%=items.length;this.destRotation+=(Math.PI/items.length)*(2*direction);this.showFrontText();this.go()};this.autoRotate=function(){if(options.autoRotate!=='no'){var dir=(options.autoRotate==='right')?1:-1;this.autoRotateTimer=setInterval(function(){ctx.rotate(dir)},options.autoRotateDelay)}};this.updateAll=function(){var minScale=options.minScale;var smallRange=(1-minScale)*0.5;var w,h,x,y,scale,item,sinVal;var change=(this.destRotation-this.rotation);var absChange=Math.abs(change);this.rotation+=change*options.speed;if(absChange<0.001){this.rotation=this.destRotation}var itemsLen=items.length;var spacing=(Math.PI/itemsLen)*2;var radians=this.rotation;var isMSIE=$.browser.msie;this.innerWrapper.style.display='none';var style;var px='px',reflHeight;var context=this;for(var i=0;i<itemsLen;i++){item=items[i];sinVal=funcSin(radians);scale=((sinVal+1)*smallRange)+minScale;x=this.xCentre+(((funcCos(radians)*this.xRadius)-(item.orgWidth*0.5))*scale);y=this.yCentre+(((sinVal*this.yRadius))*scale);if(item.imageOK){var img=item.image;w=img.width=item.orgWidth*scale;h=img.height=item.orgHeight*scale;img.style.left=x+px;img.style.top=y+px;img.style.zIndex=""+(scale*100)>>0;if(item.reflection!==null){reflHeight=options.reflHeight*scale;style=item.reflection.element.style;style.left=x+px;style.top=y+h+options.reflGap*scale+px;style.width=w+px;if(isMSIE){style.filter.finishy=(reflHeight/h*100)}else{style.height=reflHeight+px}}}radians+=spacing}this.innerWrapper.style.display='block';if(absChange>=0.001){this.controlTimer=setTimeout(function(){context.updateAll()},this.timeDelay)}else{this.stop()}};this.checkImagesLoaded=function(){var i;for(i=0;i<images.length;i++){if((images[i].width===undefined)||((images[i].complete!==undefined)&&(!images[i].complete))){return}}for(i=0;i<images.length;i++){items.push(new Item(images[i],options));$(images[i]).data('itemIndex',i)}clearInterval(this.tt);this.showFrontText();this.autoRotate();this.updateAll()};this.tt=setInterval(function(){ctx.checkImagesLoaded()},50)};$.fn.CloudCarousel=function(options){this.each(function(){options=$.extend({},{reflHeight:0,reflOpacity:0.5,reflGap:0,minScale:0.5,xPos:0,yPos:0,xRadius:0,yRadius:0,altBox:null,titleBox:null,FPS:30,autoRotate:'no',autoRotateDelay:1500,speed:0.2,mouseWheel:false,bringToFront:false},options);$(this).data('cloudcarousel',new Controller(this,$('.cloudcarousel',$(this)),options))});return this}})(jQuery);
\ No newline at end of file
diff --git a/scripts/jquery/qtip2-2.1.1/jquery.qtip.min.css b/scripts/jquery/qtip2-2.1.1/jquery.qtip.min.css
deleted file mode 100644 (file)
index 6965d6d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* qTip2 v2.1.1 basic css3 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */
-.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid;border-color:transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-titlebar .ui-icon,.qtip-icon .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}.qtip-focus{}.qtip-hover{}.qtip-default{border-width:1px;border-style:solid;border-color:#F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111} .qtip-light{background-color:#fff;border-color:#E2E2E2;color:#454545}.qtip-light .qtip-titlebar{background-color:#f1f1f1} .qtip-dark{background-color:#505050;border-color:#303030;color:#f3f3f3}.qtip-dark .qtip-titlebar{background-color:#404040}.qtip-dark .qtip-icon{border-color:#444}.qtip-dark .qtip-titlebar .ui-state-hover{border-color:#303030} .qtip-cream{background-color:#FBF7AA;border-color:#F9E98E;color:#A27D35}.qtip-cream .qtip-titlebar{background-color:#F0DE7D}.qtip-cream .qtip-close .qtip-icon{background-position:-82px 0} .qtip-red{background-color:#F78B83;border-color:#D95252;color:#912323}.qtip-red .qtip-titlebar{background-color:#F06D65}.qtip-red .qtip-close .qtip-icon{background-position:-102px 0}.qtip-red .qtip-icon{border-color:#D95252}.qtip-red .qtip-titlebar .ui-state-hover{border-color:#D95252} .qtip-green{background-color:#CAED9E;border-color:#90D93F;color:#3F6219}.qtip-green .qtip-titlebar{background-color:#B0DE78}.qtip-green .qtip-close .qtip-icon{background-position:-42px 0} .qtip-blue{background-color:#E5F6FE;border-color:#ADD9ED;color:#5E99BD}.qtip-blue .qtip-titlebar{background-color:#D0E9F5}.qtip-blue .qtip-close .qtip-icon{background-position:-2px 0}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-rounded,.qtip-tipsy,.qtip-bootstrap{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border-width:0;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:#4A4A4A;background-color:rgba(0,0,0,0)}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323)"}.qtip-jtools .qtip-titlebar,.qtip-jtools .qtip-content{background:transparent;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:transparent}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}x:-o-prefocus,.qtip .qtip-tip{visibility:hidden}.qtip .qtip-tip,.qtip .qtip-tip .qtip-vml,.qtip .qtip-tip canvas{position:absolute;color:#123456;background:transparent;border:0 dashed transparent}.qtip .qtip-tip canvas{top:0;left:0}.qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}#qtip-overlay{position:fixed;left:-10000em;top:-10000em}#qtip-overlay.blurs{cursor:pointer}#qtip-overlay div{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;opacity:.7;filter:alpha(opacity=70);-ms-filter:"alpha(Opacity=70)"}.qtipmodal-ie6fix{position:absolute!important}
\ No newline at end of file
diff --git a/scripts/jquery/qtip2-2.1.1/jquery.qtip.min.js b/scripts/jquery/qtip2-2.1.1/jquery.qtip.min.js
deleted file mode 100644 (file)
index 036399f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/* qTip2 v2.1.1 tips modal viewport svg imagemap ie6 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */
-(function(t,e,s){(function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","imagesloaded"],t):jQuery&&!jQuery.fn.qtip&&t(jQuery)})(function(o){function n(t,e,i,s){this.id=i,this.target=t,this.tooltip=E,this.elements=elements={target:t},this._id=$+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache=cache={event:{},target:o(),disabled:S,attr:s,onTooltip:S,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=S}function r(t){return t===E||"object"!==o.type(t)}function a(t){return!(o.isFunction(t)||t&&t.attr||t.length||"object"===o.type(t)&&(t.jquery||t.then))}function h(t){var e,i,s,n;return r(t)?S:(r(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(e=t.content,r(e)||e.jquery||e.done?e=t.content={text:i=a(e)?S:e}:i=e.text,"ajax"in e&&(s=e.ajax,n=s&&s.once!==S,delete e.ajax,e.text=function(t,e){var r=i||o(this).attr(e.options.content.attr)||"Loading...",a=o.ajax(o.extend({},s,{context:e})).then(s.success,E,s.error).then(function(t){return t&&n&&e.set("content.text",t),t},function(t,i,s){e.destroyed||0===t.status||e.set("content.text",i+": "+s)});return n?r:(e.set("content.text",r),a)}),"title"in e&&(r(e.title)||(e.button=e.title.button,e.title=e.title.text),a(e.title||S)&&(e.title=S))),"position"in t&&r(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&r(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===M?{ready:M}:{event:t.show}),"hide"in t&&r(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&r(t.style)&&(t.style={classes:t.style}),o.each(N,function(){this.sanitize&&this.sanitize(t)}),t)}function l(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)n.length>s&&(i=o);return[i||t,n.pop()]}function c(t,e){var i,s,o;for(i in this.checks)for(s in this.checks[i])(o=RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}function p(t){return H.concat("").join(t?"-"+t+" ":" ")}function d(t){if(this.tooltip.hasClass(te))return S;clearTimeout(this.timers.show),clearTimeout(this.timers.hide);var e=o.proxy(function(){this.toggle(M,t)},this);this.options.show.delay>0?this.timers.show=setTimeout(e,this.options.show.delay):e()}function u(t){if(this.tooltip.hasClass(te))return S;var e=o(t.relatedTarget),i=e.closest(G)[0]===this.tooltip[0],s=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||s))try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}else{var r=o.proxy(function(){this.toggle(S,t)},this);this.options.hide.delay>0?this.timers.hide=setTimeout(r,this.options.hide.delay):r()}}function f(t){return this.tooltip.hasClass(te)||!this.options.hide.inactive?S:(clearTimeout(this.timers.inactive),this.timers.inactive=setTimeout(o.proxy(function(){this.hide(t)},this),this.options.hide.inactive),s)}function g(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function m(t,i,s){o(e.body).delegate(t,(i.split?i:i.join(re+" "))+re,function(){var t=T.api[o.attr(this,Y)];t&&!t.disabled&&s.apply(t,arguments)})}function v(t,i,s){var r,a,l,c,p,d=o(e.body),u=t[0]===e?d:t,f=t.metadata?t.metadata(s.metadata):E,g="html5"===s.metadata.type&&f?f[s.metadata.name]:E,m=t.data(s.metadata.name||"qtipopts");try{m="string"==typeof m?o.parseJSON(m):m}catch(v){}if(c=o.extend(M,{},T.defaults,s,"object"==typeof m?h(m):E,h(g||f)),a=c.position,c.id=i,"boolean"==typeof c.content.text){if(l=t.attr(c.content.attr),c.content.attr===S||!l)return S;c.content.text=l}if(a.container.length||(a.container=d),a.target===S&&(a.target=u),c.show.target===S&&(c.show.target=u),c.show.solo===M&&(c.show.solo=a.container.closest("body")),c.hide.target===S&&(c.hide.target=u),c.position.viewport===M&&(c.position.viewport=a.container),a.container=a.container.eq(0),a.at=new j(a.at,M),a.my=new j(a.my),t.data($))if(c.overwrite)t.qtip("destroy");else if(c.overwrite===S)return S;return t.attr(X,i),c.suppress&&(p=t.attr("title"))&&t.removeAttr("title").attr(ie,p).attr("title",""),r=new n(t,c,i,!!l),t.data($,r),t.one("remove.qtip-"+i+" removeqtip.qtip-"+i,function(){var t;(t=o(this).data($))&&t.destroy()}),r}function y(t){return t.charAt(0).toUpperCase()+t.slice(1)}function b(t,e){var i,o,n=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+ve.join(n+" ")+n).split(" "),a=0;if(me[e])return t.css(me[e]);for(;i=r[a++];)if((o=t.css(i))!==s)return me[e]=i,o}function w(t,e){return parseInt(b(t,e),10)}function x(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.init(this.qtip=t)}function _(t,e){this.options=e,this._ns="-modal",this.init(this.qtip=t)}function q(t){this._ns="ie6",this.init(this.qtip=t)}var T,C,j,z,W,M=!0,S=!1,E=null,O="x",R="y",I="width",k="height",B="top",L="left",P="bottom",V="right",D="center",A="flipinvert",F="shift",N={},$="qtip",X="data-hasqtip",Y="data-qtip-id",H=["ui-widget","ui-tooltip"],G="."+$,U="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Q=$+"-fixed",J=$+"-default",K=$+"-focus",Z=$+"-hover",te=$+"-disabled",ee="_replacedByqTip",ie="oldtitle";BROWSER={ie:function(){for(var t=3,i=e.createElement("div");(i.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->")&&i.getElementsByTagName("i")[0];);return t>4?t:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||S},C=n.prototype,C.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,s=this.cache,n=this.elements,r=i.content.text,a=i.content.title,h=i.content.button,l=i.position,c="."+this._id+" ",p=[];return o.attr(this.target[0],"aria-describedby",this._id),this.tooltip=n.tooltip=tooltip=o("<div/>",{id:this._id,"class":[$,J,i.style.classes,$+"-pos-"+i.position.my.abbrev()].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":S,"aria-describedby":this._id+"-content","aria-hidden":M}).toggleClass(te,this.disabled).attr(Y,this.id).data($,this).appendTo(l.container).append(n.content=o("<div />",{"class":$+"-content",id:this._id+"-content","aria-atomic":M})),this.rendered=-1,this.positioning=M,a&&(this._createTitle(),o.isFunction(a)||p.push(this._updateTitle(a,S))),h&&this._createButton(),o.isFunction(r)||p.push(this._updateContent(r,S)),this.rendered=M,this._setWidget(),o.each(i.events,function(t,e){o.isFunction(e)&&tooltip.bind(("toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t]).join(c)+c,e)}),o.each(N,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._assignEvents(),o.when.apply(o,p).then(function(){e._trigger("render"),e.positioning=S,e.hiddenDuringWait||!i.show.ready&&!t||e.toggle(M,s.event,S),e.hiddenDuringWait=S}),T.api[this.id]=this,this},C.destroy=function(t){function e(){if(!this.destroyed){this.destroyed=M;var t=this.target,e=t.attr(ie);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),o.each(this.plugins,function(){this.destroy&&this.destroy()}),clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this._unassignEvents(),t.removeData($).removeAttr(Y).removeAttr("aria-describedby"),this.options.suppress&&e&&t.attr("title",e).removeAttr(ie),this._unbind(t),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=E,delete T.api[this.id]}}return this.destroyed?this.target:(t!==M&&this.rendered?(tooltip.one("tooltiphidden",o.proxy(e,this)),!this.triggering&&this.hide()):e.call(this),this.target)},z=C.checks={builtin:{"^id$":function(t,e,i,s){var n=i===M?T.nextid:i,r=$+"-"+n;n!==S&&n.length>0&&!o("#"+r).length?(this._id=r,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=s},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,i){return i?(i&&!this.elements.title&&this._createTitle(),this._updateTitle(i),s):this._removeTitle()},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(t[e]=new j(i,"at"===e))},"^position.container$":function(t,e,i){this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(M)||this.toggle(M))},"^style.classes$":function(t,e,i,s){this.tooltip.removeClass(s).addClass(i)},"^style.width|height":function(t,e,i){this.tooltip.css(e,i)},"^style.widget|content.title":function(){this._setWidget()},"^style.def":function(t,e,i){this.tooltip.toggleClass(J,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){tooltip[(o.isFunction(i)?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var t=this.options.position;tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}},C.get=function(t){if(this.destroyed)return this;var e=l(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var se=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,oe=/^prerender|show\.ready/i;C.set=function(t,e){if(this.destroyed)return this;var i,n=this.rendered,r=S,a=this.options;return this.checks,"string"==typeof t?(i=t,t={},t[i]=e):t=o.extend({},t),o.each(t,function(e,i){if(!n&&!oe.test(e))return delete t[e],s;var h,c=l(a,e.toLowerCase());h=c[0][c[1]],c[0][c[1]]=i&&i.nodeType?o(i):i,r=se.test(e)||r,t[e]=[c[0],c[1],i,h]}),h(a),this.positioning=M,o.each(t,o.proxy(c,this)),this.positioning=S,this.rendered&&this.tooltip[0].offsetWidth>0&&r&&this.reposition("mouse"===a.position.target?E:this.cache.event),this},C._update=function(t,e){var i=this,s=this.cache;return this.rendered&&t?(o.isFunction(t)&&(t=t.call(this.elements.target,s.event,this)||""),o.isFunction(t.then)?(s.waiting=M,t.then(function(t){return s.waiting=S,i._update(t,e)},E,function(t){return i._update(t,e)})):t===S||!t&&""!==t?S:(t.jquery&&t.length>0?e.children().detach().end().append(t.css({display:"block"})):e.html(t),s.waiting=M,(o.fn.imagesLoaded?e.imagesLoaded():o.Deferred().resolve(o([]))).done(function(t){s.waiting=S,t.length&&i.rendered&&i.tooltip[0].offsetWidth>0&&i.reposition(s.event,!t.length)}).promise())):S},C._updateContent=function(t,e){this._update(t,this.elements.content,e)},C._updateTitle=function(t,e){this._update(t,this.elements.title,e)===S&&this._removeTitle(S)},C._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=o("<div />",{"class":$+"-titlebar "+(this.options.style.widget?p("header"):"")}).append(t.title=o("<div />",{id:e,"class":$+"-title","aria-atomic":M})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){o(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){o(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},C._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=E,t!==S&&this.reposition())},C.reposition=function(i,s){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=M;var n,r,a=this.cache,h=this.tooltip,l=this.options.position,c=l.target,p=l.my,d=l.at,u=l.viewport,f=l.container,g=l.adjust,m=g.method.split(" "),v=h.outerWidth(S),y=h.outerHeight(S),b=0,w=0,x=h.css("position"),_={left:0,top:0},q=h[0].offsetWidth>0,T=i&&"scroll"===i.type,C=o(t),j=f[0].ownerDocument,z=this.mouse;if(o.isArray(c)&&2===c.length)d={x:L,y:B},_={left:c[0],top:c[1]};else if("mouse"===c&&(i&&i.pageX||a.event.pageX))d={x:L,y:B},i=!z||!z.pageX||!g.mouse&&i&&i.pageX?(!i||"resize"!==i.type&&"scroll"!==i.type?i&&i.pageX&&"mousemove"===i.type?i:(!g.mouse||this.options.show.distance)&&a.origin&&a.origin.pageX?a.origin:i:a.event)||i||a.event||z||{}:z,"static"!==x&&(_=f.offset()),j.body.offsetWidth!==(t.innerWidth||j.documentElement.clientWidth)&&(r=o(j.body).offset()),_={left:i.pageX-_.left+(r&&r.left||0),top:i.pageY-_.top+(r&&r.top||0)},g.mouse&&T&&(_.left-=z.scrollX-C.scrollLeft(),_.top-=z.scrollY-C.scrollTop());else{if("event"===c&&i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?a.target=o(i.target):"event"!==c&&(a.target=o(c.jquery?c:elements.target)),c=a.target,c=o(c).eq(0),0===c.length)return this;c[0]===e||c[0]===t?(b=BROWSER.iOS?t.innerWidth:c.width(),w=BROWSER.iOS?t.innerHeight:c.height(),c[0]===t&&(_={top:(u||c).scrollTop(),left:(u||c).scrollLeft()})):N.imagemap&&c.is("area")?n=N.imagemap(this,c,d,N.viewport?m:S):N.svg&&c[0].ownerSVGElement?n=N.svg(this,c,d,N.viewport?m:S):(b=c.outerWidth(S),w=c.outerHeight(S),_=c.offset()),n&&(b=n.width,w=n.height,r=n.offset,_=n.position),_=this.reposition.offset(c,_,f),(BROWSER.iOS>3.1&&4.1>BROWSER.iOS||BROWSER.iOS>=4.3&&4.33>BROWSER.iOS||!BROWSER.iOS&&"fixed"===x)&&(_.left-=C.scrollLeft(),_.top-=C.scrollTop()),(!n||n&&n.adjustable!==S)&&(_.left+=d.x===V?b:d.x===D?b/2:0,_.top+=d.y===P?w:d.y===D?w/2:0)}return _.left+=g.x+(p.x===V?-v:p.x===D?-v/2:0),_.top+=g.y+(p.y===P?-y:p.y===D?-y/2:0),N.viewport?(_.adjusted=N.viewport(this,_,l,b,w,v,y),r&&_.adjusted.left&&(_.left+=r.left),r&&_.adjusted.top&&(_.top+=r.top)):_.adjusted={left:0,top:0},this._trigger("move",[_,u.elem||u],i)?(delete _.adjusted,s===S||!q||isNaN(_.left)||isNaN(_.top)||"mouse"===c||!o.isFunction(l.effect)?h.css(_):o.isFunction(l.effect)&&(l.effect.call(h,this,o.extend({},_)),h.queue(function(t){o(this).css({opacity:"",height:""}),BROWSER.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=S,this):this},C.reposition.offset=function(t,i,s){function n(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}if(!s[0])return i;var r,a,h,l,c=o(t[0].ownerDocument),p=!!BROWSER.ie&&"CSS1Compat"!==e.compatMode,d=s[0];do"static"!==(a=o.css(d,"position"))&&("fixed"===a?(h=d.getBoundingClientRect(),n(c,-1)):(h=o(d).position(),h.left+=parseFloat(o.css(d,"borderLeftWidth"))||0,h.top+=parseFloat(o.css(d,"borderTopWidth"))||0),i.left-=h.left+(parseFloat(o.css(d,"marginLeft"))||0),i.top-=h.top+(parseFloat(o.css(d,"marginTop"))||0),r||"hidden"===(l=o.css(d,"overflow"))||"visible"===l||(r=o(d)));while(d=d.offsetParent);return r&&(r[0]!==c[0]||p)&&n(r,1),i};var ne=(j=C.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,D).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?R:O}).prototype;ne.invert=function(t,e){this[t]=this[t]===L?V:this[t]===V?L:e||this[t]},ne.string=function(){var t=this.x,e=this.y;return t===e?t:this.precedance===R||this.forceY&&"center"!==e?e+" "+t:t+" "+e},ne.abbrev=function(){var t=this.string().split(" ");return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},ne.clone=function(){return new j(this.string(),this.forceY)},C.toggle=function(t,i){var s=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&/out|leave/.test(s.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;s.event=o.extend({},i)}if(this.waiting&&!t&&(this.hiddenDuringWait=M),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,l=t?"show":"hide",c=this.options[l],p=(this.options[t?"hide":"show"],this.options.position),d=this.options.content,u=this.tooltip.css("width"),f=this.tooltip[0].offsetWidth>0,g=t||1===c.target.length,m=!i||2>c.target.length||s.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!f),a=!r.is(":animated")&&f===t&&m,h=a?E:!!this._trigger(l,[90]),h!==S&&t&&this.focus(i),!h||a?this:(o.attr(r[0],"aria-hidden",!t),t?(s.origin=o.extend({},this.mouse),o.isFunction(d.text)&&this._updateContent(d.text,S),o.isFunction(d.title)&&this._updateTitle(d.title,S),!W&&"mouse"===p.target&&p.adjust.mouse&&(o(e).bind("mousemove."+$,this._storeMouse),W=M),u||r.css("width",r.outerWidth(S)),this.reposition(i,arguments[2]),u||r.css("width",""),c.solo&&("string"==typeof c.solo?o(c.solo):o(G,c.solo)).not(r).not(c.target).qtip("hide",o.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete s.origin,W&&!o(G+'[tracking="true"]:visible',c.solo).not(r).length&&(o(e).unbind("mousemove."+$),W=S),this.blur(i)),after=o.proxy(function(){t?(BROWSER.ie&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof c.autofocus&&o(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),c.effect===S||g===S?(r[l](),after()):o.isFunction(c.effect)?(r.stop(1,1),c.effect.call(r,this),r.queue("fx",function(t){after(),t()})):r.fadeTo(90,t?1:0,after),t&&c.target.trigger("qtip-"+this.id+"-inactive"),this)},C.show=function(t){return this.toggle(M,t)},C.hide=function(t){return this.toggle(S,t)},C.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=o(G),i=this.tooltip,s=parseInt(i[0].style.zIndex,10),n=T.zindex+e.length;return i.hasClass(K)||this._trigger("focus",[n],t)&&(s!==n&&(e.each(function(){this.style.zIndex>s&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+K).qtip("blur",t)),i.addClass(K)[0].style.zIndex=n),this},C.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(K),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},C.disable=function(t){return this.destroyed?this:("boolean"!=typeof t&&(t=!(this.tooltip.hasClass(te)||this.disabled)),this.rendered&&this.tooltip.toggleClass(te,t).attr("aria-disabled",t),this.disabled=!!t,this)},C.enable=function(){return this.disable(S)},C._createButton=function(){var t=this,e=this.elements,i=e.tooltip,s=this.options.content.button,n="string"==typeof s,r=n?s:"Close tooltip";e.button&&e.button.remove(),e.button=s.jquery?s:o("<a />",{"class":"qtip-close "+(this.options.style.widget?"":$+"-icon"),title:r,"aria-label":r}).prepend(o("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),e.button.appendTo(e.titlebar||i).attr("role","button").click(function(e){return i.hasClass(te)||t.hide(e),S})},C._updateButton=function(t){if(!this.rendered)return S;var e=this.elements.button;t?this._createButton():e.remove()},C._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(te);i.removeClass(te),te=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(te,s),i.toggleClass("ui-helper-reset "+p(),t).toggleClass(J,this.options.style.def&&!t),e.content&&e.content.toggleClass(p("content"),t),e.titlebar&&e.titlebar.toggleClass(p("header"),t),e.button&&e.button.toggleClass($+"-icon",!t)},C._storeMouse=function(i){this.mouse={pageX:i.pageX,pageY:i.pageY,type:"mousemove",scrollX:t.pageXOffset||e.body.scrollLeft||e.documentElement.scrollLeft,scrollY:t.pageYOffset||e.body.scrollTop||e.documentElement.scrollTop}},C._bind=function(t,e,i,s,n){var r="."+this._id+(s?"-"+s:"");e.length&&o(t).bind((e.split?e:e.join(r+" "))+r,o.proxy(i,n||this))},C._unbind=function(t,e){o(t).unbind("."+this._id+(e?"-"+e:""))};var re="."+$;o(function(){m(G,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=o(t.currentTarget),s=o(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(Q)&&!i.hasClass(te)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.hide.event&&n.show.target&&!s.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(Z,e)}),m("["+Y+"]",U,f)}),C._trigger=function(t,e,i){var s=o.Event("tooltip"+t);return s.originalEvent=i&&o.extend({},i)||this.cache.event||E,this.triggering=M,this.tooltip.trigger(s,[this].concat(e||[])),this.triggering=S,!s.isDefaultPrevented()},C._assignEvents=function(){var i=this.options,n=i.position,r=this.tooltip,a=i.show.target,h=i.hide.target,l=n.container,c=n.viewport,p=o(e),m=(o(e.body),o(t)),v=i.show.event?o.trim(""+i.show.event).split(" "):[],y=i.hide.event?o.trim(""+i.hide.event).split(" "):[],b=[];/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(p,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),i.hide.fixed?h=h.add(r.addClass(Q)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(h,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(t){var e=o(t.target),i=this.rendered&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0,s=e.parents(G).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||s||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof i.hide.inactive&&(this._bind(a,"qtip-"+this.id+"-inactive",f),this._bind(h.add(r),T.inactiveEvents,f,"-inactive")),y=o.map(y,function(t){var e=o.inArray(t,v);return e>-1&&h.add(a).length===h.length?(b.push(v.splice(e,1)[0]),s):t}),this._bind(a,v,d),this._bind(h,y,u),this._bind(a,b,function(t){(this.tooltip[0].offsetWidth>0?u:d).call(this,t)}),this._bind(a.add(r),"mousemove",function(t){if("number"==typeof i.hide.distance){var e=this.cache.origin||{},s=this.options.hide.distance,o=Math.abs;(o(t.pageX-e.pageX)>=s||o(t.pageY-e.pageY)>=s)&&this.hide(t)}this._storeMouse(t)}),"mouse"===n.target&&n.adjust.mouse&&(i.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(t){this.cache.onTarget="mouseenter"===t.type}),this._bind(p,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(n.adjust.resize||c.length)&&this._bind(o.event.special.resize?c:m,"resize",g),n.adjust.scroll&&this._bind(m.add(n.container),"scroll",g)},C._unassignEvents=function(){var i=[this.options.show.target[0],this.options.hide.target[0],this.rendered&&this.tooltip[0],this.options.position.container[0],this.options.position.viewport[0],this.options.position.container.closest("html")[0],t,e];this.rendered?this._unbind(o([]).pushStack(o.grep(i,function(t){return"object"==typeof t}))):o(i[0]).unbind("."+this._id+"-create")},T=o.fn.qtip=function(t,e,i){var n=(""+t).toLowerCase(),r=E,a=o.makeArray(arguments).slice(1),l=a[a.length-1],c=this[0]?o.data(this[0],$):E;return!arguments.length&&c||"api"===n?c:"string"==typeof t?(this.each(function(){var t=o.data(this,$);if(!t)return M;if(l&&l.timeStamp&&(t.cache.event=l),!e||"option"!==n&&"options"!==n)t[n]&&t[n].apply(t,a);else{if(i===s&&!o.isPlainObject(e))return r=t.get(e),S;t.set(e,i)}}),r!==E?r:this):"object"!=typeof t&&arguments.length?s:(c=h(o.extend(M,{},t)),T.bind.call(this,c,l))},T.bind=function(t,e){return this.each(function(i){function n(t){function e(){c.render("object"==typeof t||r.show.ready),a.show.add(a.hide).unbind(l)}return c.disabled?S:(c.cache.event=o.extend({},t),c.cache.target=t?o(t.target):[s],r.show.delay>0?(clearTimeout(c.timers.show),c.timers.show=setTimeout(e,r.show.delay),h.show!==h.hide&&a.hide.bind(h.hide,function(){clearTimeout(c.timers.show)})):e(),s)}var r,a,h,l,c,p;return p=o.isArray(t.id)?t.id[i]:t.id,p=!p||p===S||1>p.length||T.api[p]?T.nextid++:p,l=".qtip-"+p+"-create",c=v(o(this),p,t),c===S?M:(T.api[p]=c,r=c.options,o.each(N,function(){"initialize"===this.initialize&&this(c)}),a={show:r.show.target,hide:r.hide.target},h={show:o.trim(""+r.show.event).replace(/ /g,l+" ")+l,hide:o.trim(""+r.hide.event).replace(/ /g,l+" ")+l},/mouse(over|enter)/i.test(h.show)&&!/mouse(out|leave)/i.test(h.hide)&&(h.hide+=" mouseleave"+l),a.show.bind("mousemove"+l,function(t){c._storeMouse(t),c.cache.onTarget=M}),a.show.bind(h.show,n),(r.show.ready||r.prerender)&&n(e),s)})},T.api={},o.each({attr:function(t,e){if(this.length){var i=this[0],s="title",n=o.data(i,"qtip");if(t===s&&n&&"object"==typeof n&&n.options.suppress)return 2>arguments.length?o.attr(i,ie):(n&&n.options.content.attr===s&&n.cache.attr&&n.set("content.text",e),this.attr(ie,e))}return o.fn["attr"+ee].apply(this,arguments)},clone:function(t){var e=(o([]),o.fn["clone"+ee].apply(this,arguments));return t||e.filter("["+ie+"]").attr("title",function(){return o.attr(this,ie)}).removeAttr(ie),e}},function(t,e){if(!e||o.fn[t+ee])return M;var i=o.fn[t+ee]=o.fn[t];o.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),o.ui||(o["cleanData"+ee]=o.cleanData,o.cleanData=function(t){for(var e,i=0;(e=o(t[i])).length;i++)if(e.attr(X))try{e.triggerHandler("removeqtip")}catch(s){}o["cleanData"+ee].apply(this,arguments)}),T.version="2.1.1",T.nextid=0,T.inactiveEvents=U,T.zindex=15e3,T.defaults={prerender:S,id:S,overwrite:M,suppress:M,content:{text:M,attr:"title",title:S,button:S},position:{my:"top left",at:"bottom right",target:S,container:S,viewport:S,adjust:{x:0,y:0,mouse:M,scroll:M,resize:M,method:"flipinvert flipinvert"},effect:function(t,e){o(this).animate(e,{duration:200,queue:S})}},show:{target:S,event:"mouseenter",effect:M,delay:90,solo:S,ready:S,autofocus:S},hide:{target:S,event:"mouseleave",effect:M,delay:0,fixed:S,inactive:S,leave:"window",distance:S},style:{classes:"",widget:S,width:S,height:S,def:M},events:{render:E,move:E,show:E,hide:E,toggle:E,visible:E,hidden:E,focus:E,blur:E}};var ae,he="margin",le="border",ce="color",pe="background-color",de="transparent",ue=" !important",fe=!!e.createElement("canvas").getContext,ge=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,me={},ve=["Webkit","O","Moz","ms"];fe||(createVML=function(t,e,i){return"<qtipvml:"+t+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(e||"")+' style="behavior: url(#default#VML); '+(i||"")+'" />'}),o.extend(x.prototype,{init:function(t){var e,i;i=this.element=t.elements.tip=o("<div />",{"class":$+"-tip"}).prependTo(t.tooltip),fe?(e=o("<canvas />").appendTo(this.element)[0].getContext("2d"),e.lineJoin="miter",e.miterLimit=100,e.save()):(e=createVML("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(e+e),t._bind(o("*",i).add(i),["click","mousedown"],function(t){t.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(t){var e=this.qtip.elements.titlebar;return e&&(t.y===B||t.y===D&&this.element.position().top+this.size[1]/2+this.options.offset<e.outerHeight(M))},_parseCorner:function(t){var e=this.qtip.options.position.my;return t===S||e===S?t=S:t===M?t=new j(e.string()):t.string||(t=new j(t),t.fixed=M),t},_parseWidth:function(t,e,i){var s=this.qtip.elements,o=le+y(e)+"Width";return(i?w(i,o):w(s.content,o)||w(this._useTitle(t)&&s.titlebar||s.content,o)||w(tooltip,o))||0},_parseRadius:function(t){var e=this.qtip.elements,i=le+y(t.y)+y(t.x)+"Radius";return 9>BROWSER.ie?0:w(this._useTitle(t)&&e.titlebar||e.content,i)||w(e.tooltip,i)||0},_invalidColour:function(t,e,i){var s=t.css(e);return!s||i&&s===t.css(i)||ge.test(s)?S:s},_parseColours:function(t){var e=this.qtip.elements,i=this.element.css("cssText",""),s=le+y(t[t.precedance])+y(ce),n=this._useTitle(t)&&e.titlebar||e.content,r=this._invalidColour,a=[];return a[0]=r(i,pe)||r(n,pe)||r(e.content,pe)||r(tooltip,pe)||i.css(pe),a[1]=r(i,s,ce)||r(n,s,ce)||r(e.content,s,ce)||r(tooltip,s,ce)||tooltip.css(s),o("*",i).add(i).css("cssText",pe+":"+de+ue+";"+le+":0"+ue+";"),a},_calculateSize:function(t){var e,i,s,o=t.precedance===R,n=this.options[o?"height":"width"],r=this.options[o?"width":"height"],a="c"===t.abbrev(),h=n*(a?.5:1),l=Math.pow,c=Math.round,p=Math.sqrt(l(h,2)+l(r,2)),d=[this.border/h*p,this.border/r*p];return d[2]=Math.sqrt(l(d[0],2)-l(this.border,2)),d[3]=Math.sqrt(l(d[1],2)-l(this.border,2)),e=p+d[2]+d[3]+(a?0:d[0]),i=e/p,s=[c(i*n),c(i*r)],o?s:s.reverse()},_calculateTip:function(t){var e=this.size[0],i=this.size[1],s=Math.ceil(e/2),o=Math.ceil(i/2),n={br:[0,0,e,i,e,0],bl:[0,0,e,0,0,i],tr:[0,i,e,0,e,i],tl:[0,0,0,i,e,i],tc:[0,i,s,0,e,i],bc:[0,0,e,0,s,i],rc:[0,0,e,o,0,i],lc:[e,0,e,i,0,o]};return n.lt=n.br,n.rt=n.bl,n.lb=n.tr,n.rb=n.tl,n[t.abbrev()]},create:function(){var t=this.corner=(fe||BROWSER.ie)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,e){if(!this.enabled)return this;var i,s,n,r,a,h,l,c=(this.qtip.elements,this.element),p=c.children(),d=this.options,u=this.size,f=d.mimic,g=Math.round;t||(t=this.qtip.cache.corner||this.corner),f===S?f=t:(f=new j(f),f.precedance=t.precedance,"inherit"===f.x?f.x=t.x:"inherit"===f.y?f.y=t.y:f.x===f.y&&(f[t.precedance]=t[t.precedance])),s=f.precedance,t.precedance===O?this._swapDimensions():this._resetDimensions(),i=this.color=this._parseColours(t),i[1]!==de?(l=this.border=this._parseWidth(t,t[t.precedance]),d.border&&1>l&&(i[0]=i[1]),this.border=l=d.border!==M?d.border:l):this.border=l=0,r=this._calculateTip(f),h=this.size=this._calculateSize(t),c.css({width:h[0],height:h[1],lineHeight:h[1]+"px"}),a=t.precedance===R?[g(f.x===L?l:f.x===V?h[0]-u[0]-l:(h[0]-u[0])/2),g(f.y===B?h[1]-u[1]:0)]:[g(f.x===L?h[0]-u[0]:0),g(f.y===B?l:f.y===P?h[1]-u[1]-l:(h[1]-u[1])/2)],fe?(p.attr(I,h[0]).attr(k,h[1]),n=p[0].getContext("2d"),n.restore(),n.save(),n.clearRect(0,0,3e3,3e3),n.fillStyle=i[0],n.strokeStyle=i[1],n.lineWidth=2*l,n.translate(a[0],a[1]),n.beginPath(),n.moveTo(r[0],r[1]),n.lineTo(r[2],r[3]),n.lineTo(r[4],r[5]),n.closePath(),l&&("border-box"===tooltip.css("background-clip")&&(n.strokeStyle=i[0],n.stroke()),n.strokeStyle=i[1],n.stroke()),n.fill()):(r="m"+r[0]+","+r[1]+" l"+r[2]+","+r[3]+" "+r[4]+","+r[5]+" xe",a[2]=l&&/^(r|b)/i.test(t.string())?8===BROWSER.ie?2:1:0,p.css({coordsize:u[0]+l+" "+(u[1]+l),antialias:""+(f.string().indexOf(D)>-1),left:a[0]-a[2]*Number(s===O),top:a[1]-a[2]*Number(s===R),width:u[0]+l,height:u[1]+l}).each(function(t){var e=o(this);e[e.prop?"prop":"attr"]({coordsize:u[0]+l+" "+(u[1]+l),path:r,fillcolor:i[0],filled:!!t,stroked:!t}).toggle(!(!l&&!t)),!t&&e.html(createVML("stroke",'weight="'+2*l+'px" color="'+i[1]+'" miterlimit="1000" joinstyle="miter"'))})),e!==S&&this.calculate(t)},calculate:function(t){if(!this.enabled)return S;var e,i,s,n=this,r=this.qtip.elements,a=this.element,h=this.options.offset,l=(this.qtip.tooltip.hasClass("ui-widget"),{});return t=t||this.corner,e=t.precedance,i=this._calculateSize(t),s=[t.x,t.y],e===O&&s.reverse(),o.each(s,function(s,o){var a,c,p;o===D?(a=e===R?L:B,l[a]="50%",l[he+"-"+a]=-Math.round(i[e===R?0:1]/2)+h):(a=n._parseWidth(t,o,r.tooltip),c=n._parseWidth(t,o,r.content),p=n._parseRadius(t),l[o]=Math.max(-n.border,s?c:h+(p>a?p:-a)))}),l[t[e]]-=i[e===O?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,i){if(this.enabled){var o,n,r=e.cache,a=this.corner.clone(),h=i.adjusted,l=e.options.position.adjust.method.split(" "),c=l[0],p=l[1]||l[0],d={left:S,top:S,x:0,y:0},u={};this.corner.fixed!==M&&(c===F&&a.precedance===O&&h.left&&a.y!==D?a.precedance=a.precedance===O?R:O:c!==F&&h.left&&(a.x=a.x===D?h.left>0?L:V:a.x===L?V:L),p===F&&a.precedance===R&&h.top&&a.x!==D?a.precedance=a.precedance===R?O:R:p!==F&&h.top&&(a.y=a.y===D?h.top>0?B:P:a.y===B?P:B),a.string()===r.corner.string()||r.cornerTop===h.top&&r.cornerLeft===h.left||this.update(a,S)),o=this.calculate(a,h),o.right!==s&&(o.left=-o.right),o.bottom!==s&&(o.top=-o.bottom),o.user=this.offset,(d.left=c===F&&!!h.left)&&(a.x===D?u[he+"-left"]=d.x=o[he+"-left"]-h.left:(n=o.right!==s?[h.left,-o.left]:[-h.left,o.left],(d.x=Math.max(n[0],n[1]))>n[0]&&(i.left-=h.left,d.left=S),u[o.right!==s?V:L]=d.x)),(d.top=p===F&&!!h.top)&&(a.y===D?u[he+"-top"]=d.y=o[he+"-top"]-h.top:(n=o.bottom!==s?[h.top,-o.top]:[-h.top,o.top],(d.y=Math.max(n[0],n[1]))>n[0]&&(i.top-=h.top,d.top=S),u[o.bottom!==s?P:B]=d.y)),this.element.css(u).toggle(!(d.x&&d.y||a.x===D&&d.y||a.y===D&&d.x)),i.left-=o.left.charAt?o.user:c!==F||d.top||!d.left&&!d.top?o.left:0,i.top-=o.top.charAt?o.user:p!==F||d.left||!d.left&&!d.top?o.top:0,r.cornerLeft=h.left,r.cornerTop=h.top,r.corner=a.clone()
-}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),ae=N.tip=function(t){return new x(t,t.options.style.tip)},ae.initialize="render",ae.sanitize=function(t){t.style&&"tip"in t.style&&(opts=t.style.tip,"object"!=typeof opts&&(opts=t.style.tip={corner:opts}),/string|boolean/i.test(typeof opts.corner)||(opts.corner=M))},z.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},o.extend(M,T.defaults,{style:{tip:{corner:M,mimic:S,width:6,height:6,border:M,offset:0}}});var ye,be,we="qtip-modal",xe="."+we;be=function(){function i(t){if(o.expr[":"].focusable)return o.expr[":"].focusable;var e,i,s,n=!isNaN(o.attr(t,"tabindex")),r=t.nodeName&&t.nodeName.toLowerCase();return"area"===r?(e=t.parentNode,i=e.name,t.href&&i&&"map"===e.nodeName.toLowerCase()?(s=o("img[usemap=#"+i+"]")[0],!!s&&s.is(":visible")):!1):/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||n:n}function s(t){1>p.length&&t.length?t.not("body").blur():p.first().focus()}function n(t){if(l.is(":visible")){var e,i=o(t.target),n=r.tooltip,h=i.closest(G);e=1>h.length?S:parseInt(h[0].style.zIndex,10)>parseInt(n[0].style.zIndex,10),e||i.closest(G)[0]===n[0]||s(i),a=t.target===p[p.length-1]}}var r,a,h,l,c=this,p={};o.extend(c,{init:function(){function i(){var t=o(this);l.css({height:t.height(),width:t.width()})}return l=c.elem=o("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return S}}).hide(),o(t).bind("resize"+xe,i),i(),o(e.body).bind("focusin"+xe,n),o(e).bind("keydown"+xe,function(t){r&&r.options.show.modal.escape&&27===t.keyCode&&r.hide(t)}),l.bind("click"+xe,function(t){r&&r.options.show.modal.blur&&r.hide(t)}),c},update:function(t){r=t,p=t.options.show.modal.stealfocus!==S?t.tooltip.find("*").filter(function(){return i(this)}):[]},toggle:function(t,i,n){var a=(o(e.body),t.tooltip),p=t.options.show.modal,d=p.effect,u=i?"show":"hide",f=l.is(":visible"),g=o(xe).filter(":visible:not(:animated)").not(a);return c.update(t),i&&p.stealfocus!==S&&s(o(":focus")),l.toggleClass("blurs",p.blur),i&&l.css({left:0,top:0}).appendTo(e.body),l.is(":animated")&&f===i&&h!==S||!i&&g.length?c:(l.stop(M,S),o.isFunction(d)?d.call(l,i):d===S?l[u]():l.fadeTo(parseInt(n,10)||90,i?1:0,function(){i||l.hide()}),i||l.queue(function(t){l.css({left:"",top:""}),o(xe).length||l.detach(),t()}),h=i,r.destroyed&&(r=E),c)}}),c.init()},be=new be,o.extend(_.prototype,{init:function(t){var e=t.tooltip;return this.options.on?(t.elements.overlay=be.elem,e.addClass(we).css("z-index",N.modal.zindex+o(xe).length),t._bind(e,["tooltipshow","tooltiphide"],function(t,i,s){var n=t.originalEvent;if(t.target===e[0])if(n&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(n.type)&&o(n.relatedTarget).closest(overlay[0]).length)try{t.preventDefault()}catch(r){}else(!n||n&&!n.solo)&&this.toggle(t,"tooltipshow"===t.type,s)},this._ns,this),t._bind(e,"tooltipfocus",function(t,i){if(!t.isDefaultPrevented()&&t.target===e[0]){var s=o(xe),n=N.modal.zindex+s.length,r=parseInt(e[0].style.zIndex,10);be.elem[0].style.zIndex=n-1,s.each(function(){this.style.zIndex>r&&(this.style.zIndex-=1)}),s.filter("."+K).qtip("blur",t.originalEvent),e.addClass(K)[0].style.zIndex=n,be.update(i);try{t.preventDefault()}catch(a){}}},this._ns,this),t._bind(e,"tooltiphide",function(t){t.target===e[0]&&o(xe).filter(":visible").not(e).last().qtip("focus",t)},this._ns,this),s):this},toggle:function(t,e,i){return t&&t.isDefaultPrevented()?this:(be.toggle(this.qtip,!!e,i),s)},destroy:function(){this.qtip.tooltip.removeClass(we),this.qtip._unbind(this.qtip.tooltip,this._ns),be.toggle(this.qtip,S),delete this.qtip.elements.overlay}}),ye=N.modal=function(t){return new _(t,t.options.show.modal)},ye.sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:t.show.modal.on===s&&(t.show.modal.on=M))},ye.zindex=T.zindex-200,ye.initialize="render",z.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},o.extend(M,T.defaults,{show:{modal:{on:S,effect:M,blur:M,stealfocus:M,escape:M}}}),N.viewport=function(i,s,o,n,r,a,h){function l(t,e,i,o,n,r,a,h,l){var c=s[n],d=g[t],u=m[t],f=i===F,v=-_.offset[n]+x.offset[n]+x["scroll"+n],y=d===n?l:d===r?-l:-l/2,b=u===n?h:u===r?-h:-h/2,w=T&&T.size?T.size[a]||0:0,q=T&&T.corner&&T.corner.precedance===t&&!f?w:0,C=v-c+q,j=c+l-x[a]-v+q,z=y-(g.precedance===t||d===g[e]?b:0)-(u===D?h/2:0);return f?(q=T&&T.corner&&T.corner.precedance===e?w:0,z=(d===n?1:-1)*y-q,s[n]+=C>0?C:j>0?-j:0,s[n]=Math.max(-_.offset[n]+x.offset[n]+(q&&T.corner[t]===D?T.offset:0),c-z,Math.min(Math.max(-_.offset[n]+x.offset[n]+x[a],c+z),s[n]))):(o*=i===A?2:0,C>0&&(d!==n||j>0)?(s[n]-=z+o,p.invert(t,n)):j>0&&(d!==r||C>0)&&(s[n]-=(d===D?-z:z)+o,p.invert(t,r)),v>s[n]&&-s[n]>j&&(s[n]=c,p=g.clone())),s[n]-c}var c,p,d,u=o.target,f=i.elements.tooltip,g=o.my,m=o.at,v=o.adjust,y=v.method.split(" "),b=y[0],w=y[1]||y[0],x=o.viewport,_=o.container,q=i.cache,T=i.plugins.tip,C={left:0,top:0};return x.jquery&&u[0]!==t&&u[0]!==e.body&&"none"!==v.method?(c="fixed"===f.css("position"),x={elem:x,width:x[0]===t?x.width():x.outerWidth(S),height:x[0]===t?x.height():x.outerHeight(S),scrollleft:c?0:x.scrollLeft(),scrolltop:c?0:x.scrollTop(),offset:x.offset()||{left:0,top:0}},_={elem:_,scrollLeft:_.scrollLeft(),scrollTop:_.scrollTop(),offset:_.offset()||{left:0,top:0}},("shift"!==b||"shift"!==w)&&(p=g.clone()),C={left:"none"!==b?l(O,R,b,v.x,L,V,I,n,a):0,top:"none"!==w?l(R,O,w,v.y,B,P,k,r,h):0},p&&q.lastClass!==(d=$+"-pos-"+p.abbrev())&&f.removeClass(i.cache.lastClass).addClass(i.cache.lastClass=d),C):C},N.polys={polygon:function(t,e){var i,s,o,n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:S},r=0,a=[],h=1,l=1,c=0,p=0;for(r=t.length;r--;)i=[parseInt(t[--r],10),parseInt(t[r+1],10)],i[0]>n.position.right&&(n.position.right=i[0]),i[0]<n.position.left&&(n.position.left=i[0]),i[1]>n.position.bottom&&(n.position.bottom=i[1]),i[1]<n.position.top&&(n.position.top=i[1]),a.push(i);if(s=n.width=Math.abs(n.position.right-n.position.left),o=n.height=Math.abs(n.position.bottom-n.position.top),"c"===e.abbrev())n.position={left:n.position.left+n.width/2,top:n.position.top+n.height/2};else{for(;s>0&&o>0&&h>0&&l>0;)for(s=Math.floor(s/2),o=Math.floor(o/2),e.x===L?h=s:e.x===V?h=n.width-s:h+=Math.floor(s/2),e.y===B?l=o:e.y===P?l=n.height-o:l+=Math.floor(o/2),r=a.length;r--&&!(2>a.length);)c=a[r][0]-n.position.left,p=a[r][1]-n.position.top,(e.x===L&&c>=h||e.x===V&&h>=c||e.x===D&&(h>c||c>n.width-h)||e.y===B&&p>=l||e.y===P&&l>=p||e.y===D&&(l>p||p>n.height-l))&&a.splice(r,1);n.position={left:a[0][0],top:a[0][1]}}return n},rect:function(t,e,i,s){return{width:Math.abs(i-t),height:Math.abs(s-e),position:{left:Math.min(t,i),top:Math.min(e,s)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(t,e,i,s,o){var n=N.polys._angles[o.abbrev()],r=i*Math.cos(n*Math.PI),a=s*Math.sin(n*Math.PI);return{width:2*i-Math.abs(r),height:2*s-Math.abs(a),position:{left:t+r,top:e+a},adjustable:S}},circle:function(t,e,i,s){return N.polys.ellipse(t,e,i,i,s)}},N.svg=function(t,s,n){for(var r,a,h,l=o(e),c=s[0],p={};!c.getBBox;)c=c.parentNode;if(!c.getBBox||!c.parentNode)return S;switch(c.nodeName){case"rect":a=N.svg.toPixel(c,c.x.baseVal.value,c.y.baseVal.value),h=N.svg.toPixel(c,c.x.baseVal.value+c.width.baseVal.value,c.y.baseVal.value+c.height.baseVal.value),p=N.polys.rect(a[0],a[1],h[0],h[1],n);break;case"ellipse":case"circle":a=N.svg.toPixel(c,c.cx.baseVal.value,c.cy.baseVal.value),p=N.polys.ellipse(a[0],a[1],(c.rx||c.r).baseVal.value,(c.ry||c.r).baseVal.value,n);break;case"line":case"polygon":case"polyline":for(points=c.points||[{x:c.x1.baseVal.value,y:c.y1.baseVal.value},{x:c.x2.baseVal.value,y:c.y2.baseVal.value}],p=[],i=-1,len=points.numberOfItems||points.length;len>++i;)next=points.getItem?points.getItem(i):points[i],p.push.apply(p,N.svg.toPixel(c,next.x,next.y));p=N.polys.polygon(p,n);break;default:if(r=c.getBBox(),mtx=c.getScreenCTM(),root=c.farthestViewportElement||c,!root.createSVGPoint)return S;point=root.createSVGPoint(),point.x=r.x,point.y=r.y,tPoint=point.matrixTransform(mtx),p.position={left:tPoint.x,top:tPoint.y},point.x+=r.width,point.y+=r.height,tPoint=point.matrixTransform(mtx),p.width=tPoint.x-p.position.left,p.height=tPoint.y-p.position.top}return p.position.left+=l.scrollLeft(),p.position.top+=l.scrollTop(),p},N.svg.toPixel=function(t,e,i){var s,o,n=t.getScreenCTM(),r=t.farthestViewportElement||t;return r.createSVGPoint?(o=r.createSVGPoint(),o.x=e,o.y=i,s=o.matrixTransform(n),[s.x,s.y]):S},N.imagemap=function(t,e,i){e.jquery||(e=o(e));var s,n,r,a=e.attr("shape").toLowerCase().replace("poly","polygon"),h=o('img[usemap="#'+e.parent("map").attr("name")+'"]'),l=e.attr("coords"),c=l.split(",");if(!h.length)return S;if("polygon"===a)result=N.polys.polygon(c,i);else{if(!N.polys[a])return S;for(r=-1,len=c.length,n=[];len>++r;)n.push(parseInt(c[r],10));result=N.polys[a].apply(this,n.concat(i))}return s=h.offset(),s.left+=Math.ceil((h.outerWidth(S)-h.width())/2),s.top+=Math.ceil((h.outerHeight(S)-h.height())/2),result.position.left+=s.left,result.position.top+=s.top,result};var _e,qe='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';"  style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>';o.extend(q.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=o(t).scrollTop()+"px")},init:function(i){var s=i.tooltip;1>o("select, object").length&&(this.bgiframe=i.elements.bgiframe=o(qe).appendTo(s),i._bind(s,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=o("<div/>",{id:$+"-rcontainer"}).appendTo(e.body),i.elements.overlay&&i.elements.overlay.addClass("qtipmodal-ie6fix")&&(i._bind(t,["scroll","resize"],this._scroll,this._ns,this),i._bind(s,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,i=this.qtip.tooltip,s={height:i.outerHeight(S),width:i.outerWidth(S)},o=this.qtip.plugins.tip,n=this.qtip.elements.tip;e=parseInt(i.css("borderLeftWidth"),10)||0,e={left:-e,top:-e},o&&n&&(t="x"===o.corner.precedance?[I,L]:[k,B],e[t[1]]-=n[t[0]]()),this.bgiframe.css(e).css(s)},redraw:function(){if(1>this.qtip.rendered||this.drawing)return self;var t,e,i,s,o=this.qtip.tooltip,n=this.qtip.options.style,r=this.qtip.options.position.container;return this.qtip.drawing=1,n.height&&o.css(k,n.height),n.width?o.css(I,n.width):(o.css(I,"").appendTo(this.redrawContainer),e=o.width(),1>e%2&&(e+=1),i=o.css("maxWidth")||"",s=o.css("minWidth")||"",t=(i+s).indexOf("%")>-1?r.width()/100:0,i=(i.indexOf("%")>-1?t:1)*parseInt(i,10)||e,s=(s.indexOf("%")>-1?t:1)*parseInt(s,10)||0,e=i+s?Math.min(Math.max(e,s),i):e,o.css(I,Math.round(e)).appendTo(r)),this.drawing=0,self},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([t,this.qtip.tooltip],this._ns)}}),_e=N.ie6=function(t){return 6===BROWSER.ie?new q(t):S},_e.initialize="render",z.ie6={"^content|style$":function(){this.redraw()}}})})(window,document);
\ No newline at end of file
diff --git a/scripts/jquery/thickbox.css b/scripts/jquery/thickbox.css
deleted file mode 100644 (file)
index d24b9be..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-/* ----------------------------------------------------------------------------------------------------------------*/
-/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
-/* ----------------------------------------------------------------------------------------------------------------*/
-*{padding: 0; margin: 0;}
-
-/* ----------------------------------------------------------------------------------------------------------------*/
-/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
-/* ----------------------------------------------------------------------------------------------------------------*/
-#TB_window {
-       font: 12px Arial, Helvetica, sans-serif;
-       color: #333333;
-}
-
-#TB_secondLine {
-       font: 10px Arial, Helvetica, sans-serif;
-       color:#666666;
-}
-
-#TB_window a:link {color: #666666;}
-#TB_window a:visited {color: #666666;}
-#TB_window a:hover {color: #000;}
-#TB_window a:active {color: #666666;}
-#TB_window a:focus{color: #666666;}
-
-/* ----------------------------------------------------------------------------------------------------------------*/
-/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
-/* ----------------------------------------------------------------------------------------------------------------*/
-#TB_overlay {
-       position: fixed;
-       z-index:100;
-       top: 0px;
-       left: 0px;
-       height:100%;
-       width:100%;
-}
-
-.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
-.TB_overlayBG {
-       background-color:#000;
-       filter:alpha(opacity=75);
-       -moz-opacity: 0.75;
-       opacity: 0.75;
-}
-
-* html #TB_overlay { /* ie6 hack */
-     position: absolute;
-     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
-}
-
-#TB_window {
-       position: fixed;
-       background: #ffffff;
-       z-index: 102;
-       color:#000000;
-       display:none;
-       border: 4px solid #525252;
-       text-align:left;
-       top:50%;
-       left:50%;
-}
-
-* html #TB_window { /* ie6 hack */
-position: absolute;
-margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
-}
-
-#TB_window img#TB_Image {
-       display:block;
-       margin: 15px 0 0 15px;
-       border-right: 1px solid #ccc;
-       border-bottom: 1px solid #ccc;
-       border-top: 1px solid #666;
-       border-left: 1px solid #666;
-}
-
-#TB_caption{
-       height:25px;
-       padding:7px 30px 10px 25px;
-       float:left;
-}
-
-#TB_closeWindow{
-       height:25px;
-       padding:11px 25px 10px 0;
-       float:right;
-}
-
-#TB_closeAjaxWindow{
-       padding:7px 10px 5px 0;
-       margin-bottom:1px;
-       text-align:right;
-       float:right;
-}
-
-#TB_ajaxWindowTitle{
-       float:left;
-       padding:7px 0 5px 10px;
-       margin-bottom:1px;
-}
-
-#TB_title{
-       background-color:#e8e8e8;
-       height:27px;
-}
-
-#TB_ajaxContent{
-       clear:both;
-       padding:2px 15px 15px 15px;
-       overflow:auto;
-       text-align:left;
-       line-height:1.4em;
-}
-
-#TB_ajaxContent.TB_modal{
-       padding:15px;
-}
-
-#TB_ajaxContent p{
-       padding:5px 0px 5px 0px;
-}
-
-#TB_load{
-       position: fixed;
-       display:none;
-       height:13px;
-       width:208px;
-       z-index:103;
-       top: 50%;
-       left: 50%;
-       margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
-}
-
-* html #TB_load { /* ie6 hack */
-position: absolute;
-margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
-}
-
-#TB_HideSelect{
-       z-index:99;
-       position:fixed;
-       top: 0;
-       left: 0;
-       background-color:#fff;
-       border:none;
-       filter:alpha(opacity=0);
-       -moz-opacity: 0;
-       opacity: 0;
-       height:100%;
-       width:100%;
-}
-
-* html #TB_HideSelect { /* ie6 hack */
-     position: absolute;
-     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
-}
-
-#TB_iframeContent{
-       clear:both;
-       border:none;
-       margin-bottom:-1px;
-       margin-top:1px;
-       _margin-bottom:1px;
-}
diff --git a/scripts/jquery/thickbox3.1.js b/scripts/jquery/thickbox3.1.js
deleted file mode 100644 (file)
index 7036156..0000000
+++ /dev/null
@@ -1,319 +0,0 @@
-/*
- * Thickbox 3.1 - One Box To Rule Them All.
- * By Cody Lindley (http://www.codylindley.com)
- * Copyright (c) 2007 cody lindley
- * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
-*/
-                 
-var tb_pathToImage = "images/loadingAnimation.gif";
-
-/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
-
-//on page load call tb_init
-$(document).ready(function(){   
-       tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
-       imgLoader = new Image();// preload image
-       imgLoader.src = tb_pathToImage;
-});
-
-//add thickbox to href & area elements that have a class of .thickbox
-function tb_init(domChunk){
-       $(domChunk).click(function(){
-       var t = this.title || this.name || null;
-       var a = this.href || this.alt;
-       var g = this.rel || false;
-       tb_show(t,a,g);
-       this.blur();
-       return false;
-       });
-}
-
-function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
-
-       try {
-               if (typeof document.body.style.maxHeight === "undefined") {//if IE 6
-                       $("body","html").css({height: "100%", width: "100%"});
-                       $("html").css("overflow","hidden");
-                       if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6
-                               $("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
-                               $("#TB_overlay").click(tb_remove);
-                       }
-               }else{//all others
-                       if(document.getElementById("TB_overlay") === null){
-                               $("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
-                               $("#TB_overlay").click(tb_remove);
-                       }
-               }
-               
-               if(tb_detectMacXFF()){
-                       $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash
-               }else{
-                       $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity
-               }
-               
-               if(caption===null){caption="";}
-               $("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page
-               $('#TB_load').show();//show loader
-               
-               var baseURL;
-          if(url.indexOf("?")!==-1){ //ff there is a query string involved
-                       baseURL = url.substr(0, url.indexOf("?"));
-          }else{ 
-                       baseURL = url;
-          }
-          
-          var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
-          var urlType = baseURL.toLowerCase().match(urlString);
-
-               if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images
-                               
-                       TB_PrevCaption = "";
-                       TB_PrevURL = "";
-                       TB_PrevHTML = "";
-                       TB_NextCaption = "";
-                       TB_NextURL = "";
-                       TB_NextHTML = "";
-                       TB_imageCount = "";
-                       TB_FoundURL = false;
-                       if(imageGroup){
-                               TB_TempArray = $("a[rel="+imageGroup+"]").get();
-                               for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) {
-                                       var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);
-                                               if (!(TB_TempArray[TB_Counter].href == url)) {                                          
-                                                       if (TB_FoundURL) {
-                                                               TB_NextCaption = TB_TempArray[TB_Counter].title;
-                                                               TB_NextURL = TB_TempArray[TB_Counter].href;
-                                                               TB_NextHTML = "<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>";
-                                                       } else {
-                                                               TB_PrevCaption = TB_TempArray[TB_Counter].title;
-                                                               TB_PrevURL = TB_TempArray[TB_Counter].href;
-                                                               TB_PrevHTML = "<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>";
-                                                       }
-                                               } else {
-                                                       TB_FoundURL = true;
-                                                       TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length);                                                                                     
-                                               }
-                               }
-                       }
-
-                       imgPreloader = new Image();
-                       imgPreloader.onload = function(){               
-                       imgPreloader.onload = null;
-                               
-                       // Resizing large images - orginal by Christian Montoya edited by me.
-                       var pagesize = tb_getPageSize();
-                       var x = pagesize[0] - 150;
-                       var y = pagesize[1] - 150;
-                       var imageWidth = imgPreloader.width;
-                       var imageHeight = imgPreloader.height;
-                       if (imageWidth > x) {
-                               imageHeight = imageHeight * (x / imageWidth); 
-                               imageWidth = x; 
-                               if (imageHeight > y) { 
-                                       imageWidth = imageWidth * (y / imageHeight); 
-                                       imageHeight = y; 
-                               }
-                       } else if (imageHeight > y) { 
-                               imageWidth = imageWidth * (y / imageHeight); 
-                               imageHeight = y; 
-                               if (imageWidth > x) { 
-                                       imageHeight = imageHeight * (x / imageWidth); 
-                                       imageWidth = x;
-                               }
-                       }
-                       // End Resizing
-                       
-                       TB_WIDTH = imageWidth + 30;
-                       TB_HEIGHT = imageHeight + 60;
-                       $("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");          
-                       
-                       $("#TB_closeWindowButton").click(tb_remove);
-                       
-                       if (!(TB_PrevHTML === "")) {
-                               function goPrev(){
-                                       if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);}
-                                       $("#TB_window").remove();
-                                       $("body").append("<div id='TB_window'></div>");
-                                       tb_show(TB_PrevCaption, TB_PrevURL, imageGroup);
-                                       return false;   
-                               }
-                               $("#TB_prev").click(goPrev);
-                       }
-                       
-                       if (!(TB_NextHTML === "")) {            
-                               function goNext(){
-                                       $("#TB_window").remove();
-                                       $("body").append("<div id='TB_window'></div>");
-                                       tb_show(TB_NextCaption, TB_NextURL, imageGroup);                                
-                                       return false;   
-                               }
-                               $("#TB_next").click(goNext);
-                               
-                       }
-
-                       document.onkeydown = function(e){       
-                               if (e == null) { // ie
-                                       keycode = event.keyCode;
-                               } else { // mozilla
-                                       keycode = e.which;
-                               }
-                               if(keycode == 27){ // close
-                                       tb_remove();
-                               } else if(keycode == 190){ // display previous image
-                                       if(!(TB_NextHTML == "")){
-                                               document.onkeydown = "";
-                                               goNext();
-                                       }
-                               } else if(keycode == 188){ // display next image
-                                       if(!(TB_PrevHTML == "")){
-                                               document.onkeydown = "";
-                                               goPrev();
-                                       }
-                               }       
-                       };
-                       
-                       tb_position();
-                       $("#TB_load").remove();
-                       $("#TB_ImageOff").click(tb_remove);
-                       $("#TB_window").css({display:"block"}); //for safari using css instead of show
-                       };
-                       
-                       imgPreloader.src = url;
-               }else{//code to show html
-                       
-                       var queryString = url.replace(/^[^\?]+\??/,'');
-                       var params = tb_parseQuery( queryString );
-
-                       TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL
-                       TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL
-                       ajaxContentW = TB_WIDTH - 30;
-                       ajaxContentH = TB_HEIGHT - 45;
-                       
-                       if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window              
-                                       urlNoQuery = url.split('TB_');
-                                       $("#TB_iframeContent").remove();
-                                       if(params['modal'] != "true"){//iframe no modal
-                                               $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' > </iframe>");
-                                       }else{//iframe modal
-                                       $("#TB_overlay").unbind();
-                                               $("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'> </iframe>");
-                                       }
-                       }else{// not an iframe, ajax
-                                       if($("#TB_window").css("display") != "block"){
-                                               if(params['modal'] != "true"){//ajax no modal
-                                               $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");
-                                               }else{//ajax modal
-                                               $("#TB_overlay").unbind();
-                                               $("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>"); 
-                                               }
-                                       }else{//this means the window is already up, we are just loading new content via ajax
-                                               $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px";
-                                               $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px";
-                                               $("#TB_ajaxContent")[0].scrollTop = 0;
-                                               $("#TB_ajaxWindowTitle").html(caption);
-                                       }
-                       }
-                                       
-                       $("#TB_closeWindowButton").click(tb_remove);
-                       
-                               if(url.indexOf('TB_inline') != -1){     
-                                       $("#TB_ajaxContent").append($('#' + params['inlineId']).children());
-                                       $("#TB_window").unload(function () {
-                                               $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished
-                                       });
-                                       tb_position();
-                                       $("#TB_load").remove();
-                                       $("#TB_window").css({display:"block"}); 
-                               }else if(url.indexOf('TB_iframe') != -1){
-                                       tb_position();
-                                       if($.browser.safari){//safari needs help because it will not fire iframe onload
-                                               $("#TB_load").remove();
-                                               $("#TB_window").css({display:"block"});
-                                       }
-                               }else{
-                                       $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method
-                                               tb_position();
-                                               $("#TB_load").remove();
-                                               tb_init("#TB_ajaxContent a.thickbox");
-                                               $("#TB_window").css({display:"block"});
-                                       });
-                               }
-                       
-               }
-
-               if(!params['modal']){
-                       document.onkeyup = function(e){         
-                               if (e == null) { // ie
-                                       keycode = event.keyCode;
-                               } else { // mozilla
-                                       keycode = e.which;
-                               }
-                               if(keycode == 27){ // close
-                                       tb_remove();
-                               }       
-                       };
-               }
-               
-       } catch(e) {
-               //nothing here
-       }
-}
-
-//helper functions below
-function tb_showIframe(){
-       $("#TB_load").remove();
-       $("#TB_window").css({display:"block"});
-}
-
-function tb_remove() {
-       $("#TB_imageOff").unbind("click");
-       $("#TB_closeWindowButton").unbind("click");
-       $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();});
-       $("#TB_load").remove();
-       if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
-               $("body","html").css({height: "auto", width: "auto"});
-               $("html").css("overflow","");
-       }
-       document.onkeydown = "";
-       document.onkeyup = "";
-       return false;
-}
-
-function tb_position() {
-$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});
-       if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
-               $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
-       }
-}
-
-function tb_parseQuery ( query ) {
-   var Params = {};
-   if ( ! query ) {return Params;}// return empty object
-   var Pairs = query.split(/[;&]/);
-   for ( var i = 0; i < Pairs.length; i++ ) {
-      var KeyVal = Pairs[i].split('=');
-      if ( ! KeyVal || KeyVal.length != 2 ) {continue;}
-      var key = unescape( KeyVal[0] );
-      var val = unescape( KeyVal[1] );
-      val = val.replace(/\+/g, ' ');
-      Params[key] = val;
-   }
-   return Params;
-}
-
-function tb_getPageSize(){
-       var de = document.documentElement;
-       var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
-       var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
-       arrayPageSize = [w,h];
-       return arrayPageSize;
-}
-
-function tb_detectMacXFF() {
-  var userAgent = navigator.userAgent.toLowerCase();
-  if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) {
-    return true;
-  }
-}
-
-
diff --git a/widgets/ec_product_carousel/admin/index.php b/widgets/ec_product_carousel/admin/index.php
deleted file mode 100644 (file)
index 7533315..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * ウィジェット呼び出し用ファイル
- * index.php
- *
- * PHP versions 5
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2007 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id: index.php 219 2012-11-01 12:45:28Z naoki $
- * @link       http://www.magic3.org
- */
-// 直接アクセスの防止
-defined('M3_SYSTEM') or die('Access error: Direct access denied.');
-
-// ウィジェット実行
-global $gLaunchManager;
-$gLaunchManager->goWidget(__FILE__);
-?>
diff --git a/widgets/ec_product_carousel/css/default.css b/widgets/ec_product_carousel/css/default.css
deleted file mode 100644 (file)
index 26d7764..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#productcarousel {
-       width:520px;
-       height:280px;
-       background:#000;
-       overflow:scroll;
-       margin-left:auto;
-       margin-right:auto;
-}
diff --git a/widgets/ec_product_carousel/images/navigati.png b/widgets/ec_product_carousel/images/navigati.png
deleted file mode 100644 (file)
index 9821532..0000000
Binary files a/widgets/ec_product_carousel/images/navigati.png and /dev/null differ
diff --git a/widgets/ec_product_carousel/include/container/admin_ec_product_carouselWidgetContainer.php b/widgets/ec_product_carousel/include/container/admin_ec_product_carouselWidgetContainer.php
deleted file mode 100644 (file)
index 50bfbe3..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<?php
-/**
- * コンテナクラス
- *
- * PHP versions 5
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2016 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id$
- * @link       http://www.magic3.org
- */
-require_once($gEnvManager->getContainerPath() . '/baseAdminWidgetContainer.php');
-
-class admin_ec_product_carouselWidgetContainer extends BaseAdminWidgetContainer
-{
-       private $db;    // DB接続オブジェクト
-       private $paramObj;              // ウィジェットデータオブジェクト
-       const DEFAULT_ITEM_COUNT = 10;                          // デフォルトの表示項目数
-       
-       /**
-        * コンストラクタ
-        */
-       function __construct()
-       {
-               // 親クラスを呼び出す
-               parent::__construct();
-       }
-       /**
-        * テンプレートファイルを設定
-        *
-        * _assign()でデータを埋め込むテンプレートファイルのファイル名を返す。
-        * 読み込むディレクトリは、「自ウィジェットディレクトリ/include/template」に固定。
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。そのまま_assign()に渡る
-        * @return string                                               テンプレートファイル名。テンプレートライブラリを使用しない場合は空文字列「''」を返す。
-        */
-       function _setTemplate($request, &$param)
-       {       
-               return 'admin.tmpl.html';
-       }
-       /**
-        * テンプレートにデータ埋め込む
-        *
-        * _setTemplate()で指定したテンプレートファイルにデータを埋め込む。
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。_setTemplate()と共有。
-        * @param                                                               なし
-        */
-       function _assign($request, &$param)
-       {
-               // 入力値を取得
-               $act = $request->trimValueOf('act');
-               $viewCount              = $request->valueOf('view_count');                      // 表示項目数
-               
-               if ($act == 'update'){          // 設定更新のとき
-                       // エラーチェック
-                       $this->checkNumeric($viewCount, '商品取得数');
-                       
-                       if ($this->getMsgCount() == 0){                 // エラーのないとき
-                               $this->paramObj = new stdClass;
-                               $this->paramObj->viewCount      = $viewCount;   // 表示項目数
-                               $ret = $this->updateWidgetParamObj($this->paramObj);
-                               if ($ret){
-                                       $this->setMsg(self::MSG_GUIDANCE, 'データを更新しました');
-                               } else {
-                                       $this->setMsg(self::MSG_APP_ERR, 'データ更新に失敗しました');
-                               }                               
-                       }
-               } else {                // 初期表示の場合
-                       // デフォルト値設定
-                       $viewCount = self::DEFAULT_ITEM_COUNT;  // 表示項目数
-                       $this->paramObj = $this->getWidgetParamObj();
-                       if (!empty($this->paramObj)){
-                               $viewCount      = $this->paramObj->viewCount;   // 表示項目数
-                       }
-               }
-               // 画面にデータを埋め込む
-               $this->tmpl->addVar("_widget", "view_count",    $viewCount);// 表示項目数
-       }
-       /**
-        * テンプレートにデータ埋め込む
-        *
-        * _setTemplate()で指定したテンプレートファイルにデータを埋め込む。
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。_setTemplate()と共有。
-        * @return                                                              なし
-        */
-       function _postAssign($request, &$param)
-       {
-               // メニューバー、パンくずリスト作成(簡易版)
-               $this->createBasicConfigMenubar($request);
-       }
-}
-?>
diff --git a/widgets/ec_product_carousel/include/container/ec_product_carouselWidgetContainer.php b/widgets/ec_product_carousel/include/container/ec_product_carouselWidgetContainer.php
deleted file mode 100644 (file)
index dd2c007..0000000
+++ /dev/null
@@ -1,377 +0,0 @@
-<?php
-/**
- * index.php用コンテナクラス
- *
- * PHP versions 5
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2017 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id$
- * @link       http://www.magic3.org
- */
-require_once($gEnvManager->getContainerPath() . '/baseWidgetContainer.php');
-require_once($gEnvManager->getCurrentWidgetDbPath() .  '/ec_product_carouselDb.php');
-require_once($gEnvManager->getCommonPath() . '/valueCheck.php');
-
-class ec_product_carouselWidgetContainer extends BaseWidgetContainer
-{
-       private $db;                    // DB接続オブジェクト
-       private $langId;                // 言語
-       private $currencyId;    // 現在の通貨ID
-       private $currentPageUrl;        // 現在のページ
-       private $viewCountArray;        // 表示回数更新用
-       private $imageWidth;            // 商品画像幅
-       private $imageHeight;           // 商品画像高さ
-       private $categoryId;    // カテゴリーID
-       const PRICE_OBJ_ID = "eclib";           // 価格計算オブジェクトID
-       const REGULAR_PRICE = 'regular';                // 通常価格
-       const PRODUCT_IMAGE_MEDIUM = 'standard-product';                // 中サイズ商品画像ID
-       const PRODUCT_IMAGE_SMALL = 'small-product';            // 小サイズ商品画像ID
-       const PRODUCT_IMAGE_LARGE = 'large-product';            // 大サイズ商品画像ID
-       const PRODUCT_STATUS_NEW = 'new';               // 商品ステータス新規
-       const PRODUCT_STATUS_SUGGEST = 'suggest';               // 商品ステータスおすすめ
-       const DEFAULT_TAX_TYPE = 'sales';                       // デフォルト税種別
-       const VIEW_STYLE_SMALL = 'small';                       // 表示スタイル(小)
-       const VIEW_STYLE_MEDIUM = 'medium';                     // 表示スタイル(中)
-       const VIEW_STYLE_LARGE = 'large';                       // 表示スタイル(大)
-       const DEFAULT_ITEM_COUNT = 10;                          // デフォルトの表示項目数
-       const DEFAULT_TITLE = '商品カルーセル表示';    // デフォルトのタイトル
-       const DEFAULT_CSS_FILE = '/default.css';        // CSSファイル
-       const DEFAULT_PRODUCT_IMAGE_TYPE = 'c.jpg';                     // 商品画像ファイルのタイプ
-       const PRODUCT_IMAGE_DIR = '/widgets/product/image/';                            // 商品画像格納ディレクトリ
-       const MAX_CATEGORY_LEVEL = 5;                   // カテゴリー階層最大数
-       // Eコマース設定DB値
-       const CF_E_HIERARCHICAL_CATEGORY        = 'hierarchical_category';      // 階層化商品カテゴリー
-       
-       /**
-        * コンストラクタ
-        */
-       function __construct()
-       {
-               // 親クラスを呼び出す
-               parent::__construct();
-               
-               // DBオブジェクト作成
-               $this->db = new ec_product_carouselDb();
-               
-               // EC用共通オブジェクト取得
-               $this->ecObj = $this->gInstance->getObject(self::PRICE_OBJ_ID);
-               
-               $this->currencyId = $this->ecObj->getDefaultCurrency();         // 現在の通貨ID
-       }
-       /**
-        * テンプレートファイルを設定
-        *
-        * _assign()でデータを埋め込むテンプレートファイルのファイル名を返す。
-        * 読み込むディレクトリは、「自ウィジェットディレクトリ/include/template」に固定。
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。そのまま_assign()に渡る
-        * @return string                                               テンプレートファイル名。テンプレートライブラリを使用しない場合は空文字列「''」を返す。
-        */
-       function _setTemplate($request, &$param)
-       {
-               return 'index.tmpl.html';
-       }
-       /**
-        * テンプレートにデータ埋め込む
-        *
-        * _setTemplate()で指定したテンプレートファイルにデータを埋め込む。
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。_setTemplate()と共有。
-        * @param                                                               なし
-        */
-       function _assign($request, &$param)
-       {
-               // 環境取得
-               $this->langId   = $this->gEnv->getCurrentLanguage();            // 表示言語を取得
-               
-               // 現在のページURL
-               $this->currentPageUrl = $this->gEnv->createCurrentPageUrl();
-               
-               // 表示設定を取得
-               $viewCount = self::DEFAULT_ITEM_COUNT;          // 表示商品数
-
-               // ウィジェットパラメータ取得
-               $paramObj = $this->getWidgetParamObj();
-               if (!empty($paramObj)){
-                       $viewCount      = $paramObj->viewCount; // 表示項目数
-               }
-               
-               // 画像情報を取得
-               $this->imageWidth = 0;          // 商品画像幅
-               $this->imageHeight = 0;         // 商品画像高さ
-               $ret = $this->db->getProductImageInfo(self::PRODUCT_IMAGE_MEDIUM, $row);
-               if ($ret){
-                       $this->imageWidth = $row['is_width'];
-                       $this->imageHeight = $row['is_height'];
-               }
-               
-               // パラメータ取得
-               $categoryId = $request->trimValueOf('category');        // カテゴリーID
-               $this->categoryId = $categoryId;
-               $categoryArray = explode(',', $categoryId);
-               if (!ValueCheck::isNumeric($categoryArray)){
-                       $categoryId = '';               // すべて数値であるかチェック
-                       $categoryArray = array();
-               }
-               if (empty($categoryId)){                        // カテゴリーが設定されていないときは商品詳細からカテゴリーを取得
-                       $productId = $request->trimValueOf(M3_REQUEST_PARAM_PRODUCT_ID);                // 商品ID取得
-                       
-                       // 商品カテゴリー取得
-                       $ret = $this->db->getProductWithCategory($productId, $this->langId, $row);
-                       if ($ret){
-                               $categoryId = $row['pw_category_id'];
-                               $categoryArray = explode(',', $categoryId);
-                       }
-               }
-               if (!empty($categoryArray) && $this->ecObj->getConfig(self::CF_E_HIERARCHICAL_CATEGORY)){                       // サブカテゴリーを取得する場合
-                       $categoryArray = array_unique($this->getSubCategory($categoryArray));
-                       $categoryId = implode(',', $categoryArray);
-               }
-               
-               // 商品リストを取得
-               $this->db->getProductSerial($this->langId, $viewCount, 0, $categoryArray, $rows);
-               shuffle($rows);                 // 配列をシャッフル
-               $productCount = count($rows);
-               for ($i = 0; $i < $productCount; $i++){
-                       $this->productListLoop($i, $rows[$i]);
-               }
-
-               // 表示回数を更新
-               $viewCountSize = count($this->viewCountArray);
-               if ($viewCountSize > 0){
-                       // トランザクションスタート
-                       $this->db->startTransaction();
-                               
-                       for ($i = 0; $i < $viewCountSize; $i++){
-                               $id = $this->viewCountArray[$i][0];
-                               $viewCount = $this->viewCountArray[$i][1] + 1;
-                               
-                               $updateParam = array();
-                               $updateParam['pe_promote_count'] = $viewCount;
-                               $this->db->updateProductRecord($id, $this->langId, $updateParam);
-                       }
-                       // トランザクション終了
-                       $ret = $this->db->endTransaction();
-               }
-       }
-       /**
-        * ウィジェットのタイトルを設定
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。そのまま_assign()に渡る
-        * @return string                                               ウィジェットのタイトル名
-        */
-       function _setTitle($request, &$param)
-       {
-               return self::DEFAULT_TITLE;
-       }
-       /**
-        * CSSファイルをHTMLヘッダ部に設定
-        *
-        * CSSファイルをHTMLのheadタグ内に追加出力する。
-        * _assign()よりも後に実行される。
-        *
-        * @param RequestManager $request               HTTPリクエスト処理クラス
-        * @param object         $param                 任意使用パラメータ。
-        * @return string                                               CSS文字列。出力しない場合は空文字列を設定。
-        */
-       function _addCssFileToHead($request, &$param)
-       {
-               $cssFilePath = $this->getUrl($this->gEnv->getCurrentWidgetCssUrl() . self::DEFAULT_CSS_FILE);           // CSSファイル
-               return array($cssFilePath);
-       }
-       /**
-        * 取得したデータをテンプレートに設定する
-        *
-        * @param int $index                    行番号(0~)
-        * @param array $fetchedRow             フェッチ取得した行
-        * @param object $param                 未使用
-        * @return bool                                 true=処理続行の場合、false=処理終了の場合
-        */
-       function productListLoop($index, $fetchedRow, $param = null)
-       {
-               // 商品の詳細情報を取得
-               $ret = $this->db->getProductBySerial($fetchedRow['pt_serial'], $row, $row2, $row3, $row4, $row5);
-               if ($ret){
-                       // 商品ID
-                       $id = $row['pt_id'];
-                       if (empty($id)) $id = 0;
-               
-                       // 参照数
-                       $viewCount = $row['pe_promote_count'];
-                       if (empty($viewCount)) $viewCount = 0;
-               
-                       // 価格を取得
-                       $priceArray = $this->getPrice($row2, self::REGULAR_PRICE);
-                       $price = $priceArray['pp_price'];       // 価格
-                       $currency = $priceArray['pp_currency_id'];      // 通貨
-                       $taxType = $row['pt_tax_type_id'];                                      // 税種別
-                       $lang = $row['pt_language_id'];                                 // 言語
-
-                       // 表示額作成
-                       $this->ecObj->setCurrencyType($currency, $lang);                // 通貨設定
-                       $this->ecObj->setTaxType($taxType);             // 税種別設定
-                       $totalPrice = $this->ecObj->getPriceWithTax($price, $dispPrice);        // 税込み価格取得
-                       
-                       // 画像を取得
-                       $imageArray = $this->getImage($row3, self::PRODUCT_IMAGE_SMALL);// 商品画像小
-                       $imageUrl_s = $imageArray['im_url'];    // URL
-                       $imageArray = $this->getImage($row3, self::PRODUCT_IMAGE_MEDIUM);// 商品画像中
-                       $imageUrl_m = $imageArray['im_url'];    // URL
-                       $imageArray = $this->getImage($row3, self::PRODUCT_IMAGE_LARGE);// 商品画像大
-                       $imageUrl_l = $imageArray['im_url'];    // URL
-                       
-                       // 画像中
-                       $imageUrl = str_replace(M3_TAG_START . M3_TAG_MACRO_ROOT_URL . M3_TAG_END, $this->gEnv->getRootUrl(), $imageUrl_m);
-                       $imagePath = str_replace(M3_TAG_START . M3_TAG_MACRO_ROOT_URL . M3_TAG_END, $this->gEnv->getSystemRootPath(), $imageUrl_m);
-                       if (!file_exists($imagePath)){
-                               $imageUrl = $this->getProductImageUrl('0_' . $this->imageWidth . 'x' . $this->imageHeight . self::DEFAULT_PRODUCT_IMAGE_TYPE);
-                       }
-               }
-               
-               // 商品詳細リンクを作成
-               $name = '詳細';               // 名前
-//             if (empty($this->categoryId)){                  // カテゴリーなしのとき
-                       $linkUrl = $this->gEnv->getDefaultUrl() . '?' . M3_REQUEST_PARAM_PRODUCT_ID . '=' . $id;
-/*             } else {
-                       $linkUrl = $this->currentPageUrl;
-                       $linkUrl .= '&category=' . $this->categoryId;
-                       $linkUrl .= '&' . M3_REQUEST_PARAM_PRODUCT_ID . '=' . $id;
-               }*/
-               $link = '<a href="' . $this->getUrl($linkUrl, true) . '" >' . $name . '</a>';
-               
-               $row = array(
-                       'id' => $id,                    // ID
-                       'image' => $this->getUrl($imageUrl),            // 画像
-                       'image_width' => $this->imageWidth,                     // 画像幅
-                       'image_height' => $this->imageHeight,                   // 画像高さ
-                       'name' => $this->convertToDispString($row['pt_name']),          // 名前
-                       'code' => $this->convertToDispString($row['pt_code']),          // 商品コード
-                       'disp_total_price' => $dispPrice,                               // 税込み価格
-                       'description_short' => $row['pt_description'],                          // 簡易説明
-                       'product_url' => $this->getUrl($linkUrl, true),                                                                         // 商品詳細リンクURL
-                       'product_link' => $link                                                                                 // 商品詳細リンク
-               );
-               $this->tmpl->addVars('product_list', $row);
-               $this->tmpl->parseTemplate('product_list', 'a');
-               
-               // 表示回数の更新用
-               $this->viewCountArray[] = array($id, $viewCount);
-               return true;
-       }
-       /**
-        * 価格取得
-        *
-        * @param array         $srcRows                        価格リスト
-        * @param string        $priceType                      価格のタイプ
-        * @return array                                                取得した価格行
-        */
-       function getPrice($srcRows, $priceType)
-       {
-               for ($i = 0; $i < count($srcRows); $i++){
-                       if ($srcRows[$i]['pp_currency_id'] == $this->currencyId && $srcRows[$i]['pp_price_type_id'] == $priceType){
-                               return $srcRows[$i];
-                       }
-               }
-               return array();
-       }
-       /**
-        * 画像取得
-        *
-        * @param array         $srcRows                        画像リスト
-        * @param string        $imageType                      画像タイプ
-        * @return array                                                取得した行
-        */
-       function getImage($srcRows, $sizeType)
-       {
-               for ($i = 0; $i < count($srcRows); $i++){
-                       if ($srcRows[$i]['im_size_id'] == $sizeType){
-                               return $srcRows[$i];
-                       }
-               }
-               return array();
-       }
-       /**
-        * 商品ステータス取得
-        *
-        * @param array         $srcRows                        取得行
-        * @param string        $type                   商品ステータスタイプ
-        * @return array                                                取得した行
-        */
-       function getStatus($srcRows, $type)
-       {
-               for ($i = 0; $i < count($srcRows); $i++){
-                       if ($srcRows[$i]['ps_type'] == $type){
-                               return $srcRows[$i];
-                       }
-               }
-               return array();
-       }
-       /**
-        * 商品画像URL取得
-        *
-        * @param string $filename              ファイル名
-        * @return string                               URL
-        */
-       function getProductImageUrl($filename)
-       {
-               return $this->gEnv->getResourceUrl() . self::PRODUCT_IMAGE_DIR . $filename;
-       }
-       /**
-        * サブカテゴリーを取得
-        *
-        * @param array $category               カテゴリー
-        * @return array                                すべてのカテゴリーID
-        */
-       function getSubCategory($category, $level = 0)
-       {
-               if (empty($category)) return array();
-               
-               $destCategory = $category;
-               
-               for ($i = 0; $i < count($category); $i++){
-                       $addCategory = $this->_getChildCategory($category[$i]);
-                       $destCategory = array_merge($destCategory, $addCategory);
-               }
-               return $destCategory;
-       }
-       /**
-        * サブカテゴリーを取得
-        *
-        * @param int $categoryId               カテゴリーId
-        * @return array                                すべてのカテゴリーID
-        */
-       function _getChildCategory($categoryId, $level = 0)
-       {
-               $destCategory = array();
-               
-               // メニューの階層を制限
-               if ($level >= self::MAX_CATEGORY_LEVEL) return $destCategory;
-               $level++;
-               
-               // 子カテゴリーを取得
-               $ret = $this->db->getChildCategory($categoryId, $this->langId, $rows);
-               if ($ret){
-                       for ($i = 0; $i < count($rows); $i++){
-                               $childCategory = $rows[$i]['pc_id'];
-                               if (!in_array($childCategory, $destCategory)){
-                                       $addCategoryArray = $this->_getChildCategory($childCategory, $level);
-                                       for ($j = 0; $j < count($addCategoryArray); $j++){
-                                               $addCategory = $addCategoryArray[$j];
-                                               if (!in_array($addCategory, $destCategory)) $destCategory[] = $addCategory;
-                                       }
-                                       $destCategory[] = $childCategory;
-                               }
-                       }
-               }
-               return $destCategory;
-       }
-}
-?>
diff --git a/widgets/ec_product_carousel/include/db/ec_product_carouselDb.php b/widgets/ec_product_carousel/include/db/ec_product_carouselDb.php
deleted file mode 100644 (file)
index 226e466..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-<?php
-/**
- * DBクラス
- *
- * PHP versions 5
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2012 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id: ec_product_carouselDb.php 271 2012-12-09 01:44:08Z naoki $
- * @link       http://www.magic3.org
- */
-require_once($gEnvManager->getDbPath() . '/baseDb.php');
-
-class ec_product_carouselDb extends BaseDb
-{
-       /**
-        * 商品一覧を取得(シリアル番号のみ)
-        *
-        * @param string        $lang                           言語
-        * @param int           $limit                          取得する項目数
-        * @param int           $offset                         取得する先頭位置(0~)
-        * @param array         $categoryArray          商品カテゴリー(空の場合は全商品対象)
-        * @param array     $rows                               取得レコード
-        * @return bool                                                 取得 = true, 取得なし= false
-        */
-       function getProductSerial($lang, $limit, $offset, $categoryArray, &$rows)
-       {
-               $queryStr = 'SELECT distinct(pt_serial) ';
-               $queryStr .=  'FROM product RIGHT JOIN product_with_category ON pt_serial = pw_product_serial ';
-               $queryStr .=  'WHERE pt_deleted = false ';// 削除されていない
-               $queryStr .=    'AND pt_visible = true ';               // 表示可能な商品        
-               $queryStr .=    'AND pt_language_id = ? ';
-               if (!empty($categoryArray)) $queryStr .=    'AND pw_category_id in (' . implode(',', $categoryArray) . ') ';
-               $ret = $this->selectRecords($queryStr, array($lang), $rows);
-
-               $serialArray = array();
-               if ($ret){
-                       for ($i = 0; $i < count($rows); $i++){
-                               $serialArray[] = $rows[$i]['pt_serial'];
-                       }
-               }
-               $serialStr = implode(',', $serialArray);
-               if (empty($serialStr)) $serialStr = '0';                // 0レコードのときはダミー値を設定
-               
-               $queryStr = 'SELECT pt_serial, ';
-               $queryStr .=    'CASE WHEN pe_promote_count IS NULL THEN 0 ELSE pe_promote_count ';
-               $queryStr .=    'END AS promote_count ';                // 表示回数
-               $queryStr .=  'FROM product LEFT JOIN product_record ON pt_id = pe_product_id AND pt_language_id = pe_language_id ';
-               $queryStr .=  'WHERE pt_serial in (' . $serialStr . ') ';                       // 商品シリアル番号
-               $queryStr .=  'ORDER BY promote_count limit ' . $limit . ' offset ' . $offset;          // 表示回数が少ないものを優先的に取得
-               $ret = $this->selectRecords($queryStr, array(), $rows);
-               return $ret;
-       }
-       /**
-        * 商品をシリアル番号で取得
-        *
-        * @param int           $serial                         シリアル番号
-        * @param array     $row                                レコード
-        * @param array     $row2                               商品価格
-        * @param array     $row3                               商品画像
-        * @param array     $row4                               商品ステータス
-        * @param array     $row5                               商品カテゴリー
-        * @return bool                                                 取得 = true, 取得なし= false
-        */
-       function getProductBySerial($serial, &$row, &$row2, &$row3, &$row4, &$row5)
-       {
-               $queryStr = 'SELECT * ';
-               $queryStr .=  'FROM product LEFT JOIN product_record ON pt_id = pe_product_id AND pt_language_id = pe_language_id ';
-               $queryStr .=  'WHERE pt_serial = ? ';
-               $ret = $this->selectRecord($queryStr, array($serial), $row);
-               if ($ret){
-                       $queryStr  = 'SELECT * FROM product_price ';
-                       $queryStr .=   'WHERE pp_deleted = false ';// 削除されていない
-                       $queryStr .=     'AND pp_product_class = ? ';           // 商品クラス
-                       $queryStr .=     'AND pp_product_id = ? ';
-                       $this->selectRecords($queryStr, array(''/*デフォルト商品クラス*/, $row['pt_id']), $row2);
-                       
-                       $queryStr  = 'SELECT * FROM product_image ';
-                       $queryStr .=   'WHERE im_deleted = false ';// 削除されていない
-                       $queryStr .=     'AND im_type = 2 ';            // 商品画像
-                       $queryStr .=     'AND im_id = ? ';
-                       $queryStr .=     'AND im_language_id = ? ';
-                       $this->selectRecords($queryStr, array($row['pt_id'], $row['pt_language_id']), $row3);
-                       
-                       // 商品ステータス
-                       $queryStr  = 'SELECT * FROM product_status ';
-                       $queryStr .=   'WHERE ps_deleted = false ';// 削除されていない
-                       $queryStr .=     'AND ps_id = ? ';
-                       $queryStr .=     'AND ps_language_id = ? ';
-                       $this->selectRecords($queryStr, array($row['pt_id'], $row['pt_language_id']), $row4);
-                       
-                       // 商品カテゴリー
-                       $queryStr  = 'SELECT * FROM product_with_category ';
-                       $queryStr .=   'WHERE pw_product_serial = ? ';
-                       $queryStr .=  'ORDER BY pw_index ';
-                       $this->selectRecords($queryStr, array($row['pt_serial']), $row5);
-               }
-               return $ret;
-       }
-       /**
-        * 商品記録を更新
-        *
-        * @param int     $id                   商品ID
-        * @param string  $lang                 言語ID
-        * @param array $updateParam    更新パラメータ
-        * @return bool                                 true = 成功、false = 失敗
-        */
-       function updateProductRecord($id, $lang, $updateParam)
-       {
-               global $gEnvManager;
-               
-               $now = date("Y/m/d H:i:s");     // 現在日時
-               $userId = $gEnvManager->getCurrentUserId();     // 現在のユーザ
-               
-               // パラメータエラーチェック
-               $keys = array_keys($updateParam);
-               if (in_array('pe_serial', $keys)) return false;
-                               
-               // 既存データ取得
-               $queryStr = 'SELECT * FROM product_record ';
-               $queryStr .=  'WHERE pe_product_id = ? ';
-               $queryStr .=    'AND pe_language_id = ? ';
-               $ret = $this->selectRecord($queryStr, array($id, $lang), $stockRow);
-               if ($ret){      // データが存在するとき
-                       // ##### データを更新 #####
-                       // レコード更新
-                       $queryStr = 'UPDATE product_record ';
-                       $queryStr .=  'SET ';
-                       $values = array();
-                       for ($i = 0; $i < count($keys); $i++){
-                               $queryStr .= $keys[$i] . ' = ?, ';
-                               $values[] = $updateParam[$keys[$i]];
-                       }
-                       $queryStr .= 'pe_update_user_id = ?, '; $values[] = $userId;
-                       $queryStr .= 'pe_update_dt = ? '; $values[] = $now;
-                       $queryStr .=  'WHERE pe_serial = ? ';
-                       $values[] = $stockRow['pe_serial'];
-                       $ret =$this->execStatement($queryStr, $values);
-               } else {
-                       // ##### データを新規追加 #####
-                       // 新規レコード追加
-                       $queryStr = 'INSERT INTO product_record ';
-                       $queryStr .=  '(';
-               
-                       $valueStr = '(';
-                       $values = array();
-                       for ($i = 0; $i < count($keys); $i++){
-                               $queryStr .= $keys[$i] . ', ';
-                               $valueStr .= '?, ';
-                               $values[] = $updateParam[$keys[$i]];
-                       }
-                       $queryStr .= 'pe_product_id, pe_language_id, pe_update_user_id, pe_update_dt) ';
-                       $valueStr .= '?, ?, ?, ?) ';
-                       $values[] = $id;
-                       $values[] = $lang;
-                       $values[] = $userId;
-                       $values[] = $now;
-                       
-                       $queryStr .=  'VALUES ';
-                       $queryStr .=  $valueStr;
-                       $ret =$this->execStatement($queryStr, $values);
-               }
-               return $ret;
-       }
-       /**
-        * 商品ステータス一覧を取得
-        *
-        * @param string        $lang                           言語
-        * @param array     $rows                               取得レコード
-        * @return bool                                                 取得 = true, 取得なし= false
-        */
-       function getAllProductStatus($lang, &$rows)
-       {
-               $queryStr = 'SELECT * FROM product_status_type ';
-               $queryStr .=  'WHERE pa_language_id = ? ';
-               $queryStr .=  'ORDER BY pa_priority';
-               $ret = $this->selectRecords($queryStr, array($lang), $rows);
-               return $ret;
-       }
-       /**
-        * 画像情報を取得
-        *
-        * @param string        $type                   画像タイプ
-        * @param array     $row                                レコード
-        * @return bool                                                 取得 = true, 取得なし= false
-        */
-       function getProductImageInfo($type, &$row)
-       {
-               $queryStr  = 'SELECT * FROM image_size ';
-               $queryStr .=   'WHERE is_id = ? ';
-               $ret = $this->selectRecord($queryStr, array($type), $row);
-               return $ret;
-       }
-       /**
-        * サブ商品カテゴリーを取得
-        *
-        * @param int           $id                     カテゴリーID
-        * @param string        $langId         言語ID
-        * @param array  $rows                  取得レコード
-        * @return bool                                 true=取得、false=取得せず
-        */
-       function getChildCategory($id, $langId, &$rows)
-       {
-               $queryStr  = 'SELECT * FROM product_category ';
-               $queryStr .=   'WHERE pc_deleted = false ';     // 削除されていない
-               $queryStr .=     'AND pc_parent_id = ? ';
-               $queryStr .=     'AND pc_language_id = ? ';
-               $queryStr .=   'ORDER BY pc_sort_order';
-               $retValue = $this->selectRecords($queryStr, array($id, $langId), $rows);
-               return $retValue;
-       }
-       /**
-        * 商品を商品ID、言語IDで取得
-        *
-        * @param int           $id                                     商品ID
-        * @param string        $langId                         言語ID
-        * @param array     $row                                レコード
-        * @return bool                                                 取得 = true, 取得なし= false
-        */
-       function getProductWithCategory($id, $langId, &$row)
-       {
-               $queryStr  = 'SELECT * FROM product RIGHT JOIN product_with_category ON pt_serial = pw_product_serial ';
-               $queryStr .=   'WHERE pt_deleted = false ';     // 削除されていない
-               $queryStr .=   'AND pt_id = ? ';
-               $queryStr .=   'AND pt_language_id = ? ';
-               $queryStr .=  'ORDER BY pw_index ';
-               $ret = $this->selectRecord($queryStr, array(intval($id), $langId), $row);
-               return $ret;
-       }
-}
-?>
diff --git a/widgets/ec_product_carousel/include/template/admin.tmpl.html b/widgets/ec_product_carousel/include/template/admin.tmpl.html
deleted file mode 100644 (file)
index 3507aa6..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * 表示データ作成用テンプレート(patTemplate)
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2016 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id$
- * @link       http://www.magic3.org
- */
-<patTemplate:tmpl name="_widget">
-<script type="text/javascript">
-//<![CDATA[
-function updateItem(){
-       if (!window.confirm('設定を更新しますか?')) return false;
-       document.main.act.value='update';
-       document.main.submit();
-       return true;
-}
-$(function(){
-       m3SetConfigTable('mainconfig');
-});
-//]]>
-</script>
-<div class="m3config_container">
-<!-- m3:ErrorMessage -->
-<form method="post" name="main">
-<input type="hidden" name="act" />
-<h3 class="m3config_h">基本設定</h3>
-<table id="mainconfig">
-    <tbody>
-        <tr>
-            <th>商品取得数</th>
-            <td>
-                       <div class="col-sm-1 m3config_item"><input type="text" name="view_count" class="form-control" value="{VIEW_COUNT}" maxlength="2" onkeypress="return m3_numericKey(event,true);" /></div>
-                       </td>
-        </tr>
-    </tbody>
-</table>
-<div class="well m3config_update_buttons">
-<input type="button" class="button" onclick="updateItem();" value="更新" />
-</div>
-</form>
-</div>
-</patTemplate:tmpl>
diff --git a/widgets/ec_product_carousel/include/template/index.tmpl.html b/widgets/ec_product_carousel/include/template/index.tmpl.html
deleted file mode 100644 (file)
index 6675e4e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * 表示データ作成用テンプレート(patTemplate)
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2012 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id: index.tmpl.html 229 2012-11-11 12:40:59Z naoki $
- * @link       http://www.magic3.org
- */
-<patTemplate:tmpl name="_widget">
-<script type="text/javascript">
-//<![CDATA[
-$(function(){
-       $("#productcarousel").CloudCarousel({
-               reflHeight: 56,
-               reflGap:2,
-               xPos: 255,
-               yPos: 70,
-/*             buttonLeft: $("#left-but"),
-               buttonRight: $("#right-but"),
-               altBox: $("#alt-text"),
-               titleBox: $("#title-text"),*/
-               FPS: 30, 
-               bringToFront:true,              //クリックしたものを前面に
-               autoRotate: 'right',
-               autoRotateDelay: 1500,
-               speed: 0.2,
-               mouseWheel: true
-       });
-});
-//]]>
-</script>
-<div id="productcarousel">
-<patTemplate:tmpl name="product_list"><a href="{PRODUCT_URL}"><img class="cloudcarousel" src="{IMAGE}" alt="{NAME}" title="{NAME}" width="{IMAGE_WIDTH}" height="{IMAGE_HEIGHT}" style="margin:0px;border:none;" /></a></patTemplate:tmpl>
-</div>
-</patTemplate:tmpl>
diff --git a/widgets/ec_product_carousel/index.php b/widgets/ec_product_carousel/index.php
deleted file mode 100644 (file)
index 7533315..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * ウィジェット呼び出し用ファイル
- * index.php
- *
- * PHP versions 5
- *
- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
- *
- * @package    Magic3 Framework
- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright  Copyright 2006-2007 Magic3 Project.
- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
- * @version    SVN: $Id: index.php 219 2012-11-01 12:45:28Z naoki $
- * @link       http://www.magic3.org
- */
-// 直接アクセスの防止
-defined('M3_SYSTEM') or die('Access error: Direct access denied.');
-
-// ウィジェット実行
-global $gLaunchManager;
-$gLaunchManager->goWidget(__FILE__);
-?>