feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
This commit is contained in:
1
f_scripts/fe/js/min/breakpoint-binds.min.js
vendored
Normal file
1
f_scripts/fe/js/min/breakpoint-binds.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
jQuery(function(){jQuery(window).bind("exitMedia320",function(){});jQuery(window).bind("enterMedia320",function(){});jQuery(window).bind("exitMedia480",function(){});jQuery(window).bind("enterMedia480",function(){});jQuery(window).bind("exitMedia768",function(){});jQuery(window).bind("enterMedia768",function(){});jQuery(window).bind("exitMedia980",function(){});jQuery(window).bind("enterMedia980",function(){});jQuery(window).bind("exitMedia1200",function(){});jQuery(window).bind("enterMedia1200",function(){});jQuery(window).setBreakpoints()});
|
||||
1
f_scripts/fe/js/min/breakpoints.min.js
vendored
Normal file
1
f_scripts/fe/js/min/breakpoints.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function($){var lastSize=0;var interval=null;$.fn.resetBreakpoints=function(){$(window).unbind("resize");if(interval){clearInterval(interval)}lastSize=0};$.fn.setBreakpoints=function(settings){var options=jQuery.extend({distinct:true,breakpoints:new Array(320,480,768,980,1200)},settings);interval=setInterval(function(){var w=$(window).width();var done=false;for(var bp in options.breakpoints.sort(function(a,b){return b-a})){if(!done&&w>=options.breakpoints[bp]&&lastSize<options.breakpoints[bp]){if(options.distinct){for(var x in options.breakpoints.sort(function(a,b){return b-a})){if($("body").hasClass("media-width-"+options.breakpoints[x])){$("body").removeClass("media-width-"+options.breakpoints[x]);$(window).trigger("exitMedia"+options.breakpoints[x])}}done=true}$("body").addClass("media-width-"+options.breakpoints[bp]);$(window).trigger("enterMedia"+options.breakpoints[bp])}if(w<options.breakpoints[bp]&&lastSize>=options.breakpoints[bp]){$("body").removeClass("media-width-"+options.breakpoints[bp]);$(window).trigger("exitMedia"+options.breakpoints[bp])}if(options.distinct&&w>=options.breakpoints[bp]&&w<options.breakpoints[bp-1]&&lastSize>w&&lastSize>0&&!$("body").hasClass("media-width-"+options.breakpoints[bp])){$("body").addClass("media-width-"+options.breakpoints[bp]);$(window).trigger("enterMedia"+options.breakpoints[bp])}}if(lastSize!=w){lastSize=w}},250)}})(jQuery);
|
||||
1
f_scripts/fe/js/min/browse.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/browse.init.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var SizeSetFunctions=function(){};var ViewModeSizeSetFunctions=function(){};jQuery(window).resize(function(){});jQuery(window).load(function(){thumbFade();jQuery(document).on({click:function(){var ct="";var id=jQuery("#main-content .content-current .main-view-mode.active").attr("id");var type=jQuery("#main-content .content-current .main-view-mode.active").val();var nr=id.split("-");var idnr=nr[3];var page=parseInt(jQuery(this).attr("rel-page"));var more=jQuery("#main-view-mode-"+idnr+"-"+type+"-more").parent();more.detach();var more_clone=more.clone(true);var url=_rel+"?p=0&m="+idnr+"&sort="+type;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;if(typeof ch_id!="undefined"){url+="&u="+ch_id}url+="&page="+page;jQuery("#main-view-mode-"+idnr+"-"+type+"-list ul").mask("");jQuery("#main-view-mode-"+idnr+"-"+type+"-list span.load-more.loadmask-img").show();jQuery("#main-view-mode-"+idnr+"-"+type+"-list span.load-more-text").hide();jQuery.get(url,function(result){jQuery("#main-view-mode-"+idnr+"-"+type+"-list ul").append(result).unmask();jQuery("#main-view-mode-"+idnr+"-"+type+"-list span.load-more.loadmask-img").hide();more_clone.appendTo("#main-view-mode-"+idnr+"-"+type+"-list").find(".more-button").attr("rel-page",page+1);thumbFade()})}},".more-button");jQuery(document).on({click:function(){var file_key=jQuery(this).attr("rel-key");var file_type=jQuery(this).attr("rel-type");var url=_rel+"?a=cb-watchadd&for=sort-"+file_type;var _this=jQuery(this);if(_this.find(jslang["lss"]=="1"?"icon-check":"icon-warning").hasClass("icon-check")){return}_this.parent().next().mask("");_this.next().text(jslang["loading"]);jQuery.post(url,{"fileid[0]":file_key},function(result){_this.find(".icon-clock").removeClass("icon-clock").addClass(jslang["lss"]=="1"?"icon-check":"icon-warning");_this.next().text(jslang["lss"]=="1"?jslang["inwatchlist"]:jslang["nowatchlist"]);_this.parent().next().unmask()})}},".watch_later_wrap");jQuery(document).on({click:function(){if(jQuery(this).hasClass("active")){return}var current=jQuery(".main-view-mode.active").attr("id");var cnr=current.split("-");var id=jQuery(this).attr("id");var type=jQuery(this).val();var nr=id.split("-");var idnr=nr[3];jQuery("#section-"+type+" .main-view-mode").removeClass("active");jQuery("#"+id).addClass("active");if(jQuery("#main-view-mode-"+idnr+"-"+type+"-list ul").length>0){jQuery("#section-"+type+" .mview").hide();jQuery("#main-view-mode-"+idnr+"-"+type+"-list").show();ViewModeSizeSetFunctions();$.get(_rel+"?p=0&vm="+id,function(data){})}else{var ct="";var url=_rel+"?p=0&m="+idnr+"&sort="+type;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;if(typeof ch_id!="undefined"){url+="&u="+ch_id}jQuery("#main-view-mode-"+cnr[3]+"-"+type+"-list").mask("");jQuery("#main-view-mode-"+idnr+"-"+type+" span").addClass("spinner icon-spinner");jQuery("#main-view-mode-"+idnr+"-"+type+"-list").load(url,function(){jQuery("#section-"+type+" .mview").hide();jQuery("#main-view-mode-"+idnr+"-"+type+"-list").show();jQuery("#main-view-mode-"+cnr[3]+"-"+type+"-list").unmask();jQuery("#main-view-mode-"+idnr+"-"+type+" span").removeClass("spinner icon-spinner");if(idnr==2){$(".comment_h p,p.p-info,.full-details-holder p").linkify({defaultProtocol:"https",validate:{email:function(value){return false}},ignoreTags:["script","style"]})}thumbFade()})}}},".main-view-mode");jQuery(document).on({click:function(){if(jQuery(this).hasClass("active")){return}var current=jQuery(".promo-view-mode.active").attr("id").slice(-1);var id=jQuery(this).attr("id").slice(-1);jQuery(".promo-view-mode").removeClass("active");jQuery("#promo-view-mode-"+id).addClass("active");if(jQuery("#promo-view-mode-"+id+"-list ul").length>0){jQuery(".pview").hide();jQuery("#promo-view-mode-"+id+"-list").show();ViewModeSizeSetFunctions();$.get(_rel+"?p=1&vm="+id,function(data){})}else{var ct="";var url=_rel+"?p=1&m="+id;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;if(typeof ch_id!="undefined"){url+="&u="+ch_id}jQuery("#promo-view-mode-"+current+"-list").mask("");jQuery("#promo-view-mode-"+id+" span").addClass("spinner icon-spinner");jQuery("#promo-view-mode-"+id+"-list").load(url,function(){jQuery(".pview").hide();jQuery("#promo-view-mode-"+id+"-list").show();jQuery("#promo-view-mode-"+current+"-list").unmask();jQuery("#promo-view-mode-"+id+" span").removeClass("spinner icon-spinner");thumbFade();ViewModeSizeSetFunctions()})}}},".promo-view-mode")});
|
||||
1
f_scripts/fe/js/min/channels.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/channels.init.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var SizeSetFunctions=function(){};var ViewModeSizeSetFunctions=function(){};jQuery(window).resize(function(){});jQuery(window).load(function(){jQuery(document).on({click:function(){var ct="";var id=jQuery("#main-content .content-current .main-view-mode.active").attr("id");var type=jQuery("#main-content .content-current .main-view-mode.active").val();var nr=id.split("-");var idnr=nr[3];var page=parseInt(jQuery(this).attr("rel-page"));var more=jQuery("#main-view-mode-"+idnr+"-"+type+"-more").parent();more.detach();var more_clone=more.clone(true);var url=_rel+"?p=0&m="+idnr+"&sort="+type;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;if(typeof ch_id!="undefined"){url+="&u="+ch_id}url+="&page="+page;jQuery("#main-view-mode-"+idnr+"-"+type+"-list ul").mask("");jQuery("#main-view-mode-"+idnr+"-"+type+"-list span.load-more.loadmask-img").show();jQuery("#main-view-mode-"+idnr+"-"+type+"-list span.load-more-text").hide();jQuery.get(url,function(result){jQuery("#main-view-mode-"+idnr+"-"+type+"-list ul").append(result).unmask();jQuery("#main-view-mode-"+idnr+"-"+type+"-list span.load-more.loadmask-img").hide();more_clone.appendTo("#main-view-mode-"+idnr+"-"+type+"-list").find(".more-button").attr("rel-page",page+1);thumbFade()})}},".more-button");jQuery(document).on({click:function(){if(jQuery(this).hasClass("active")){return}var current=jQuery(".main-view-mode.active").attr("id");var cnr=current.split("-");var id=jQuery(this).attr("id");var type=jQuery(this).val();var nr=id.split("-");var idnr=nr[3];jQuery("#section-"+type+" .main-view-mode").removeClass("active");jQuery("#"+id).addClass("active");if(jQuery("#main-view-mode-"+idnr+"-"+type+"-list ul").length>0){jQuery("#section-"+type+" .mview").hide();jQuery("#main-view-mode-"+idnr+"-"+type+"-list").show()}else{var ct="";var url=_rel+"?p=0&m="+idnr+"&sort="+type;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;if(typeof ch_id!="undefined"){url+="&u="+ch_id}jQuery("#main-view-mode-"+cnr[3]+"-"+type+"-list").mask("");jQuery("#main-view-mode-"+idnr+"-"+type+" span").addClass("spinner icon-spinner");jQuery("#main-view-mode-"+idnr+"-"+type+"-list").load(url,function(){jQuery("#section-"+type+" .mview").hide();jQuery("#main-view-mode-"+idnr+"-"+type+"-list").show();jQuery("#main-view-mode-"+cnr[3]+"-"+type+"-list").unmask();jQuery("#main-view-mode-"+idnr+"-"+type+" span").removeClass("spinner icon-spinner");thumbFade()})}}},".main-view-mode");jQuery(document).on({click:function(){if(jQuery(this).hasClass("active")){return}var current=jQuery(".promo-view-mode.active").attr("id").slice(-1);var id=jQuery(this).attr("id").slice(-1);jQuery(".promo-view-mode").removeClass("active");jQuery("#promo-view-mode-"+id).addClass("active");if(jQuery("#promo-view-mode-"+id+"-list ul").length>0){jQuery(".pview").hide();jQuery("#promo-view-mode-"+id+"-list").show()}else{var ct="";var url=_rel+"?p=1&m="+id;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;jQuery("#promo-view-mode-"+current+"-list").mask("");jQuery("#promo-view-mode-"+id+" span").addClass("spinner icon-spinner");jQuery("#promo-view-mode-"+id+"-list").load(url,function(){jQuery(".pview").hide();jQuery("#promo-view-mode-"+id+"-list").show();jQuery("#promo-view-mode-"+current+"-list").unmask();jQuery("#promo-view-mode-"+id+" span").removeClass("spinner icon-spinner");thumbFade()})}}},".promo-view-mode")});
|
||||
1
f_scripts/fe/js/min/classie.min.js
vendored
Normal file
1
f_scripts/fe/js/min/classie.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(window){"use strict";function classReg(className){return new RegExp("(^|\\s+)"+className+"(\\s+|$)")}var hasClass,addClass,removeClass;if("classList"in document.documentElement){hasClass=function(elem,c){return elem.classList.contains(c)};addClass=function(elem,c){elem.classList.add(c)};removeClass=function(elem,c){elem.classList.remove(c)}}else{hasClass=function(elem,c){return classReg(c).test(elem.className)};addClass=function(elem,c){if(!hasClass(elem,c)){elem.className=elem.className+" "+c}};removeClass=function(elem,c){elem.className=elem.className.replace(classReg(c)," ")}}function toggleClass(elem,c){var fn=hasClass(elem,c)?removeClass:addClass;fn(elem,c)}var classie={hasClass:hasClass,addClass:addClass,removeClass:removeClass,toggleClass:toggleClass,has:hasClass,add:addClass,remove:removeClass,toggle:toggleClass};if(typeof define==="function"&&define.amd){define(classie)}else{window.classie=classie}})(window);
|
||||
1
f_scripts/fe/js/min/files.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/files.init.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
221
f_scripts/fe/js/min/fwtabs.browse.init.js
Normal file
221
f_scripts/fe/js/min/fwtabs.browse.init.js
Normal file
@@ -0,0 +1,221 @@
|
||||
(function() {
|
||||
[].slice.call(document.querySelectorAll(".tabs")).forEach(function(el) {
|
||||
new CBPFWTabs(el);
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
function mlazyload() {
|
||||
var cid = $(".content-current .main-view-mode.active").attr("id");
|
||||
$("#" + cid + "-more.more-button:last").unbind().bind('inview', function (event, isInView, visiblePartX, visiblePartY) {
|
||||
if (isInView) {
|
||||
if (visiblePartY == 'top') {
|
||||
} else if (visiblePartY == 'bottom') {
|
||||
} else {
|
||||
$("#" + cid + "-more.more-button:last").click();
|
||||
}
|
||||
} else {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
(function() {
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
var section = jQuery(this).find("a").attr("href").split("-");
|
||||
var sort = section[1];
|
||||
var sid = jQuery("#section-" + sort + " .main-view-mode.active").attr("id");
|
||||
var id = sid.split("-");
|
||||
var idnr = id[3];
|
||||
if (jQuery("#" + sid + "-list ul").length == 0) {
|
||||
var ct = "";
|
||||
var url = _rel + "?p=0&m=" + idnr + "&sort=" + sort;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
jQuery("#" + sid + "-list").mask("");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + sort + " span").removeClass("icon-thumbs").addClass("spinner icon-spinner");
|
||||
jQuery("#" + sid + "-list").load(url, function() {
|
||||
jQuery("#" + sid + "-list").unmask();
|
||||
thumbFade();
|
||||
setTimeout(function(){ mlazyload() }, 300);
|
||||
jQuery("#main-view-mode-" + idnr + "-" + sort + " span").addClass("icon-thumbs").removeClass("spinner icon-spinner");
|
||||
});
|
||||
}
|
||||
}
|
||||
}, ".tabs ul:not(.fileThumbs):not(.no-content) li");
|
||||
})();
|
||||
|
||||
function oldSafariCSSfix() {
|
||||
if (isOldSafari()) {
|
||||
var tabnr = $("#main-content.tabs nav ul li").length;
|
||||
var width = jQuery("#siteContent").width() - 32;
|
||||
jQuery("#main-content nav ul li").width(width / tabnr - 1).css("float", "left");
|
||||
jQuery(".tabs nav").css("width", width + 1);
|
||||
}
|
||||
}
|
||||
|
||||
jQuery(window).load(function() {
|
||||
oldSafariCSSfix();
|
||||
});
|
||||
|
||||
jQuery(window).resize(function() {
|
||||
oldSafariCSSfix();
|
||||
});
|
||||
|
||||
var SizeSetFunctions = function() {};
|
||||
|
||||
var ViewModeSizeSetFunctions = function() {};
|
||||
|
||||
jQuery(window).resize(function() {});
|
||||
|
||||
jQuery(window).load(function() {
|
||||
thumbFade();
|
||||
mlazyload();
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
var ct = "";
|
||||
var id = jQuery("#main-content .content-current .main-view-mode.active").attr("id");
|
||||
var type = jQuery("#main-content .content-current .main-view-mode.active").val();
|
||||
var nr = id.split("-");
|
||||
var idnr = nr[3];
|
||||
var page = parseInt(jQuery(this).attr("rel-page"));
|
||||
var more = jQuery("#main-view-mode-" + idnr + "-" + type + "-more").parent();
|
||||
var more_clone = more.clone(true);
|
||||
var url = _rel + "?p=0&m=" + idnr + "&sort=" + type;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
url += "&page=" + page;
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list span.load-more-text i").removeClass("iconBe-plus").addClass("spinner icon-spinner");
|
||||
|
||||
jQuery.get(url, function(result) {
|
||||
more.detach();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list ul").append(result).unmask();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list span.load-more.loadmask-img").hide();
|
||||
more_clone.appendTo("#main-view-mode-" + idnr + "-" + type + "-list").find(".more-button").attr("rel-page", page + 1);
|
||||
thumbFade();
|
||||
});
|
||||
}
|
||||
}, ".more-button");
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
var file_key = jQuery(this).attr("rel-key");
|
||||
var file_type = jQuery(this).attr("rel-type");
|
||||
var url = _rel + "?a=cb-watchadd&for=sort-" + file_type;
|
||||
var _this = jQuery(this);
|
||||
if (_this.find(jslang["lss"] == "1" ? "icon-check" : "icon-warning").hasClass("icon-check")) {
|
||||
return;
|
||||
}
|
||||
_this.parent().next().mask("");
|
||||
_this.next().text(jslang["loading"]);
|
||||
jQuery.post(url, {
|
||||
"fileid[0]": file_key
|
||||
}, function(result) {
|
||||
_this.find(".icon-clock").removeClass("icon-clock").addClass(jslang["lss"] == "1" ? "icon-check" : "icon-warning");
|
||||
_this.next().text(jslang["lss"] == "1" ? jslang["inwatchlist"] : jslang["nowatchlist"]);
|
||||
_this.parent().next().unmask();
|
||||
});
|
||||
}
|
||||
}, ".watch_later_wrap");
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
if (jQuery(this).hasClass("active")) {
|
||||
return;
|
||||
}
|
||||
var current = jQuery(".main-view-mode.active").attr("id");
|
||||
var cnr = current.split("-");
|
||||
var id = jQuery(this).attr("id");
|
||||
var type = jQuery(this).val();
|
||||
var nr = id.split("-");
|
||||
var idnr = nr[3];
|
||||
jQuery("#section-" + type + " .main-view-mode").removeClass("active");
|
||||
jQuery("#" + id).addClass("active");
|
||||
if (jQuery("#main-view-mode-" + idnr + "-" + type + "-list ul").length > 0) {
|
||||
jQuery("#section-" + type + " .mview").hide();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list").show();
|
||||
ViewModeSizeSetFunctions();
|
||||
$.get(_rel + "?p=0&vm=" + id, function(data) {});
|
||||
} else {
|
||||
var ct = "";
|
||||
var url = _rel + "?p=0&m=" + idnr + "&sort=" + type;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
jQuery("#main-view-mode-" + cnr[3] + "-" + type + "-list").mask("");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + " span").addClass("spinner icon-spinner");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list").load(url, function() {
|
||||
jQuery("#section-" + type + " .mview").hide();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list").show();
|
||||
jQuery("#main-view-mode-" + cnr[3] + "-" + type + "-list").unmask();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + " span").removeClass("spinner icon-spinner");
|
||||
if (idnr == 2) {
|
||||
$(".comment_h p,p.p-info,.full-details-holder p").linkify({
|
||||
defaultProtocol: "https",
|
||||
validate: {
|
||||
email: function(value) {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
ignoreTags: [ "script", "style" ]
|
||||
});
|
||||
}
|
||||
thumbFade();
|
||||
setTimeout(function(){ mlazyload() }, 300);
|
||||
});
|
||||
}
|
||||
}
|
||||
}, ".main-view-mode");
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
if (jQuery(this).hasClass("active")) {
|
||||
return;
|
||||
}
|
||||
var current = jQuery(".promo-view-mode.active").attr("id").slice(-1);
|
||||
var id = jQuery(this).attr("id").slice(-1);
|
||||
jQuery(".promo-view-mode").removeClass("active");
|
||||
jQuery("#promo-view-mode-" + id).addClass("active");
|
||||
if (jQuery("#promo-view-mode-" + id + "-list ul").length > 0) {
|
||||
jQuery(".pview").hide();
|
||||
jQuery("#promo-view-mode-" + id + "-list").show();
|
||||
ViewModeSizeSetFunctions();
|
||||
$.get(_rel + "?p=1&vm=" + id, function(data) {});
|
||||
} else {
|
||||
var ct = "";
|
||||
var url = _rel + "?p=1&m=" + id;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
jQuery("#promo-view-mode-" + current + "-list").mask("");
|
||||
jQuery("#promo-view-mode-" + id + " span").addClass("spinner icon-spinner");
|
||||
jQuery("#promo-view-mode-" + id + "-list").load(url, function() {
|
||||
jQuery(".pview").hide();
|
||||
jQuery("#promo-view-mode-" + id + "-list").show();
|
||||
jQuery("#promo-view-mode-" + current + "-list").unmask();
|
||||
jQuery("#promo-view-mode-" + id + " span").removeClass("spinner icon-spinner");
|
||||
thumbFade();
|
||||
setTimeout(function(){ mlazyload() }, 300);
|
||||
ViewModeSizeSetFunctions();
|
||||
});
|
||||
}
|
||||
}
|
||||
}, ".promo-view-mode");
|
||||
});
|
||||
1
f_scripts/fe/js/min/fwtabs.browse.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/fwtabs.browse.init.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
185
f_scripts/fe/js/min/fwtabs.channels.init.js
Normal file
185
f_scripts/fe/js/min/fwtabs.channels.init.js
Normal file
@@ -0,0 +1,185 @@
|
||||
(function() {
|
||||
[].slice.call(document.querySelectorAll(".tabs")).forEach(function(el) {
|
||||
new CBPFWTabs(el);
|
||||
});
|
||||
})();
|
||||
|
||||
function isOldSafari() {
|
||||
return !!navigator.userAgent.match(" Safari/") && !navigator.userAgent.match(" Chrome") && (!!navigator.userAgent.match(" Version/6.0") || !!navigator.userAgent.match(" Version/5."));
|
||||
}
|
||||
|
||||
function oldSafariCSSfix() {
|
||||
if (isOldSafari()) {
|
||||
var tabnr = 7;
|
||||
var width = jQuery("#siteContent").width() - 32;
|
||||
jQuery("#main-content nav ul li").width(width / tabnr - 1).css("float", "left");
|
||||
jQuery(".tabs nav").css("width", width + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function mlazyload() {
|
||||
var cid = $(".content-current .main-view-mode.active").attr("id");
|
||||
$("#" + cid + "-more.more-button:last").unbind().bind('inview', function (event, isInView, visiblePartX, visiblePartY) {
|
||||
if (isInView) {
|
||||
if (visiblePartY == 'top') {
|
||||
} else if (visiblePartY == 'bottom') {
|
||||
} else {
|
||||
$("#" + cid + "-more.more-button:last").click();
|
||||
}
|
||||
} else {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
(function() {
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
var section = jQuery(this).find("a").attr("href").split("-");
|
||||
var sort = section[1];
|
||||
var sid = jQuery("#section-" + sort + " .main-view-mode.active").attr("id");
|
||||
var id = sid.split("-");
|
||||
var idnr = id[3];
|
||||
if (jQuery("#" + sid + "-list ul").length == 0) {
|
||||
var ct = "";
|
||||
var url = _rel + "?p=0&m=" + idnr + "&sort=" + sort;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
jQuery("#" + sid + "-list").mask("");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + sort + " span").addClass("spinner icon-spinner");
|
||||
jQuery("#" + sid + "-list").load(url, function() {
|
||||
jQuery("#" + sid + "-list").unmask();
|
||||
thumbFade();
|
||||
setTimeout(function(){ mlazyload() }, 300);
|
||||
jQuery("#main-view-mode-" + idnr + "-" + sort + " span").removeClass("spinner icon-spinner");
|
||||
});
|
||||
}
|
||||
}
|
||||
}, ".tabs ul:not(.fileThumbs):not(.ch-grid):not(.uu) li");
|
||||
})();
|
||||
|
||||
jQuery(window).load(function() {
|
||||
oldSafariCSSfix();
|
||||
});
|
||||
|
||||
jQuery(window).resize(function() {
|
||||
oldSafariCSSfix();
|
||||
});
|
||||
|
||||
var SizeSetFunctions = function() {};
|
||||
|
||||
var ViewModeSizeSetFunctions = function() {};
|
||||
|
||||
jQuery(window).resize(function() {});
|
||||
|
||||
jQuery(window).load(function() {
|
||||
mlazyload();
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
var ct = "";
|
||||
var id = jQuery("#main-content .content-current .main-view-mode.active").attr("id");
|
||||
var type = jQuery("#main-content .content-current .main-view-mode.active").val();
|
||||
var nr = id.split("-");
|
||||
var idnr = nr[3];
|
||||
var page = parseInt(jQuery(this).attr("rel-page"));
|
||||
var more = jQuery("#main-view-mode-" + idnr + "-" + type + "-more").parent();
|
||||
more.detach();
|
||||
var more_clone = more.clone(true);
|
||||
var url = _rel + "?p=0&m=" + idnr + "&sort=" + type;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
url += "&page=" + page;
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list ul").mask("");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list span.load-more.loadmask-img").show();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list span.load-more-text").hide();
|
||||
jQuery.get(url, function(result) {
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list ul").append(result).unmask();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list span.load-more.loadmask-img").hide();
|
||||
more_clone.appendTo("#main-view-mode-" + idnr + "-" + type + "-list").find(".more-button").attr("rel-page", page + 1);
|
||||
thumbFade();
|
||||
});
|
||||
}
|
||||
}, ".more-button");
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
if (jQuery(this).hasClass("active")) {
|
||||
return;
|
||||
}
|
||||
var current = jQuery(".main-view-mode.active").attr("id");
|
||||
var cnr = current.split("-");
|
||||
var id = jQuery(this).attr("id");
|
||||
var type = jQuery(this).val();
|
||||
var nr = id.split("-");
|
||||
var idnr = nr[3];
|
||||
jQuery("#section-" + type + " .main-view-mode").removeClass("active");
|
||||
jQuery("#" + id).addClass("active");
|
||||
if (jQuery("#main-view-mode-" + idnr + "-" + type + "-list ul").length > 0) {
|
||||
jQuery("#section-" + type + " .mview").hide();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list").show();
|
||||
} else {
|
||||
var ct = "";
|
||||
var url = _rel + "?p=0&m=" + idnr + "&sort=" + type;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
if (typeof ch_id != "undefined") {
|
||||
url += "&u=" + ch_id;
|
||||
}
|
||||
jQuery("#main-view-mode-" + cnr[3] + "-" + type + "-list").mask("");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + " span").addClass("spinner icon-spinner");
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list").load(url, function() {
|
||||
jQuery("#section-" + type + " .mview").hide();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + "-list").show();
|
||||
jQuery("#main-view-mode-" + cnr[3] + "-" + type + "-list").unmask();
|
||||
jQuery("#main-view-mode-" + idnr + "-" + type + " span").removeClass("spinner icon-spinner");
|
||||
thumbFade();
|
||||
setTimeout(function(){ mlazyload() }, 300);
|
||||
});
|
||||
}
|
||||
}
|
||||
}, ".main-view-mode");
|
||||
jQuery(document).on({
|
||||
click: function() {
|
||||
if (jQuery(this).hasClass("active")) {
|
||||
return;
|
||||
}
|
||||
var current = jQuery(".promo-view-mode.active").attr("id").slice(-1);
|
||||
var id = jQuery(this).attr("id").slice(-1);
|
||||
jQuery(".promo-view-mode").removeClass("active");
|
||||
jQuery("#promo-view-mode-" + id).addClass("active");
|
||||
if (jQuery("#promo-view-mode-" + id + "-list ul").length > 0) {
|
||||
jQuery(".pview").hide();
|
||||
jQuery("#promo-view-mode-" + id + "-list").show();
|
||||
} else {
|
||||
var ct = "";
|
||||
var url = _rel + "?p=1&m=" + id;
|
||||
if (typeof jQuery("#categories-accordion li a.selected").attr("rel-name") != "undefined") {
|
||||
ct = "&c=" + jQuery("#categories-accordion li a.selected").attr("rel-name");
|
||||
}
|
||||
url += ct;
|
||||
jQuery("#promo-view-mode-" + current + "-list").mask("");
|
||||
jQuery("#promo-view-mode-" + id + " span").addClass("spinner icon-spinner");
|
||||
jQuery("#promo-view-mode-" + id + "-list").load(url, function() {
|
||||
jQuery(".pview").hide();
|
||||
jQuery("#promo-view-mode-" + id + "-list").show();
|
||||
jQuery("#promo-view-mode-" + current + "-list").unmask();
|
||||
jQuery("#promo-view-mode-" + id + " span").removeClass("spinner icon-spinner");
|
||||
thumbFade();
|
||||
setTimeout(function(){ mlazyload() }, 300);
|
||||
});
|
||||
}
|
||||
}
|
||||
}, ".promo-view-mode");
|
||||
});
|
||||
1
f_scripts/fe/js/min/fwtabs.channels.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/fwtabs.channels.init.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/fwtabs.files.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/fwtabs.files.init.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/fwtabs.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/fwtabs.init.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(){[].slice.call(document.querySelectorAll(".tabs")).forEach(function(el){new CBPFWTabs(el)})})();(function(){jQuery(document).on({click:function(){var section=jQuery(this).find("a").attr("href").split("-");var sort=section[1];var sid=jQuery("#section-"+sort+" .main-view-mode.active").attr("id");var id=sid.split("-");var idnr=id[3];if(jQuery("#"+sid+"-list ul").length==0){var ct="";var url=_rel+"?p=0&m="+idnr+"&sort="+sort;if(typeof jQuery("#categories-accordion li a.selected").attr("rel-name")!="undefined"){ct="&c="+jQuery("#categories-accordion li a.selected").attr("rel-name")}url+=ct;if(typeof ch_id!="undefined"){url+="&u="+ch_id}jQuery("#"+sid+"-list").mask("");jQuery("#main-view-mode-"+idnr+"-"+sort+" span").removeClass("icon-thumbs").addClass("spinner icon-spinner");jQuery("#"+sid+"-list").load(url,function(){jQuery("#"+sid+"-list").unmask();thumbFade();jQuery("#main-view-mode-"+idnr+"-"+sort+" span").addClass("icon-thumbs").removeClass("spinner icon-spinner")})}}},".tabs ul:not(.fileThumbs):not(.no-content) li")})();function oldSafariCSSfix(){if(isOldSafari()){var tabnr=$("#main-content.tabs nav ul li").length;var width=jQuery("#siteContent").width()-32;jQuery("#main-content nav ul li").width(width/tabnr-1).css("float","left");jQuery(".tabs nav").css("width",width+1)}}jQuery(window).load(function(){oldSafariCSSfix()});jQuery(window).resize(function(){oldSafariCSSfix()});
|
||||
1
f_scripts/fe/js/min/fwtabs.min.js
vendored
Normal file
1
f_scripts/fe/js/min/fwtabs.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(window){"use strict";function extend(a,b){for(var key in b){if(b.hasOwnProperty(key)){a[key]=b[key]}}return a}function CBPFWTabs(el,options){this.el=el;this.options=extend({},this.options);extend(this.options,options);this._init()}CBPFWTabs.prototype.options={start:0};CBPFWTabs.prototype._init=function(){this.tabs=[].slice.call(this.el.querySelectorAll("nav > ul > li"));this.items=[].slice.call(this.el.querySelectorAll(".content-wrap > section"));this.current=-1;this._show();this._initEvents()};CBPFWTabs.prototype._initEvents=function(){var self=this;this.tabs.forEach(function(tab,idx){tab.addEventListener("click",function(ev){ev.preventDefault();self._show(idx)})})};CBPFWTabs.prototype._show=function(idx){if(this.current>=0){this.tabs[this.current].className=this.items[this.current].className=""}this.current=idx!=undefined?idx:this.options.start>=0&&this.options.start<this.items.length?this.options.start:0;this.tabs[this.current].className="tab-current";this.items[this.current].className="content-current"};window.CBPFWTabs=CBPFWTabs})(window);
|
||||
1
f_scripts/fe/js/min/fwtabs.view.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/fwtabs.view.init.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(){[].slice.call(document.querySelectorAll(".tabs")).forEach(function(el){new CBPFWTabs(el)})})();function oldSafariCSSfix(){if(isOldSafari()){var tabnr=4;var width=jQuery("#siteContent").width()-32;jQuery("#div-share nav ul li").width(width/tabnr-1).css("float","left");jQuery(".tabs nav").css("width",width+1)}}$(document).ready(function(){$(document).on("click",".tabs ul:not(.fileThumbs) li",function(){if($(this).find("a").attr("href")=="#section-thumb"){$(".save-entry-button").hide()}else{$(".save-entry-button").show()}})});jQuery(window).load(function(){oldSafariCSSfix()});jQuery(window).resize(function(){oldSafariCSSfix()});
|
||||
1
f_scripts/fe/js/min/icheck.min.js
vendored
Normal file
1
f_scripts/fe/js/min/icheck.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
f_scripts/fe/js/min/index.init.min.js
vendored
Normal file
2
f_scripts/fe/js/min/index.init.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/init0.min.js
vendored
Normal file
1
f_scripts/fe/js/min/init0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/jquery.autocomplete.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.autocomplete.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/jquery.cookie.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.cookie.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
jQuery.cookie=function(name,value,options){if(typeof value!="undefined"){options=options||{};if(value===null){value="";options.expires=-1}var expires="";if(options.expires&&(typeof options.expires=="number"||options.expires.toUTCString)){var date;if(typeof options.expires=="number"){date=new Date;date.setTime(date.getTime()+options.expires*24*60*60*1e3)}else{date=options.expires}expires="; expires="+date.toUTCString()}var path=options.path?"; path="+options.path:"";var domain=options.domain?"; domain="+options.domain:"";var secure=options.secure?"; secure":"";document.cookie=[name,"=",encodeURIComponent(value),expires,path,domain,secure].join("")}else{var cookieValue=null;if(document.cookie&&document.cookie!=""){var cookies=document.cookie.split(";");for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==name+"="){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}}return cookieValue}};
|
||||
1
f_scripts/fe/js/min/jquery.custom-scrollbar.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.custom-scrollbar.init.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$(window).load(function(){$(".sidebar-container-off").customScrollbar({skin:"default-skin",hScroll:false,updateOnWindowResize:true,preventDefaultScroll:true})});
|
||||
1
f_scripts/fe/js/min/jquery.custom-scrollbar.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.custom-scrollbar.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/jquery.dlmenu.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.dlmenu.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function($,window,undefined){"use strict";var Modernizr=window.Modernizr,$body=$("body");$.DLMenu=function(options,element){this.$el=$(element);this._init(options)};$.DLMenu.defaults={animationClasses:{classin:"dl-animate-in-1",classout:"dl-animate-out-1"},onLevelClick:function(el,name){return false},onLinkClick:function(el,ev){return false}};$.DLMenu.prototype={_init:function(options){this.options=$.extend(true,{},$.DLMenu.defaults,options);this._config();var animEndEventNames={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",animation:"animationend"},transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"};this.animEndEventName=animEndEventNames[Modernizr.prefixed("animation")]+".dlmenu";this.transEndEventName=transEndEventNames[Modernizr.prefixed("transition")]+".dlmenu",this.supportAnimations=Modernizr.cssanimations,this.supportTransitions=Modernizr.csstransitions;this._initEvents()},_config:function(){this.open=false;this.$trigger=this.$el.children(".dl-trigger");this.$menu=this.$el.children("ul.dl-menu");this.$menuitems=this.$menu.find("li:not(.dl-back)");this.$el.find("ul.dl-submenu").prepend('<li class="dl-back"><a href="#">back</a></li>');this.$back=this.$menu.find("li.dl-back")},_initEvents:function(){var self=this;this.$trigger.on("click.dlmenu",function(){if(self.open){self._closeMenu()}else{self._openMenu()}return false});this.$menuitems.on("click.dlmenu",function(event){event.stopPropagation();var $item=$(this),$submenu=$item.children("ul.dl-submenu");if($submenu.length>0){var $flyin=$submenu.clone().css("opacity",0).insertAfter(self.$menu),onAnimationEndFn=function(){self.$menu.off(self.animEndEventName).removeClass(self.options.animationClasses.classout).addClass("dl-subview");$item.addClass("dl-subviewopen").parents(".dl-subviewopen:first").removeClass("dl-subviewopen").addClass("dl-subview");$flyin.remove()};setTimeout(function(){$flyin.addClass(self.options.animationClasses.classin);self.$menu.addClass(self.options.animationClasses.classout);if(self.supportAnimations){self.$menu.on(self.animEndEventName,onAnimationEndFn)}else{onAnimationEndFn.call()}self.options.onLevelClick($item,$item.children("a:first").text())});return false}else{self.options.onLinkClick($item,event)}});this.$back.on("click.dlmenu",function(event){var $this=$(this),$submenu=$this.parents("ul.dl-submenu:first"),$item=$submenu.parent(),$flyin=$submenu.clone().insertAfter(self.$menu);var onAnimationEndFn=function(){self.$menu.off(self.animEndEventName).removeClass(self.options.animationClasses.classin);$flyin.remove()};setTimeout(function(){$flyin.addClass(self.options.animationClasses.classout);self.$menu.addClass(self.options.animationClasses.classin);if(self.supportAnimations){self.$menu.on(self.animEndEventName,onAnimationEndFn)}else{onAnimationEndFn.call()}$item.removeClass("dl-subviewopen");var $subview=$this.parents(".dl-subview:first");if($subview.is("li")){$subview.addClass("dl-subviewopen")}$subview.removeClass("dl-subview")});return false})},closeMenu:function(){if(this.open){this._closeMenu()}},_closeMenu:function(){var self=this,onTransitionEndFn=function(){self.$menu.off(self.transEndEventName);self._resetMenu()};this.$menu.removeClass("dl-menuopen");this.$menu.addClass("dl-menu-toggle");this.$trigger.removeClass("dl-active");if(this.supportTransitions){this.$menu.on(this.transEndEventName,onTransitionEndFn)}else{onTransitionEndFn.call()}this.open=false},openMenu:function(){if(!this.open){this._openMenu()}},_openMenu:function(){var self=this;$body.off("click").on("click.dlmenu",function(){self._closeMenu()});this.$menu.addClass("dl-menuopen dl-menu-toggle").on(this.transEndEventName,function(){$(this).removeClass("dl-menu-toggle")});this.$trigger.addClass("dl-active");this.open=true},_resetMenu:function(){this.$menu.removeClass("dl-subview");this.$menuitems.removeClass("dl-subview dl-subviewopen")}};var logError=function(message){if(window.console){window.console.error(message)}};$.fn.dlmenu=function(options){if(typeof options==="string"){var args=Array.prototype.slice.call(arguments,1);this.each(function(){var instance=$.data(this,"dlmenu");if(!instance){logError("cannot call methods on dlmenu prior to initialization; "+"attempted to call method '"+options+"'");return}if(!$.isFunction(instance[options])||options.charAt(0)==="_"){logError("no such method '"+options+"' for dlmenu instance");return}instance[options].apply(instance,args)})}else{this.each(function(){var instance=$.data(this,"dlmenu");if(instance){instance._init()}else{instance=$.data(this,"dlmenu",new $.DLMenu(options,this))}})}return this}})(jQuery,window);
|
||||
1
f_scripts/fe/js/min/jquery.easing.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.easing.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
jQuery.easing["jswing"]=jQuery.easing["swing"];jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return t==0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return t==d?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=1.525)+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=1.525)+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<1/2.75){return c*(7.5625*t*t)+b}else if(t<2/2.75){return c*(7.5625*(t-=1.5/2.75)*t+.75)+b}else if(t<2.5/2.75){return c*(7.5625*(t-=2.25/2.75)*t+.9375)+b}else{return c*(7.5625*(t-=2.625/2.75)*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});
|
||||
1
f_scripts/fe/js/min/jquery.fancybox.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.fancybox.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
f_scripts/fe/js/min/jquery.hoverIntent.min.js
vendored
Normal file
9
f_scripts/fe/js/min/jquery.hoverIntent.min.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/*!
|
||||
* hoverIntent v1.8.0 // 2014.06.29 // jQuery v1.9.1+
|
||||
* http://cherne.net/brian/resources/jquery.hoverIntent.html
|
||||
*
|
||||
* You may use hoverIntent under the terms of the MIT license. Basically that
|
||||
* means you are free to use hoverIntent as long as this header is left intact.
|
||||
* Copyright 2007, 2014 Brian Cherne
|
||||
*/
|
||||
(function($){$.fn.hoverIntent=function(handlerIn,handlerOut,selector){var cfg={interval:100,sensitivity:6,timeout:0};if(typeof handlerIn==="object"){cfg=$.extend(cfg,handlerIn)}else{if($.isFunction(handlerOut)){cfg=$.extend(cfg,{over:handlerIn,out:handlerOut,selector:selector})}else{cfg=$.extend(cfg,{over:handlerIn,out:handlerIn,selector:handlerOut})}}var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if(Math.sqrt((pX-cX)*(pX-cX)+(pY-cY)*(pY-cY))<cfg.sensitivity){$(ob).off("mousemove.hoverIntent",track);ob.hoverIntent_s=true;return cfg.over.apply(ob,[ev])}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=false;return cfg.out.apply(ob,[ev])};var handleHover=function(e){var ev=$.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t)}if(e.type==="mouseenter"){pX=ev.pageX;pY=ev.pageY;$(ob).on("mousemove.hoverIntent",track);if(!ob.hoverIntent_s){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}}else{$(ob).off("mousemove.hoverIntent",track);if(ob.hoverIntent_s){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob)},cfg.timeout)}}};return this.on({"mouseenter.hoverIntent":handleHover,"mouseleave.hoverIntent":handleHover},cfg.selector)}})(jQuery);
|
||||
2
f_scripts/fe/js/min/jquery.lazy.ajax.min.js
vendored
Normal file
2
f_scripts/fe/js/min/jquery.lazy.ajax.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/*! jQuery & Zepto Lazy - AJAX Plugin v1.2 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2016 Daniel 'Eisbehr' Kern */
|
||||
!function(t){function a(a,e,o,n){t.ajax({url:e.attr("data-src"),type:n||"get",dataType:e.attr("data-type")||"html",success:function(t){e.html(t),o(!0),a.config("removeAttribute")&&e.removeAttr("data-src data-method data-type")},error:function(){o(!1)}})}t.lazy("ajax",function(t,e){a(this,t,e,t.attr("data-method"))}),t.lazy("get",function(t,e){a(this,t,e,"get")}),t.lazy("post",function(t,e){a(this,t,e,"post")})}(window.jQuery||window.Zepto);
|
||||
2
f_scripts/fe/js/min/jquery.lazy.min.js
vendored
Normal file
2
f_scripts/fe/js/min/jquery.lazy.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/*! jQuery & Zepto Lazy v1.7.4 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2016 Daniel 'Eisbehr' Kern */
|
||||
!function(t,e){"use strict";function r(r,a,i,l,u){function f(){L=t.devicePixelRatio>1,c(i),a.delay>=0&&setTimeout(function(){s(!0)},a.delay),(a.delay<0||a.combined)&&(l.e=v(a.throttle,function(t){"resize"===t.type&&(w=B=-1),s(t.all)}),l.a=function(t){c(t),i.push.apply(i,t)},l.g=function(){return i=n(i).filter(function(){return!n(this).data(a.loadedName)})},l.f=function(t){for(var e=0;e<t.length;e++){var r=i.filter(t[e]);r.length&&s(!1,r)}},s(),n(a.appendScroll).on("scroll."+u+" resize."+u,l.e))}function c(t){var i=a.defaultImage,o=a.placeholder,l=a.imageBase,u=a.srcsetAttribute,f=a.loaderAttribute,c=a._f||{};t=n(t).filter(function(){var t=n(this),r=m(this);return!t.data(a.handledName)&&(t.attr(a.attribute)||t.attr(u)||t.attr(f)||c[r]!==e)}).data("plugin_"+a.name,r);for(var s=0,d=t.length;s<d;s++){var A=n(t[s]),g=m(t[s]),h=A.attr(a.imageBaseAttribute)||l;g==N&&h&&A.attr(u)&&A.attr(u,b(A.attr(u),h)),c[g]===e||A.attr(f)||A.attr(f,c[g]),g==N&&i&&!A.attr(E)?A.attr(E,i):g==N||!o||A.css(O)&&"none"!=A.css(O)||A.css(O,"url('"+o+"')")}}function s(t,e){if(!i.length)return void(a.autoDestroy&&r.destroy());for(var o=e||i,l=!1,u=a.imageBase||"",f=a.srcsetAttribute,c=a.handledName,s=0;s<o.length;s++)if(t||e||A(o[s])){var g=n(o[s]),h=m(o[s]),b=g.attr(a.attribute),v=g.attr(a.imageBaseAttribute)||u,p=g.attr(a.loaderAttribute);g.data(c)||a.visibleOnly&&!g.is(":visible")||!((b||g.attr(f))&&(h==N&&(v+b!=g.attr(E)||g.attr(f)!=g.attr(F))||h!=N&&v+b!=g.css(O))||p)||(l=!0,g.data(c,!0),d(g,h,v,p))}l&&(i=n(i).filter(function(){return!n(this).data(c)}))}function d(t,e,r,i){++z;var o=function(){y("onError",t),p(),o=n.noop};y("beforeLoad",t);var l=a.attribute,u=a.srcsetAttribute,f=a.sizesAttribute,c=a.retinaAttribute,s=a.removeAttribute,d=a.loadedName,A=t.attr(c);if(i){var g=function(){s&&t.removeAttr(a.loaderAttribute),t.data(d,!0),y(T,t),setTimeout(p,1),g=n.noop};t.off(I).one(I,o).one(D,g),y(i,t,function(e){e?(t.off(D),g()):(t.off(I),o())})||t.trigger(I)}else{var h=n(new Image);h.one(I,o).one(D,function(){t.hide(),e==N?t.attr(C,h.attr(C)).attr(F,h.attr(F)).attr(E,h.attr(E)):t.css(O,"url('"+h.attr(E)+"')"),t[a.effect](a.effectTime),s&&(t.removeAttr(l+" "+u+" "+c+" "+a.imageBaseAttribute),f!==C&&t.removeAttr(f)),t.data(d,!0),y(T,t),h.remove(),p()});var m=(L&&A?A:t.attr(l))||"";h.attr(C,t.attr(f)).attr(F,t.attr(u)).attr(E,m?r+m:null),h.complete&&h.trigger(D)}}function A(t){var e=t.getBoundingClientRect(),r=a.scrollDirection,n=a.threshold,i=h()+n>e.top&&-n<e.bottom,o=g()+n>e.left&&-n<e.right;return"vertical"==r?i:"horizontal"==r?o:i&&o}function g(){return w>=0?w:w=n(t).width()}function h(){return B>=0?B:B=n(t).height()}function m(t){return t.tagName.toLowerCase()}function b(t,e){if(e){var r=t.split(",");t="";for(var a=0,n=r.length;a<n;a++)t+=e+r[a].trim()+(a!==n-1?",":"")}return t}function v(t,e){var n,i=0;return function(o,l){function u(){i=+new Date,e.call(r,o)}var f=+new Date-i;n&&clearTimeout(n),f>t||!a.enableThrottle||l?u():n=setTimeout(u,t-f)}}function p(){--z,i.length||z||y("onFinishedAll")}function y(t,e,n){return!!(t=a[t])&&(t.apply(r,[].slice.call(arguments,1)),!0)}var z=0,w=-1,B=-1,L=!1,T="afterLoad",D="load",I="error",N="img",E="src",F="srcset",C="sizes",O="background-image";"event"==a.bind||o?f():n(t).on(D+"."+u,f)}function a(a,o){var l=this,u=n.extend({},l.config,o),f={},c=u.name+"-"+ ++i;return l.config=function(t,r){return r===e?u[t]:(u[t]=r,l)},l.addItems=function(t){return f.a&&f.a("string"===n.type(t)?n(t):t),l},l.getItems=function(){return f.g?f.g():{}},l.update=function(t){return f.e&&f.e({},!t),l},l.force=function(t){return f.f&&f.f("string"===n.type(t)?n(t):t),l},l.loadAll=function(){return f.e&&f.e({all:!0},!0),l},l.destroy=function(){return n(u.appendScroll).off("."+c,f.e),n(t).off("."+c),f={},e},r(l,u,a,f,c),u.chainable?a:l}var n=t.jQuery||t.Zepto,i=0,o=!1;n.fn.Lazy=n.fn.lazy=function(t){return new a(this,t)},n.Lazy=n.lazy=function(t,r,i){if(n.isFunction(r)&&(i=r,r=[]),n.isFunction(i)){t=n.isArray(t)?t:[t],r=n.isArray(r)?r:[r];for(var o=a.prototype.config,l=o._f||(o._f={}),u=0,f=t.length;u<f;u++)(o[t[u]]===e||n.isFunction(o[t[u]]))&&(o[t[u]]=i);for(var c=0,s=r.length;c<s;c++)l[r[c]]=t[0]}},a.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},n(t).on("load",function(){o=!0})}(window);
|
||||
1
f_scripts/fe/js/min/jquery.loadmask.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.loadmask.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(a){a.fn.mask=function(c){this.unmask();if(this.css("position")=="static"){this.addClass("masked-relative")}this.addClass("masked");var d=a('<div class="loadmask"></div>');if(navigator.userAgent.toLowerCase().indexOf("msie")>-1){d.height(this.height()+parseInt(this.css("padding-top"))+parseInt(this.css("padding-bottom")));d.width(this.width()+parseInt(this.css("padding-left"))+parseInt(this.css("padding-right")))}if(navigator.userAgent.toLowerCase().indexOf("msie 6")>-1){this.find("select").addClass("masked-hidden")}this.append(d);if(typeof c=="string"){var b=a('<div class="loadmask-msg" style="display:none;"></div>');b.append("<div>"+c+"</div>");this.append(b);b.css("top",Math.round(this.height()/2-(b.height()-parseInt(b.css("padding-top"))-parseInt(b.css("padding-bottom")))/2)+"px");b.css("left",Math.round(this.width()/2-(b.width()-parseInt(b.css("padding-left"))-parseInt(b.css("padding-right")))/2)+"px");b.show()}};a.fn.unmask=function(b){this.find(".loadmask-msg,.loadmask").remove();this.removeClass("masked");this.removeClass("masked-relative");this.find("select").removeClass("masked-hidden")}})(jQuery);
|
||||
1
f_scripts/fe/js/min/jquery.truncator.min.js
vendored
Normal file
1
f_scripts/fe/js/min/jquery.truncator.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function($){var trailing_whitespace=true;$.fn.truncate=function(options){var opts=$.extend({},$.fn.truncate.defaults,options);$(this).each(function(){var content_length=$.trim(squeeze($(this).text())).length;if(content_length<=opts.max_length)return;var actual_max_length=opts.max_length-opts.more.length-3;var truncated_node=recursivelyTruncate(this,actual_max_length);var full_node=$(this).hide();truncated_node.insertAfter(full_node);findNodeForMore(truncated_node).append(' <a href="#show more content">'+opts.more+"</a>...");findNodeForLess(full_node).append(' <a href="#show less content">'+opts.less+"</a>...");truncated_node.find("a:last").click(function(){truncated_node.hide();full_node.show();return false});full_node.find("a:last").click(function(){truncated_node.show();full_node.hide();return false})})};$.fn.truncate.defaults={max_length:100,more:"…more",less:"less"};function recursivelyTruncate(node,max_length){return node.nodeType==3?truncateText(node,max_length):truncateNode(node,max_length)}function truncateNode(node,max_length){var node=$(node);var new_node=node.clone().empty();var truncatedChild;node.contents().each(function(){var remaining_length=max_length-new_node.text().length;if(remaining_length==0)return;truncatedChild=recursivelyTruncate(this,remaining_length);if(truncatedChild)new_node.append(truncatedChild)});return new_node}function truncateText(node,max_length){var text=squeeze(node.data);if(trailing_whitespace)text=text.replace(/^ /,"");trailing_whitespace=!!text.match(/ $/);var text=text.slice(0,max_length);text=$("<div/>").text(text).html();return text}function squeeze(string){return string.replace(/\s+/g," ")}function findNodeForMore(node){var $node=$(node);var last_child=$node.children(":last");if(!last_child)return node;var display=last_child.css("display");if(!display||display=="inline")return $node;return findNodeForMore(last_child)}function findNodeForLess(node){var $node=$(node);var last_child=$node.children(":last");if(last_child&&last_child.is("p"))return last_child;return node}})(jQuery);
|
||||
1
f_scripts/fe/js/min/menu-parse.min.js
vendored
Normal file
1
f_scripts/fe/js/min/menu-parse.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/modernizr.custom.63321.js
vendored
Normal file
1
f_scripts/fe/js/min/modernizr.custom.63321.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/responsive-menu.min.js
vendored
Normal file
1
f_scripts/fe/js/min/responsive-menu.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/select.min.js
vendored
Normal file
1
f_scripts/fe/js/min/select.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var SelectList={fn:{prepare:function(name){var extra_span1="";var extra_span2="";if(name=="ipp_jump"||name=="ipp_select"){var text=name=="ipp_select"?"Items per page":name=="ipp_jump"?"Jump to page":"";extra_span1='<span rel="tooltip" title="'+text+'">';extra_span2="</span>"}var select=$('<div class="select-box" id="select-box-'+name+'"/>');var html='<div class="trigger" id="trigger-'+name+'">'+extra_span1+$("option:selected","select[name='"+name+"']").html()+extra_span2+"</div>";html+='<ul class="choices" id="choices-'+name+'">';$("option","select[name='"+name+"']").each(function(){var $option=$(this);var value=$option.val();var text=$option.html();if($option.is(":selected")){html+='<li data-value="'+value+'" style="display: none;">'+text+"</li>"}else{html+='<li data-value="'+value+'">'+text+"</li>"}});html+="</ul>";select.html(html).insertBefore("select[name='"+name+"']")},showHide:function(name){$("#trigger-"+name,"#select-box-"+name).unbind().bind("click",function(){var $trigger=$(this);var list=$trigger.next();if(list.is(":hidden")){list.slideDown(300,function(){$("#ct-wrapper").bind("click",bodyHideSelect);return})}else{list.slideUp(300,function(){$("#ct-wrapper").unbind("click",bodyHideSelect);return})}})},select:function(name){var $trigger=$("#trigger-"+name);var $select=$("select[name='"+name+"']");var $view=$("#view");$("li","#choices-"+name).on("click",function(){var $li=$(this);var value=$li.html();$("#choices-"+name+" li").show();$("#choices-"+name+" li").each(function(){var text=$(this).text();if(text==value){$(this).hide()}});$trigger.text($("<div/>").html(value).text());$li.parent().slideUp(300,function(){$select.changeVal($li.data("value"));$view.trigger("click")})})}},init:function(name){for(var method in this.fn){this.fn[method](name)}}};$.fn.changeVal=function(v){return $(this).val(v).trigger("change")};function bodyHideSelect(){$("#paging-top .choices").each(function(){if($(this).attr("id")==="choices-ipp_select"&&$(this).css("display")==="block"){$(this).slideUp(300,function(){$("#ct-wrapper").unbind("click",bodyHideSelect);return});return}})}function bodyHideSelect2(){$("#paging-top .choices").each(function(){if($(this).attr("id")==="choices-ipp_select"&&$(this).css("display")==="block"){$(this).slideUp(300,function(){$("#ct-wrapper").unbind("click",bodyHideSelect);return});return}});$(".entry-form-class .choices").each(function(){var choice=$(this);alert(choice.attr("id"));if(choice.attr("id")!==$(this).find(".choices").attr("id")){if($(this).find(".choices").css("display")==="block"){choice.slideUp(300,function(){$("#ct-wrapper").unbind("click",bodyHideSelect);return});return}}})}
|
||||
1
f_scripts/fe/js/min/tinymce.init.min.js
vendored
Normal file
1
f_scripts/fe/js/min/tinymce.init.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
tinymce.init({selector:".h-editable",inline:true,toolbar:"undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent",menubar:false});tinymce.init({selector:".d-editable",menu:{file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},newmenu:{title:"Uploads",items:"insertlive insertvideo insertshort insertimage insertaudio insertdoc"},tools:{title:"View",items:"visualblocks code"}},menubar:"file edit format tools newmenu",inline:true,plugins:["advlist autolink lists link image charmap anchor","searchreplace visualblocks code fullscreen","insertdatetime media table contextmenu paste","textcolor colorpicker"],toolbar:"undo redo | styleselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | outdent indent | bullist numlist | link",setup:function(e){if(typeof lm!="undefined"){e.addMenuItem("insertlive",{text:"Insert Broadcast",icon:"media",context:"newmenu",onclick:function(){url=_u+"&do=insert&t=live";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof vm!="undefined"){e.addMenuItem("insertvideo",{text:"Insert Video",icon:"media",context:"newmenu",onclick:function(){url=_u+"&do=insert&t=video";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof sm!="undefined"){e.addMenuItem("insertshort",{text:"Insert Short",icon:"media",context:"newmenu",onclick:function(){url=_u+"&do=insert&t=short";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof im!="undefined"){e.addMenuItem("insertimage",{text:"Insert Picture",icon:"image",content:"newmenu",onclick:function(){url=_u+"&do=insert&t=image";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof am!="undefined"){e.addMenuItem("insertaudio",{text:"Insert Audio",icon:"media",content:"newmenu",onclick:function(){url=_u+"&do=insert&t=audio";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof dm!="undefined"){e.addMenuItem("insertdoc",{text:"Insert Document",icon:"books",content:"newmenu",onclick:function(){url=_u+"&do=insert&t=doc";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}}});(function(){[].slice.call(document.querySelectorAll(".tabs")).forEach(function(e){new CBPFWTabs(e)})})();function oldSafariCSSfix(){if(isOldSafari()){var e=4;var t=jQuery("#siteContent").width()-32;jQuery("#div-share nav ul li").width(t/e-1).css("float","left");jQuery(".tabs nav").css("width",t+1)}}$(document).ready(function(){$(document).on("click",".tabs ul:not(.fileThumbs) li",function(){if($(this).find("a").attr("href")=="#section-thumb"){$(".save-entry-button").hide()}else{$(".save-entry-button").show()}})});jQuery(window).load(function(){oldSafariCSSfix()});jQuery(window).resize(function(){oldSafariCSSfix()});
|
||||
1
f_scripts/fe/js/min/tip.min.js
vendored
Normal file
1
f_scripts/fe/js/min/tip.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$(document).ready(function(){setTimeout(function(){var animatespeed=0;var targets=$("[rel=tooltip]"),target=false,tooltip=false,title=false;$(document).on({mouseenter:function(e){target=$(this);tip=target.attr("title");tooltip=$('<div class="tooltip"></div>');if(!tip||tip=="")return false;$(".tooltip").detach();target.removeAttr("title");tooltip.css("opacity",0).html(tip).appendTo("body");var init_tooltip=function(){if($(window).width()<tooltip.outerWidth()*1.5)tooltip.css("max-width",$(window).width()/2);else tooltip.css("max-width",340);var pos_left=target.offset().left+target.outerWidth()/2-tooltip.outerWidth()/2,pos_top=target.offset().top-tooltip.outerHeight()-20;if(pos_left<0){pos_left=target.offset().left+target.outerWidth()/2-20;tooltip.addClass("left")}else tooltip.removeClass("left");if(pos_left+tooltip.outerWidth()>$(window).width()){pos_left=target.offset().left-tooltip.outerWidth()+target.outerWidth()/2+20;tooltip.addClass("right")}else tooltip.removeClass("right");if(pos_top<0){var pos_top=target.offset().top+target.outerHeight();tooltip.addClass("top")}else tooltip.removeClass("top");if(target.hasClass("top-notif")){pos_left=pos_left-7}if(target.hasClass("top-upload")){if(typeof $("#top-login-form").html()!="undefined"){pos_left=pos_left-82;pos_top=pos_top+15}else{pos_left=pos_left-(getWidth()<701?23:55)}}tooltip.css({left:pos_left,top:pos_top}).animate({top:"+=10",opacity:1},animatespeed)};init_tooltip();$(window).resize(init_tooltip);var remove_tooltip=function(){tip=tooltip.html();tooltip.animate({top:"-=10",opacity:0},animatespeed,function(){$(this).remove()});target.attr("title",tip)};target.bind("mouseleave",remove_tooltip);tooltip.bind("click",remove_tooltip)}},"[rel=tooltip]")},1e3)});
|
||||
1
f_scripts/fe/js/min/view.init0.min.js
vendored
Normal file
1
f_scripts/fe/js/min/view.init0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
f_scripts/fe/js/min/ytmenu.min.js
vendored
Normal file
1
f_scripts/fe/js/min/ytmenu.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$(document).ready(function(){$("#notifications-box-off").customScrollbar({skin:"default-skin",hScroll:false,updateOnWindowResize:true,preventDefaultScroll:true});$("i.menu-trigger").click(function(){if(!$(".sidebar-container").is(":visible")){$(".sidebar-container").show();$(".inner-block").addClass("with-menu");$("#ct-header-bottom").removeClass("no-menu");$("footer").addClass("with-menu");u="?m=";$(".sidebar-container").customScrollbar({skin:"default-skin",hScroll:false,updateOnWindowResize:true,preventDefaultScroll:true})}else{$(".sidebar-container").hide();$(".inner-block").removeClass("with-menu");$("#ct-header-bottom").addClass("no-menu");$("footer").removeClass("with-menu");u="?n="}if(typeof SizeSetFunctions=="function"){SizeSetFunctions()}else if(typeof dinamicSizeSetFunction_view=="function"){setTimeout(function(){dinamicSizeSetFunction_view()},1)}$(".owl-carousel").each(function(){var $carousel=$(this);var owl=$carousel.data("owlCarousel");owl.onResize()});$("#menu-trigger-response").load(current_url+"home"+u)})});
|
||||
Reference in New Issue
Block a user