diff --git a/oc454/README b/oc454/README index dd29193..0ccb41a 100644 --- a/oc454/README +++ b/oc454/README @@ -1,4 +1,4 @@ -Tested for OC4.5.4 Install instructions +Tested for OC4.5.4 Install instructions And Now also for OC4.5 ------------------------------------------------ 1. Load the files to the structure of your OC installation (No Files would be overwritten!!) 2. Activate the App [Share Gallery Widget] @@ -6,3 +6,10 @@ Tested for OC4.5.4 Install instructions 4. Go To the personal settings [Overview Shared Files and Folders] and enter here your Configurationparameters Picture Widget and save That's all and now when you sharing a folder of images with subfolders you have a nice webwidget gallery. +[UPDATE] +Please delete the widgetloader.php in the root of OC => moved to apps path + +[NEW Features] +Now you can use The Gallery Widget in an other apps folder (e.g. apps2) if this is in config.php iconfigurated +Now you can create your own Watermark text to the pictures (Copyright Hint) +New Js Engine in the widget.js \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/admin.php b/oc454/apps/files_sharing_widget/admin.php index 781ea9c..86fdfe1 100644 --- a/oc454/apps/files_sharing_widget/admin.php +++ b/oc454/apps/files_sharing_widget/admin.php @@ -20,4 +20,4 @@ $tmpl->assign('secretword', $shareSecret); $tmpl->assign('siteemail', $siteEmail); -return $tmpl->fetchPage(); +return $tmpl->fetchPage(); \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/ajax/saveparam.php b/oc454/apps/files_sharing_widget/ajax/saveparam.php index 7642b17..6028b7f 100644 --- a/oc454/apps/files_sharing_widget/ajax/saveparam.php +++ b/oc454/apps/files_sharing_widget/ajax/saveparam.php @@ -18,6 +18,12 @@ $ObjSaveParamter['width']=intval($_POST['spwidth']); $ObjSaveParamter['height']=intval($_POST['spheight']); +$ObjSaveParamter['watermarktxt']=addslashes($_POST['spWMTxt']); +if($_POST['spWMTxt']!='') $ObjSaveParamter['watermark']=1; +else $ObjSaveParamter['watermark']=0; + +$ObjSaveParamter['title']=addslashes($_POST['spTitle']); + $ObjSaveJson=json_encode($ObjSaveParamter); OC_Preferences::setValue( OC_User::getUser(), 'files_sharing_widget', 'parameter', $ObjSaveJson); diff --git a/oc454/apps/files_sharing_widget/ajax/sharesecret.php b/oc454/apps/files_sharing_widget/ajax/sharesecret.php index 5598420..a924bdc 100644 --- a/oc454/apps/files_sharing_widget/ajax/sharesecret.php +++ b/oc454/apps/files_sharing_widget/ajax/sharesecret.php @@ -8,22 +8,21 @@ * * */ - + OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('files_sharing_widget'); OCP\JSON::callCheck(); // Get data -if(isset( $_POST['mySecretWord'] ) && $_POST['mySecretWord'] != '') { - $secretWord=trim($_POST['mySecretWord']); - OCP\Config::setSystemValue('secretword', $secretWord); - - OC_JSON::success(array("data" => array( "message" => 'Saved'))); -}elseif(isset( $_POST['siteemail'] ) && filter_var( $_POST['siteemail'], FILTER_VALIDATE_EMAIL)) { - $siteEmail=trim($_POST['siteemail']); - OCP\Config::setSystemValue('siteemail', $siteEmail); - OC_JSON::success(array("data" => array( "message" => 'Saved'))); -} -else{ - OC_JSON::error(array("data" => array( "message" => 'Error' ))); +if (isset($_POST['mySecretWord']) && $_POST['mySecretWord'] != '') { + $secretWord = trim($_POST['mySecretWord']); + OCP\Config::setSystemValue('secretword', $secretWord); + + OC_JSON::success(array("data" => array("message" => 'Saved'))); +} elseif (isset($_POST['siteemail']) && filter_var($_POST['siteemail'], FILTER_VALIDATE_EMAIL)) { + $siteEmail = trim($_POST['siteemail']); + OCP\Config::setSystemValue('siteemail', $siteEmail); + OC_JSON::success(array("data" => array("message" => 'Saved'))); +} else { + OC_JSON::error(array("data" => array("message" => 'Error'))); } diff --git a/oc454/apps/files_sharing_widget/appinfo/app.php b/oc454/apps/files_sharing_widget/appinfo/app.php index 3f11e1c..cc64448 100644 --- a/oc454/apps/files_sharing_widget/appinfo/app.php +++ b/oc454/apps/files_sharing_widget/appinfo/app.php @@ -12,4 +12,4 @@ OCP\App::registerAdmin('files_sharing_widget', 'admin'); OCP\Util::addscript( 'files_sharing_widget', 'settings'); OCP\Util::addscript( 'files_sharing_widget', 'admin'); -OC::$CLASSPATH['OC_Widget_Helper'] = 'apps/files_sharing_widget/lib/widgethelper.php'; \ No newline at end of file +OC::$CLASSPATH['OC_Widget_Helper'] = 'files_sharing_widget/lib/widgethelper.php'; \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/appinfo/version b/oc454/apps/files_sharing_widget/appinfo/version index b6ee802..ceab6e1 100644 --- a/oc454/apps/files_sharing_widget/appinfo/version +++ b/oc454/apps/files_sharing_widget/appinfo/version @@ -1 +1 @@ -1.0 beta \ No newline at end of file +0.1 \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/css/widget.css b/oc454/apps/files_sharing_widget/css/widget.css index 4be6eb2..60f5533 100644 --- a/oc454/apps/files_sharing_widget/css/widget.css +++ b/oc454/apps/files_sharing_widget/css/widget.css @@ -6,4 +6,4 @@ * * */ -body.widgetbg{background:#fff url('../img/purty_wood.jpg') repeat}#ownWidget-container{position:absolute;margin-left:auto;z-index:200;font-family:arial;font-size:13px;top:10px;left:300px;margin-right:auto;width:700px;height:550px;background:#939393;background:rgba(0,0,0,0.3);border:1px solid #343434;border-radius:8px;-webkit-border-radius:8px;box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:0;color:#636363;padding:5px}a.imgLoading{background:#fff url('../img/loading.gif') 50% 50% no-repeat;display:block;float:left;margin-left:2px;margin-bottom:2px}#ownWidget-Loader{position:absolute;left:50%;top:50%;margin-left:-50px;margin-top:-50px;width:100px;height:100px;display:block;background:url('../img/ajax-loader.gif') 50% 50% no-repeat}.ownWidget-isHidden{display:none}#ownWidget-header{width:100%;top:0;position:relative;float:left;margin-top:5px;line-height:26px;font-size:14px;text-align:left;min-height:26px;display:block;background:transparent}#SlideShowButton{position:absolute;right:10px;margin-top:5px;cursor:pointer;line-height:26px}#ownWidget-header a.loadAlbum,#SlideShowButton,#ownWidget-header a.noAlbum{text-decoration:none;color:#fff;display:block;margin-left:10px;float:left;background:#707070;background:rgba(0,0,0,0.8);box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:1px solid rgba(0,0,0,0.9);margin-bottom:2px;padding:3px 5px;border-radius:5px;-webkit-border-radius:5px}#ownWidget-header a:hover,#SlideShowButton:hover{background:#323232}#albumPics{clear:both;margin-top:3px;margin-left:-2px}#albumPics a.loadAlbum,#albumPics a.loadAlbum:hover{background:transparent;border:0;box-shadow:none;-webkit-box-shadow:none}#ownWidget-output img.imgshow{margin:5px;background:#fff;padding:5px;box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8)}#ownWidget-output{background:transparent;display:block;width:98%;float:left;height:0;position:relative;margin-top:10px;padding:5px;z-index:202}#ownWidget-output form{background:rgba(0,0,0,0.6);width:80%;margin-left:10%;border:1px solid #424242;border-radius:10px;-webkit-border-radius:10px;padding:10px}.ownWidget-scrollMe{margin:0;padding:0;margin-left:20px;float:none;width:670px;height:420px}.ownWidget-row{float:none;margin:0;padding:3px;margin-bottom:5px;width:auto}#ownWidget-slider{width:690px}#ownWidget-slider>div,#ownWidget-slider>li{width:auto}.mb-wrapper{margin:0;position:relative;left:0;background:transparent;top:0;z-index:220;display:block;height:auto}.mb-slider,.mb-scroll{width:auto;display:block;overflow:hidden;margin:0 auto;padding:0;position:relative;left:0;top:0;font-size:18px}.mb-active-slider{border-color:#ccc}.mb-slider .mb-panel{margin:0;display:block;cursor:pointer;float:left;list-style:none}.mb-slider .mb-panel.current{cursor:auto}.mb-inside{background:transparent;height:auto;width:auto;display:block;float:left}a.mb-scrollButtons{display:block;position:absolute;top:50%;margin-top:-20px;width:28px;height:40px;line-height:40px;cursor:pointer;color:#fff;background:#707070;background:rgba(0,0,0,0.8);box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:rgba(0,0,0,0.9);border-radius:5px;-webkit-border-radius:5px;font-size:20px;text-align:center;text-decoration:none}a.mb-scrollButtons.mb-left{background-position:left top;left:-28px}a.mb-scrollButtons.mb-right{background-position:right top;right:-28px}a.mb-scrollButtons.mb-left:hover{background-position:left bottom}a.mb-scrollButtons.mb-right:hover{background-position:right bottom}a.mb-scrollButtons.disabled{display:none}.mb-controls{margin:0;margin-top:6px;text-align:center;background:transparent;position:relative;z-index:100}.mb-controls a{color:#666;font:20px/2.2 Georgia,Serif;display:inline-block;text-decoration:none;padding:2px;margin:0 5px 0 0;text-align:center;outline:0}.mb-controls a:hover{color:black}.mb-controls a.current{color:#bbb}.mb-active-slider .mb-controls{background:transparent}#ownWidget-output li a{text-decoration:none;color:#7da9ce}#ownWidget-closeButton{position:absolute;z-index:201;top:-10px;right:-10px;width:24px;height:24px;line-height:24px;border:2px solid #fff;background:#000;color:#fff;font-family:arial;font-weight:bold;font-size:14px;text-align:center;box-shadow:0 1px 8px rgba(0,0,0,0.6);-webkit-box-shadow:0 1px 8px rgba(0,0,0,0.6);border-radius:13px;-webkit-border-radius:13px}#ownWidget-overlayWid{top:0;left:0;position:absolute;background:#000;z-index:199}div#ownWidget-displayButton{text-decoration:none;position:absolute;padding:2px 8px;line-height:14pt;font-size:11pt;cursor:pointer;width:100px;text-align:center;min-width:100px;border:1px solid #bbb;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;background:#dad2d2;background:-webkit-gradient(linear,0% 0,0% 100%,from(#fff),to(#ccc));background:-moz-linear-gradient(top,#fff,#ccc);background:-o-linear-gradient(#fff,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#cccccc');zoom:1;color:#464646;text-shadow:rgba(255,255,255,1) 0 1px 0}.ownWidget-pageScroller{background:red;width:750px;height:400px;float:left}li.ownWidget-row{width:100%;margin:0;padding:0;display:block;line-height:20px}li.ownWidget-row span{float:left;padding-left:5px;display:block}.mCSB_container{width:auto;margin-right:30px;overflow:hidden}.mCSB_container.mCS_no_scrollbar{margin-right:0}.mCustomScrollBox .mCSB_scrollTools{width:16px;height:100%;top:0;right:0}.mCSB_scrollTools .mCSB_draggerContainer{height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_scrollTools .mCSB_buttonUp+.mCSB_draggerContainer{padding-bottom:40px}.mCSB_scrollTools .mCSB_draggerRail{width:2px;height:100%;margin:0 auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.mCSB_scrollTools .mCSB_dragger{cursor:pointer;width:100%;height:30px}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:4px;height:100%;margin:0 auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;text-align:center}.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_buttonDown{height:20px;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools .mCSB_buttonDown{bottom:0;margin-top:-40px}.mCSB_horizontal .mCSB_container{height:auto;margin-right:0;margin-bottom:30px;overflow:hidden}.mCSB_horizontal .mCSB_container.mCS_no_scrollbar{margin-bottom:0}.mCSB_horizontal.mCustomScrollBox .mCSB_scrollTools{width:100%;height:16px;top:auto;right:auto;bottom:0;left:0;overflow:hidden}.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerContainer{height:100%;width:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft+.mCSB_draggerContainer{padding-bottom:0;padding-right:20px}.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerRail{width:100%;height:2px;margin:7px 0;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger{width:30px;height:100%}.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:100%;height:4px;margin:6px auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft,.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{width:20px;height:100%;overflow:hidden;margin:0 auto;cursor:pointer;float:left}.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{right:0;bottom:auto;margin-left:-40px;margin-top:-16px;float:right}.mCustomScrollBox .mCSB_scrollTools{opacity:.75}.mCustomScrollBox:hover .mCSB_scrollTools{opacity:1}.mCSB_scrollTools .mCSB_draggerRail{background:#000;background:rgba(0,0,0,0.6);filter:"alpha(opacity=60)";-ms-filter:"alpha(opacity=60)"}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background:#5e667f;background:rgba(94,102,127,0.75);filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background:rgba(94,102,127,0.85);filter:"alpha(opacity=85)";-ms-filter:"alpha(opacity=85)"}.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{background:rgba(94,102,127,0.9);filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight{background-image:url(../img/mCSB_buttons.png);background-repeat:no-repeat;opacity:.4;filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_buttonUp{background-position:0 0}.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -20px}.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -40px}.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -56px}.mCSB_scrollTools .mCSB_buttonUp:hover,.mCSB_scrollTools .mCSB_buttonDown:hover,.mCSB_scrollTools .mCSB_buttonLeft:hover,.mCSB_scrollTools .mCSB_buttonRight:hover{opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_buttonUp:active,.mCSB_scrollTools .mCSB_buttonDown:active,.mCSB_scrollTools .mCSB_buttonLeft:active,.mCSB_scrollTools .mCSB_buttonRight:active{opacity:.9;filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}#fancybox-loading{position:fixed;top:50%;left:50%;width:40px;height:40px;margin-top:-20px;margin-left:-20px;cursor:pointer;overflow:hidden;z-index:1104;display:none}#fancybox-loading div{position:absolute;top:0;left:0;width:40px;height:480px;background-image:url('../img/fancy/fancybox.png')}#fancybox-overlay{position:fixed;top:0;left:0;width:100%;z-index:1100;display:none}#fancybox-tmp{padding:0;margin:0;border:0;overflow:auto;display:none}#fancybox-wrap{position:absolute;top:0;left:0;padding:20px;z-index:1101;outline:0;display:none}#fancybox-outer{position:relative;width:100%;height:100%;background:#fff}#fancybox-content{width:0;height:0;padding:0;outline:0;position:relative;overflow:hidden;z-index:1102;border:0 solid #fff}#fancybox-hide-sel-frame{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;z-index:1101}#fancybox-close{position:absolute;top:-15px;right:-15px;width:30px;height:30px;background:transparent url('../img/fancy/fancybox.png') -40px 0;cursor:pointer;z-index:1103;display:none}#fancybox-error{color:#444;font:normal 12px/20px Arial;padding:14px;margin:0}#fancybox-img{width:100%;height:100%;padding:0;margin:0;border:0;outline:0;line-height:0;vertical-align:top}#fancybox-frame{width:100%;height:100%;border:0;display:block}#fancybox-left,#fancybox-right{position:absolute;bottom:0;height:100%;width:35%;cursor:pointer;outline:0;background:transparent url('../img/fancy/blank.gif');z-index:1102;display:none}#fancybox-left{left:0}#fancybox-right{right:0}#fancybox-left-ico,#fancybox-right-ico{position:absolute;top:50%;left:-9999px;width:30px;height:30px;margin-top:-15px;cursor:pointer;z-index:1102;display:block}#fancybox-left-ico{background-image:url('../img/fancy/fancybox.png');background-position:-40px -30px}#fancybox-right-ico{background-image:url('../img/fancy/fancybox.png');background-position:-40px -60px}#fancybox-left:hover,#fancybox-right:hover{visibility:visible}#fancybox-left:hover span{left:20px}#fancybox-right:hover span{left:auto;right:20px}.fancybox-bg{position:absolute;padding:0;margin:0;border:0;width:20px;height:20px;z-index:1001}#fancybox-bg-n{top:-20px;left:0;width:100%;background-image:url('../img/fancy/fancybox-x.png')}#fancybox-bg-ne{top:-20px;right:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -162px}#fancybox-bg-e{top:0;right:-20px;height:100%;background-image:url('../img/fancy/fancybox-y.png');background-position:-20px 0}#fancybox-bg-se{bottom:-20px;right:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -182px}#fancybox-bg-s{bottom:-20px;left:0;width:100%;background-image:url('../img/fancy/fancybox-x.png');background-position:0 -20px}#fancybox-bg-sw{bottom:-20px;left:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -142px}#fancybox-bg-w{top:0;left:-20px;height:100%;background-image:url('../img/fancy/fancybox-y.png')}#fancybox-bg-nw{top:-20px;left:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -122px}#fancybox-title{font-family:Helvetica;font-size:12px;z-index:1102}.fancybox-title-inside{padding-bottom:10px;text-align:center;color:#333;background:#fff;position:relative}.fancybox-title-outside{padding-top:10px;color:#fff}.fancybox-title-over{position:absolute;bottom:0;left:0;color:#FFF;text-align:left}#fancybox-title-over{padding:10px;background-image:url('../img/fancy/fancy_title_over.png');display:block}.fancybox-title-float{position:absolute;left:0;bottom:-20px;height:32px}#fancybox-title-float-wrap{border:0;border-collapse:collapse;width:auto}#fancybox-title-float-wrap td{border:0;white-space:nowrap}#fancybox-title-float-left{padding:0 0 0 15px;background:url('../img/fancy/fancybox.png') -40px -90px no-repeat}#fancybox-title-float-main{color:#FFF;line-height:29px;font-weight:bold;padding:0 0 3px 0;background:url('../img/fancy/fancybox-x.png') 0 -40px}#fancybox-title-float-right{padding:0 0 0 15px;background:url('../img/fancy/fancybox.png') -55px -90px no-repeat}.fancybox-ie6 #fancybox-close{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_close.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-left-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_nav_left.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-right-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_nav_right.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-title-over{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_over.png',sizingMethod='scale');zoom:1}.fancybox-ie6 #fancybox-title-float-left{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_left.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-title-float-main{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_main.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-title-float-right{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_right.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-bg-w,.fancybox-ie6 #fancybox-bg-e,.fancybox-ie6 #fancybox-left,.fancybox-ie6 #fancybox-right,#fancybox-hide-sel-frame{height:expression(this.parentNode.clientHeight+"px")}#fancybox-loading.fancybox-ie6{position:absolute;margin-top:0;top:expression((-20+(document.documentElement.clientHeight ? document.documentElement.clientHeight/2:document.body.clientHeight/2)+(ignoreMe = document .documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop))+'px')}#fancybox-loading.fancybox-ie6 div{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_loading.png',sizingMethod='scale')}.fancybox-ie .fancybox-bg{background:transparent!important}.fancybox-ie #fancybox-bg-n{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_n.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-ne{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_ne.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-e{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_e.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-se{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_se.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-s{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_s.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-sw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_sw.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-w{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_w.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-nw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_nw.png',sizingMethod='scale')}#slideshow-content{z-index:202}*{margin:0;padding:0}img{border:0}#supersized-loader{position:absolute;top:50%;left:50%;z-index:0;width:60px;height:60px;margin:-30px 0 0 -30px;text-indent:-999em}#supersized{display:block;position:fixed;left:0;top:0;overflow:hidden;z-index:-999;height:100%;width:100%}#supersized img{width:auto;height:auto;position:relative;display:none;outline:0;border:0}#supersized.speed img{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges}#supersized.quality img{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}#supersized li{display:block;list-style:none;z-index:-30;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;background:#111}#supersized a{width:100%;height:100%;display:block}#supersized li.prevslide{z-index:-20}#supersized li.activeslide{z-index:-10}#supersized li.image-loading{background:#111 url(../img/progress.gif) no-repeat center center;width:100%;height:100%}#supersized li.image-loading img{visibility:hidden}#supersized li.prevslide img,#supersized li.activeslide img{display:inline}#slideshow-content #controls-wrapper{margin:0 auto;height:42px;width:100%;bottom:0;left:0;z-index:204;background:url('../img/nav-bg.png') repeat-x;position:fixed}#slideshow-content #slideshow-controls{overflow:hidden;height:100%;position:relative;text-align:left;z-index:205}#slideshow-content #slidecounter{float:left;color:#999;font:14px "Helvetica Neue",Helvetica,Arial,sans-serif;text-shadow:#000 0 -1px 0;margin:0 10px 0 15px;line-height:42px}#slideshow-content #slidecaption{overflow:hidden;float:left;color:#FFF;font:400 14px "Helvetica Neue",Helvetica,Arial,sans-serif;text-shadow:#000 1px 1px 2px;margin:0 20px 0 0;line-height:42px}#slideshow-content #play-button{float:left;margin-top:1px;border-right:1px solid #333;background:url('../img/bg-hover.png') repeat-x 0 44px}#slideshow-content #play-button:hover{background-position:0 1px;cursor:pointer}#slideshow-content #prevslide,#nextslide{position:fixed;height:43px;width:43px;top:50%;margin-top:-21px;opacity:.6;z-index:204}#slideshow-content #prevslide{left:10px;background:url('../img/back.png')}#slideshow-content #nextslide{right:10px;background:url('../img/forward.png')}#slideshow-content #prevslide:active,#nextslide:active{margin-top:-19px}#slideshow-content #prevslide:hover,#nextslide:hover{cursor:pointer}#slideshow-content ul#slide-list{padding:15px 0;float:left;position:absolute;left:50%}#slideshow-content ul#slide-list li{list-style:none;width:12px;height:12px;float:left;margin:0 5px 0 0}#slideshow-content ul#slide-list li.current-slide a,ul#slide-list li.current-slide a:hover{background-position:0 0}#slideshow-content ul#slide-list li a{display:block;width:12px;height:12px;background:url('../img/nav-dot.png') no-repeat 0 -24px}#slideshow-content ul#slide-list li a:hover{background-position:0 -12px;cursor:pointer}#slideshow-content #tray-button{float:right;margin-top:1px;border-left:1px solid #333;background:url('../img/bg-hover.png') repeat-x 0 44px}#slideshow-content #tray-button:hover{background-position:0 1px;cursor:pointer}#slideshow-content #progress-back{z-index:205;position:fixed;bottom:42px;left:0;height:8px;width:100%;background:url('../img/progress-back.png') repeat-x}#slideshow-content #progress-bar{position:relative;height:8px;width:100%;background:url('../img/progress-bar.png') repeat-x}#slideshow-content #nextthumb,#slideshow-content #prevthumb{z-index:202;display:none;position:fixed;bottom:61px;height:75px;width:100px;overflow:hidden;background:#ddd;border:1px solid #fff;-webkit-box-shadow:0 0 5px #000}#slideshow-content #nextthumb{right:12px}#slideshow-content #prevthumb{left:12px}#slideshow-content #nextthumb img,#slideshow-content #prevthumb img{width:150px;height:auto}#slideshow-content #nextthumb:active,#slideshow-content #prevthumb:active{bottom:59px}#slideshow-content #nextthumb:hover,#slideshow-content #prevthumb:hover{cursor:pointer}#slideshow-content #closeSlideShow{position:fixed;right:10px;top:10px;background:#000;width:30px;height:30px;line-height:30px;border-radius:15px;color:#fff;text-align:center}#slideshow-content #thumb-tray{position:fixed;z-index:203;bottom:0;left:0;background:url('../img/bg-black.png');height:150px;width:100%;overflow:hidden;text-align:center;-moz-box-shadow:0 0 4px #000;-webkit-box-shadow:0 0 4px #000;box-shadow:0 0 4px #000}#slideshow-content #thumb-back,#slideshow-content #thumb-forward{position:absolute;z-index:5;bottom:42px;height:108px;width:40px}#slideshow-content #thumb-back{left:0;background:url('../img/thumb-back.png') no-repeat center center}#slideshow-content #thumb-forward{right:0;background:url('../img/thumb-forward.png') no-repeat center center}#slideshow-content #thumb-back:hover,#slideshow-content #thumb-forward:hover{cursor:pointer;background-color:rgba(256,256,256,0.1)}#slideshow-content #thumb-back:hover{border-right:1px solid rgba(256,256,256,0.2)}#slideshow-content #thumb-forward:hover{border-left:1px solid rgba(256,256,256,0.2)}#slideshow-content ul#thumb-list{display:inline-block;list-style:none;position:relative;left:0;padding:0}#slideshow-content ul#thumb-list li{background:#111;list-style:none;display:inline;width:150px;height:108px;overflow:hidden;float:left;margin:0}#slideshow-content ul#thumb-list li img{width:135px;padding:5px;background-color:#fff;margin-left:5px;height:auto;opacity:.5;-ms-filter:"alpha(opacity=60)";filter:alpha(opacity=60);-webkit-transition:all 100ms ease-in-out;-moz-transition:all 100ms ease-in-out;-o-transition:all 100ms ease-in-out;-ms-transition:all 100ms ease-in-out;transition:all 100ms ease-in-out}#slideshow-content ul#thumb-list li.current-thumb img,#slideshow-content ul#thumb-list li:hover img{opacity:1;-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100)}#slideshow-content ul#thumb-list li:hover{cursor:pointer}div.rotate{background:rgba(0,0,0,0.6);box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:1px solid rgba(0,0,0,0.9);z-index:12;display:block;color:#e5e5e5;padding:10px 10px 20px 10px}div.rotate span{clear:both;position:absolute;bottom:5px}div.rotate img{border:1px solid #323232} \ No newline at end of file +body.widgetbg{background:#fff url('../img/purty_wood.jpg') repeat}#ownWidget-container{position:absolute;margin-left:auto;z-index:200;font-family:arial;font-size:13px;top:10px;left:300px;margin-right:auto;width:700px;height:550px;background:#939393;background:rgba(0,0,0,0.3);border:1px solid #343434;border-radius:8px;-webkit-border-radius:8px;box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:0;color:#636363;padding:5px}a.imgLoading{background:#fff url('../img/loading.gif') 50% 50% no-repeat;display:block;float:left;margin-left:2px;margin-bottom:2px}#ownWidget-Loader{position:absolute;left:50%;top:50%;margin-left:-50px;margin-top:-50px;width:100px;height:100px;display:block;background:url('../img/ajax-loader.gif') 50% 50% no-repeat}.ownWidget-isHidden{display:none}#ownWidget-header{width:100%;top:0;position:relative;float:left;margin-top:5px;line-height:26px;font-size:14px;text-align:left;min-height:26px;display:block;background:transparent}#SlideShowButton{position:absolute;right:10px;margin-top:5px;cursor:pointer;line-height:26px}#ownWidget-header a.loadAlbum,#SlideShowButton,#ownWidget-header a.noAlbum{text-decoration:none;color:#fff;display:block;margin-left:10px;float:left;background:#707070;background:rgba(0,0,0,0.8);box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:1px solid rgba(0,0,0,0.9);margin-bottom:2px;padding:3px 5px;border-radius:5px;-webkit-border-radius:5px}#ownWidget-header a:hover,#SlideShowButton:hover{background:#323232}#albumPics{clear:both;margin-top:3px;margin-left:-2px}#albumPics a.loadAlbum,#albumPics a.loadAlbum:hover{background:transparent;border:0;box-shadow:none;-webkit-box-shadow:none}#ownWidget-output img.imgshow{margin:5px;background:#fff;padding:5px;box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8)}#ownWidget-output{background:transparent;display:block;width:98%;float:left;height:0;position:relative;margin-top:10px;padding:5px;z-index:202}#ownWidget-output form{background:rgba(0,0,0,0.6);width:80%;margin-left:10%;border:1px solid #424242;border-radius:10px;-webkit-border-radius:10px;padding:10px}.ownWidget-scrollMe{margin:0;padding:0;margin-left:20px;float:none;width:670px;height:420px}.ownWidget-row{float:none;margin:0;padding:3px;margin-bottom:5px;width:auto}#ownWidget-slider{width:690px}#ownWidget-slider>div,#ownWidget-slider>li{width:auto}.mb-wrapper{margin:0;position:relative;left:0;background:transparent;top:0;z-index:220;display:block;height:auto}.mb-slider,.mb-scroll{width:auto;display:block;overflow:hidden;margin:0 auto;padding:0;position:relative;left:0;top:0;font-size:18px}.mb-active-slider{border-color:#ccc}.mb-slider .mb-panel{margin:0;display:block;cursor:pointer;float:left;list-style:none}.mb-slider .mb-panel.current{cursor:auto}.mb-inside{background:transparent;height:auto;width:auto;display:block;float:left}a.mb-scrollButtons{display:block;position:absolute;top:50%;margin-top:-20px;width:28px;height:40px;line-height:40px;cursor:pointer;color:#fff;background:#707070;background:rgba(0,0,0,0.8);box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:rgba(0,0,0,0.9);border-radius:5px;-webkit-border-radius:5px;font-size:20px;text-align:center;text-decoration:none}a.mb-scrollButtons.mb-left{background-position:left top;left:-28px}a.mb-scrollButtons.mb-right{background-position:right top;right:-28px}a.mb-scrollButtons.mb-left:hover{background-position:left bottom}a.mb-scrollButtons.mb-right:hover{background-position:right bottom}a.mb-scrollButtons.disabled{display:none}.mb-controls{margin:0;margin-top:6px;text-align:center;background:transparent;position:relative;z-index:100}.mb-controls a{color:#666;font:20px/2.2 Georgia,Serif;display:inline-block;text-decoration:none;padding:2px;margin:0 5px 0 0;text-align:center;outline:0}.mb-controls a:hover{color:black}.mb-controls a.current{color:#bbb}.mb-active-slider .mb-controls{background:transparent}#ownWidget-output li a{text-decoration:none;color:#7da9ce}#ownWidget-closeButton{position:absolute;z-index:201;top:-10px;right:-10px;width:24px;height:24px;line-height:24px;border:2px solid #fff;background:#000;color:#fff;font-family:arial;font-weight:bold;font-size:14px;text-align:center;box-shadow:0 1px 8px rgba(0,0,0,0.6);-webkit-box-shadow:0 1px 8px rgba(0,0,0,0.6);border-radius:13px;-webkit-border-radius:13px}#ownWidget-overlayWid{top:0;left:0;position:absolute;background:#000;z-index:199}div#ownWidget-displayButton{text-decoration:none;position:absolute;padding:2px 8px;line-height:14pt;font-size:11pt;cursor:pointer;width:100px;text-align:center;min-width:100px;border:1px solid #bbb;-moz-border-radius:11px;-khtml-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-khtml-box-sizing:content-box;box-sizing:content-box;background:#dad2d2;background:-webkit-gradient(linear,0% 0,0% 100%,from(#fff),to(#ccc));background:-moz-linear-gradient(top,#fff,#ccc);background:-o-linear-gradient(#fff,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#cccccc');zoom:1;color:#464646;text-shadow:rgba(255,255,255,1) 0 1px 0}.ownWidget-pageScroller{background:red;width:750px;height:400px;float:left}li.ownWidget-row{width:100%;margin:0;padding:0;display:block;line-height:20px}li.ownWidget-row span{float:left;padding-left:5px;display:block}.mCSB_container{width:auto;margin-right:30px;overflow:hidden}.mCSB_container.mCS_no_scrollbar{margin-right:0}.mCustomScrollBox .mCSB_scrollTools{width:16px;height:100%;top:0;right:0}.mCSB_scrollTools .mCSB_draggerContainer{height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_scrollTools .mCSB_buttonUp+.mCSB_draggerContainer{padding-bottom:40px}.mCSB_scrollTools .mCSB_draggerRail{width:2px;height:100%;margin:0 auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.mCSB_scrollTools .mCSB_dragger{cursor:pointer;width:100%;height:30px}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:4px;height:100%;margin:0 auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;text-align:center}.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_buttonDown{height:20px;overflow:hidden;margin:0 auto;cursor:pointer}.mCSB_scrollTools .mCSB_buttonDown{bottom:0;margin-top:-40px}.mCSB_horizontal .mCSB_container{height:auto;margin-right:0;margin-bottom:30px;overflow:hidden}.mCSB_horizontal .mCSB_container.mCS_no_scrollbar{margin-bottom:0}.mCSB_horizontal.mCustomScrollBox .mCSB_scrollTools{width:100%;height:16px;top:auto;right:auto;bottom:0;left:0;overflow:hidden}.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerContainer{height:100%;width:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft+.mCSB_draggerContainer{padding-bottom:0;padding-right:20px}.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerRail{width:100%;height:2px;margin:7px 0;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger{width:30px;height:100%}.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:100%;height:4px;margin:6px auto;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft,.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{width:20px;height:100%;overflow:hidden;margin:0 auto;cursor:pointer;float:left}.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight{right:0;bottom:auto;margin-left:-40px;margin-top:-16px;float:right}.mCustomScrollBox .mCSB_scrollTools{opacity:.75}.mCustomScrollBox:hover .mCSB_scrollTools{opacity:1}.mCSB_scrollTools .mCSB_draggerRail{background:#000;background:rgba(0,0,0,0.6);filter:"alpha(opacity=60)";-ms-filter:"alpha(opacity=60)"}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background:#5e667f;background:rgba(94,102,127,0.75);filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{background:rgba(94,102,127,0.85);filter:"alpha(opacity=85)";-ms-filter:"alpha(opacity=85)"}.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{background:rgba(94,102,127,0.9);filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}.mCSB_scrollTools .mCSB_buttonUp,.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonLeft,.mCSB_scrollTools .mCSB_buttonRight{background-image:url(../img/mCSB_buttons.png);background-repeat:no-repeat;opacity:.4;filter:"alpha(opacity=40)";-ms-filter:"alpha(opacity=40)"}.mCSB_scrollTools .mCSB_buttonUp{background-position:0 0}.mCSB_scrollTools .mCSB_buttonDown{background-position:0 -20px}.mCSB_scrollTools .mCSB_buttonLeft{background-position:0 -40px}.mCSB_scrollTools .mCSB_buttonRight{background-position:0 -56px}.mCSB_scrollTools .mCSB_buttonUp:hover,.mCSB_scrollTools .mCSB_buttonDown:hover,.mCSB_scrollTools .mCSB_buttonLeft:hover,.mCSB_scrollTools .mCSB_buttonRight:hover{opacity:.75;filter:"alpha(opacity=75)";-ms-filter:"alpha(opacity=75)"}.mCSB_scrollTools .mCSB_buttonUp:active,.mCSB_scrollTools .mCSB_buttonDown:active,.mCSB_scrollTools .mCSB_buttonLeft:active,.mCSB_scrollTools .mCSB_buttonRight:active{opacity:.9;filter:"alpha(opacity=90)";-ms-filter:"alpha(opacity=90)"}#fancybox-loading{position:fixed;top:50%;left:50%;width:40px;height:40px;margin-top:-20px;margin-left:-20px;cursor:pointer;overflow:hidden;z-index:1104;display:none}#fancybox-loading div{position:absolute;top:0;left:0;width:40px;height:480px;background-image:url('../img/fancy/fancybox.png')}#fancybox-overlay{position:fixed;top:0;left:0;width:100%;z-index:1100;display:none}#fancybox-tmp{padding:0;margin:0;border:0;overflow:auto;display:none}#fancybox-wrap{position:absolute;top:0;left:0;padding:20px;z-index:1101;outline:0;display:none}#fancybox-outer{position:relative;width:100%;height:100%;background:#fff}#fancybox-content{width:0;height:0;padding:0;outline:0;position:relative;overflow:hidden;z-index:1102;border:0 solid #fff}#fancybox-hide-sel-frame{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;z-index:1101}#fancybox-close{position:absolute;top:-15px;right:-15px;width:30px;height:30px;background:transparent url('../img/fancy/fancybox.png') -40px 0;cursor:pointer;z-index:1103;display:none}#fancybox-error{color:#444;font:normal 12px/20px Arial;padding:14px;margin:0}#fancybox-img{width:100%;height:100%;padding:0;margin:0;border:0;outline:0;line-height:0;vertical-align:top}#fancybox-frame{width:100%;height:100%;border:0;display:block}#fancybox-left,#fancybox-right{position:absolute;bottom:0;height:100%;width:35%;cursor:pointer;outline:0;background:transparent url('../img/fancy/blank.gif');z-index:1102;display:none}#fancybox-left{left:0}#fancybox-right{right:0}#fancybox-left-ico,#fancybox-right-ico{position:absolute;top:50%;left:-9999px;width:30px;height:30px;margin-top:-15px;cursor:pointer;z-index:1102;display:block}#fancybox-left-ico{background-image:url('../img/fancy/fancybox.png');background-position:-40px -30px}#fancybox-right-ico{background-image:url('../img/fancy/fancybox.png');background-position:-40px -60px}#fancybox-left:hover,#fancybox-right:hover{visibility:visible}#fancybox-left:hover span{left:20px}#fancybox-right:hover span{left:auto;right:20px}.fancybox-bg{position:absolute;padding:0;margin:0;border:0;width:20px;height:20px;z-index:1001}#fancybox-bg-n{top:-20px;left:0;width:100%;background-image:url('../img/fancy/fancybox-x.png')}#fancybox-bg-ne{top:-20px;right:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -162px}#fancybox-bg-e{top:0;right:-20px;height:100%;background-image:url('../img/fancy/fancybox-y.png');background-position:-20px 0}#fancybox-bg-se{bottom:-20px;right:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -182px}#fancybox-bg-s{bottom:-20px;left:0;width:100%;background-image:url('../img/fancy/fancybox-x.png');background-position:0 -20px}#fancybox-bg-sw{bottom:-20px;left:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -142px}#fancybox-bg-w{top:0;left:-20px;height:100%;background-image:url('../img/fancy/fancybox-y.png')}#fancybox-bg-nw{top:-20px;left:-20px;background-image:url('../img/fancy/fancybox.png');background-position:-40px -122px}#fancybox-title{font-family:Helvetica;font-size:12px;z-index:1102}.fancybox-title-inside{padding-bottom:10px;text-align:center;color:#333;background:#fff;position:relative}.fancybox-title-outside{padding-top:10px;color:#fff}.fancybox-title-over{position:absolute;bottom:0;left:0;color:#FFF;text-align:left}#fancybox-title-over{padding:10px;background-image:url('../img/fancy/fancy_title_over.png');display:block}.fancybox-title-float{position:absolute;left:0;bottom:-20px;height:32px}#fancybox-title-float-wrap{border:0;border-collapse:collapse;width:auto}#fancybox-title-float-wrap td{border:0;white-space:nowrap}#fancybox-title-float-left{padding:0 0 0 15px;background:url('../img/fancy/fancybox.png') -40px -90px no-repeat}#fancybox-title-float-main{color:#FFF;line-height:29px;font-weight:bold;padding:0 0 3px 0;background:url('../img/fancy/fancybox-x.png') 0 -40px}#fancybox-title-float-right{padding:0 0 0 15px;background:url('../img/fancy/fancybox.png') -55px -90px no-repeat}.fancybox-ie6 #fancybox-close{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_close.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-left-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_nav_left.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-right-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_nav_right.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-title-over{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_over.png',sizingMethod='scale');zoom:1}.fancybox-ie6 #fancybox-title-float-left{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_left.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-title-float-main{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_main.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-title-float-right{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_title_right.png',sizingMethod='scale')}.fancybox-ie6 #fancybox-bg-w,.fancybox-ie6 #fancybox-bg-e,.fancybox-ie6 #fancybox-left,.fancybox-ie6 #fancybox-right,#fancybox-hide-sel-frame{height:expression(this.parentNode.clientHeight+"px")}#fancybox-loading.fancybox-ie6{position:absolute;margin-top:0;top:expression((-20+(document.documentElement.clientHeight ? document.documentElement.clientHeight/2:document.body.clientHeight/2)+(ignoreMe = document .documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop))+'px')}#fancybox-loading.fancybox-ie6 div{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_loading.png',sizingMethod='scale')}.fancybox-ie .fancybox-bg{background:transparent!important}.fancybox-ie #fancybox-bg-n{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_n.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-ne{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_ne.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-e{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_e.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-se{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_se.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-s{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_s.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-sw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_sw.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-w{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_w.png',sizingMethod='scale')}.fancybox-ie #fancybox-bg-nw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/fancy/fancy_shadow_nw.png',sizingMethod='scale')}#slideshow-content{z-index:202}*{margin:0;padding:0}img{border:0}#supersized-loader{position:absolute;top:50%;left:50%;z-index:0;width:60px;height:60px;margin:-30px 0 0 -30px;text-indent:-999em}#supersized{display:block;position:fixed;left:0;top:0;overflow:hidden;z-index:-999;height:100%;width:100%}#supersized img{width:auto;height:auto;position:relative;display:none;outline:0;border:0}#supersized.speed img{-ms-interpolation-mode:nearest-neighbor;image-rendering:-moz-crisp-edges}#supersized.quality img{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}#supersized li{display:block;list-style:none;z-index:-30;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;background:#111}#supersized a{width:100%;height:100%;display:block}#supersized li.prevslide{z-index:-20}#supersized li.activeslide{z-index:-10}#supersized li.image-loading{background:#111 url(../img/progress.gif) no-repeat center center;width:100%;height:100%}#supersized li.image-loading img{visibility:hidden}#supersized li.prevslide img,#supersized li.activeslide img{display:inline}#slideshow-content #controls-wrapper{margin:0 auto;height:42px;width:100%;bottom:0;left:0;z-index:204;background:url('../img/nav-bg.png') repeat-x;position:fixed}#slideshow-content #slideshow-controls{overflow:hidden;height:100%;position:relative;text-align:left;z-index:205}#slideshow-content #slidecounter{float:left;color:#999;font:14px "Helvetica Neue",Helvetica,Arial,sans-serif;text-shadow:#000 0 -1px 0;margin:0 10px 0 15px;line-height:42px}#slideshow-content #slidecaption{overflow:hidden;float:left;color:#FFF;font:400 14px "Helvetica Neue",Helvetica,Arial,sans-serif;text-shadow:#000 1px 1px 2px;margin:0 20px 0 0;line-height:42px}#slideshow-content #play-button{float:left;margin-top:1px;border-right:1px solid #333;background:url('../img/bg-hover.png') repeat-x 0 44px}#slideshow-content #play-button:hover{background-position:0 1px;cursor:pointer}#slideshow-content #prevslide,#nextslide{position:fixed;height:43px;width:43px;top:50%;margin-top:-21px;opacity:.6;z-index:204}#slideshow-content #prevslide{left:10px;background:url('../img/back.png')}#slideshow-content #nextslide{right:10px;background:url('../img/forward.png')}#slideshow-content #prevslide:active,#nextslide:active{margin-top:-19px}#slideshow-content #prevslide:hover,#nextslide:hover{cursor:pointer}#slideshow-content ul#slide-list{padding:15px 0;float:left;position:absolute;left:50%}#slideshow-content ul#slide-list li{list-style:none;width:12px;height:12px;float:left;margin:0 5px 0 0}#slideshow-content ul#slide-list li.current-slide a,ul#slide-list li.current-slide a:hover{background-position:0 0}#slideshow-content ul#slide-list li a{display:block;width:12px;height:12px;background:url('../img/nav-dot.png') no-repeat 0 -24px}#slideshow-content ul#slide-list li a:hover{background-position:0 -12px;cursor:pointer}#slideshow-content #tray-button{float:right;margin-top:1px;border-left:1px solid #333;background:url('../img/bg-hover.png') repeat-x 0 44px}#slideshow-content #tray-button:hover{background-position:0 1px;cursor:pointer}#slideshow-content #progress-back{z-index:205;position:fixed;bottom:42px;left:0;height:8px;width:100%;background:url('../img/progress-back.png') repeat-x}#slideshow-content #progress-bar{position:relative;height:8px;width:100%;background:url('../img/progress-bar.png') repeat-x}#slideshow-content #nextthumb,#slideshow-content #prevthumb{z-index:202;display:none;position:fixed;bottom:61px;height:75px;width:100px;overflow:hidden;background:#ddd;border:1px solid #fff;-webkit-box-shadow:0 0 5px #000}#slideshow-content #nextthumb{right:12px}#slideshow-content #prevthumb{left:12px}#slideshow-content #nextthumb img,#slideshow-content #prevthumb img{width:150px;height:auto}#slideshow-content #nextthumb:active,#slideshow-content #prevthumb:active{bottom:59px}#slideshow-content #nextthumb:hover,#slideshow-content #prevthumb:hover{cursor:pointer}#slideshow-content #closeSlideShow{position:fixed;right:10px;top:10px;z-index:202;width:24px;height:24px;line-height:24px;border:2px solid #fff;background:#000;color:#fff;font-family:arial;font-weight:bold;font-size:14px;text-align:center;box-shadow:0 1px 8px rgba(0,0,0,0.6);-webkit-box-shadow:0 1px 8px rgba(0,0,0,0.6);border-radius:13px;cursor:pointer;-webkit-border-radius:13px}#slideshow-content #thumb-tray{position:fixed;z-index:203;bottom:0;left:0;background:url('../img/bg-black.png');height:150px;width:100%;overflow:hidden;text-align:center;-moz-box-shadow:0 0 4px #000;-webkit-box-shadow:0 0 4px #000;box-shadow:0 0 4px #000}#slideshow-content #thumb-back,#slideshow-content #thumb-forward{position:absolute;z-index:5;bottom:42px;height:108px;width:40px}#slideshow-content #thumb-back{left:0;background:url('../img/thumb-back.png') no-repeat center center}#slideshow-content #thumb-forward{right:0;background:url('../img/thumb-forward.png') no-repeat center center}#slideshow-content #thumb-back:hover,#slideshow-content #thumb-forward:hover{cursor:pointer;background-color:rgba(256,256,256,0.1)}#slideshow-content #thumb-back:hover{border-right:1px solid rgba(256,256,256,0.2)}#slideshow-content #thumb-forward:hover{border-left:1px solid rgba(256,256,256,0.2)}#slideshow-content ul#thumb-list{display:inline-block;list-style:none;position:relative;left:0;padding:0}#slideshow-content ul#thumb-list li{background:#111;list-style:none;display:inline;width:150px;height:108px;overflow:hidden;float:left;margin:0}#slideshow-content ul#thumb-list li img{width:135px;padding:5px;background-color:#fff;margin-left:5px;height:auto;opacity:.5;-ms-filter:"alpha(opacity=60)";filter:alpha(opacity=60);-webkit-transition:all 100ms ease-in-out;-moz-transition:all 100ms ease-in-out;-o-transition:all 100ms ease-in-out;-ms-transition:all 100ms ease-in-out;transition:all 100ms ease-in-out}#slideshow-content ul#thumb-list li.current-thumb img,#slideshow-content ul#thumb-list li:hover img{opacity:1;-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100)}#slideshow-content ul#thumb-list li:hover{cursor:pointer}div.rotate{background:rgba(0,0,0,0.6);box-shadow:-1px -1px 5px rgba(0,0,0,0.8);-webkit-box-shadow:-1px -1px 5px rgba(0,0,0,0.8);border:1px solid rgba(0,0,0,0.9);z-index:12;display:block;color:#e5e5e5;padding:10px 10px 20px 10px}div.rotate span{clear:both;position:absolute;bottom:5px}div.rotate img{border:1px solid #323232} \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/css/widget.full.css b/oc454/apps/files_sharing_widget/css/widget.full.css index a380edb..90e4ed6 100644 --- a/oc454/apps/files_sharing_widget/css/widget.full.css +++ b/oc454/apps/files_sharing_widget/css/widget.full.css @@ -8,7 +8,7 @@ */ body.widgetbg { - background: #fff url('../img/purty_wood.jpg') repeat + background: #fff url('../img/purty_wood.jpg') repeat; } #ownWidget-container { position: absolute; @@ -1083,13 +1083,22 @@ img { position: fixed; right: 10px; top: 10px; + z-index:202; + width: 24px; + height: 24px; + line-height: 24px; + border: 2px solid #fff; background: #000; - width: 30px; - height: 30px; - line-height: 30px; - border-radius: 15px; color: #fff; - text-align: center + font-family: arial; + font-weight: bold; + font-size: 14px; + text-align: center; + box-shadow: 0 1px 8px rgba(0,0,0,0.6); + -webkit-box-shadow: 0 1px 8px rgba(0,0,0,0.6); + border-radius: 13px; + cursor: pointer; + -webkit-border-radius: 13px; } #slideshow-content #thumb-tray { position: fixed; diff --git a/oc454/apps/files_sharing_widget/font/Manfred Klein License.txt b/oc454/apps/files_sharing_widget/font/Manfred Klein License.txt new file mode 100644 index 0000000..e360962 --- /dev/null +++ b/oc454/apps/files_sharing_widget/font/Manfred Klein License.txt @@ -0,0 +1,5 @@ +Manfred’s fonts are free for private and charity use. They are even free for commercial use – but if there’s any profit, pls make a donation to organizations like Doctors Without Borders. + +These fonts can NOT be included in any compilation CDs, disks or products, either commercial or shareware unless prior permission granted. + +All typefaces were created by Manfred Klein 2001-2008. \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/font/MonospaceTypewriter.ttf b/oc454/apps/files_sharing_widget/font/MonospaceTypewriter.ttf new file mode 100644 index 0000000..29e9a67 Binary files /dev/null and b/oc454/apps/files_sharing_widget/font/MonospaceTypewriter.ttf differ diff --git a/oc454/apps/files_sharing_widget/js/admin.js b/oc454/apps/files_sharing_widget/js/admin.js index 35d9ddd..ebd66d2 100644 --- a/oc454/apps/files_sharing_widget/js/admin.js +++ b/oc454/apps/files_sharing_widget/js/admin.js @@ -7,73 +7,67 @@ * */ -$(document).ready(function(){ +$(document).ready(function() { + if ($('#ShareEntreeForm').length > 0) { -if($('#ShareEntreeForm').length >0){ - -$("#savebutton").click( function(){ - if ($('#mySecretW').val() != '') { - // Serialize the data - //var post = $( "#ShareEntreeForm" ).serialize(); - var post ={mySecretWord:$("#mySecretW").val()}; - OC.msg.startSaving('#ShareEntreeForm .msg'); - $.post( OC.filePath('files_sharing_widget', 'ajax', 'sharesecret.php'), post, function(data){ - if( data.status == "success" ){ - OC.msg.finishedSaving('#ShareEntreeForm .msg', data); - - } - - }); - return false; - } else { - - return false; - } + $("#savebutton").click(function() { + if ($('#mySecretW').val() != '') { + // Serialize the data + //var post = $( "#ShareEntreeForm" ).serialize(); + var post = { + mySecretWord : $("#mySecretW").val() + }; + OC.msg.startSaving('#ShareEntreeForm .msg'); + $.post(OC.filePath('files_sharing_widget', 'ajax', 'sharesecret.php'), post, function(data) { + if (data.status == "success") { + OC.msg.finishedSaving('#ShareEntreeForm .msg', data); - }); - $("#saveemailbutton").click( function(){ - if ($('#mySiteEmail').val() != '') { - // Serialize the data - var post ={siteemail:$("#mySiteEmail").val()}; - - OC.msg.startSaving('#ShareEntreeForm .msg'); - $.post( OC.filePath('files_sharing_widget', 'ajax', 'sharesecret.php'), post, function(data){ - if( data.status == "success" ){ - OC.msg.finishedSaving('#ShareEntreeForm .msg', data); - - } - - }); - return false; - } else { - - return false; - } + } + + }); + return false; + } else { + + return false; + } + + }); + $("#saveemailbutton").click(function() { + if ($('#mySiteEmail').val() != '') { + // Serialize the data + var post = { + siteemail : $("#mySiteEmail").val() + }; - }); -} + OC.msg.startSaving('#ShareEntreeForm .msg'); + $.post(OC.filePath('files_sharing_widget', 'ajax', 'sharesecret.php'), post, function(data) { + if (data.status == "success") { + OC.msg.finishedSaving('#ShareEntreeForm .msg', data); + + } + + }); + return false; + } else { + + return false; + } + + }); + } }); -OC.msg={ - startSaving:function(selector){ - $(selector) - .html( t('settings', 'Saving...') ) - .removeClass('success') - .removeClass('error') - .stop(true, true) - .show(); +OC.msg = { + startSaving : function(selector) { + $(selector).html(t('settings', 'Saving...')).removeClass('success').removeClass('error').stop(true, true).show(); }, - finishedSaving:function(selector, data){ - if( data.status == "success" ){ - $(selector).html( data.data.message ) - .addClass('success') - .stop(true, true) - .delay(3000) - .fadeOut(600); - }else{ - $(selector).html( data.data.message ).addClass('error'); + finishedSaving : function(selector, data) { + if (data.status == "success") { + $(selector).html(data.data.message).addClass('success').stop(true, true).delay(3000).fadeOut(600); + } else { + $(selector).html(data.data.message).addClass('error'); } } -}; +}; \ No newline at end of file diff --git a/oc454/apps/files_sharing_widget/js/widget.full.js b/oc454/apps/files_sharing_widget/js/widget.full.js index 37e6b35..f9b77c3 100644 --- a/oc454/apps/files_sharing_widget/js/widget.full.js +++ b/oc454/apps/files_sharing_widget/js/widget.full.js @@ -7,22 +7,15 @@ * */ (function() { - var jQuery; - var widOpt=ownWidgetOptions; - var widgetContainer; - var overlay; - var loadPage=""; - var firstShow=true; - var imageSlide = []; - - + if (window.jQuery === undefined || window.jQuery.fn.jquery !== "1.8.2") { var script_tag = document.createElement("script"); script_tag.setAttribute("type", "text/javascript"); - script_tag.setAttribute("src", widOpt.path + "apps/files_sharing_widget/js/jquery-pack.min.js"); + script_tag.setAttribute("src",ownWidgetOptions.path + ownWidgetOptions.appspath+ "/files_sharing_widget/js/jquery-pack.min.js"); if (script_tag.readyState) { + script_tag.onreadystatechange = function() { if (this.readyState == "complete" || this.readyState == "loaded") { scriptLoadHandler(); @@ -51,43 +44,172 @@ str = (str + "").toString(); return encodeURIComponent(str).replace(/!/g, "%21").replace(/'/g, "%27").replace(/\(/g, "%28").replace(/\)/g, "%29").replace(/\*/g, "%2A"); } - - function initMovingBox(){ - var h=widgetContainer.height() - 80; - if(jQuery('#albumPics').length > 0) var h=widgetContainer.height() -210; - - jQuery("#ownWidget-slider").movingBoxes({ - reducedSize : 1, - startPanel : 1, - hashTags : false, - speed : 700, - fixedHeight : true, - wrap : false, - buildNav : true, - navFormatter : function() { - return "●" - }, - preinit:function(){ - widgetContainer.prepend('