CMD:
PHP:
mini manager
Path:
/
var
/
www
/
forum.shootsilhouette.com
/
public_html
/
js
/
Upload:
Edit: module-calendar.js
/* =======================================================================*\ || ###################################################################### || || # vBulletin 5.6.9 || # ------------------------------------------------------------------ # || || # Copyright 2000-2022 MH Sub I, LLC dba vBulletin. All Rights Reserved. # || || # This file may not be redistributed in whole or significant part. # || || # ----------------- VBULLETIN IS NOT FREE SOFTWARE ----------------- # || || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || || ###################################################################### || \*========================================================================*/ vBulletin.precache("january february march april may june july august september october november december january_short february_short march_short april_short may_short june_short july_short august_short september_short october_short november_short december_short sunday monday tuesday wednesday thursday friday saturday sunday_short monday_short tuesday_short wednesday_short thursday_short friday_short saturday_short today calendar_plus_n_more".split(" "),[]); (function(d){function l(a){function n(a){var f=[],c=a.find(".js-calendar__events-event");c.length&&(d(".js-calendar__event-highlight-css").length||a.find(".js-calendar__event-highlight-css").appendTo("head"),d.each(c,function(a,c){a=d(c);var g=a.data("ignoredst")?p:q;c=a.data("eventstartdate")&&a.data("eventstartdate")+g||0;g=a.data("eventenddate")&&a.data("eventenddate")+g||0;var b=a.data("eventhighlightid");a={id:a.data("id"),title:a.data("title"),start:moment.unix(c),url:a.data("url")};b&&(a.className= "vbfc-event-highlight-"+b);g?a.end=moment.unix(g):a.allDay=!0;f.push(a)}));return f}function h(a){var c=500>=a.outerWidth()?"auto":"";return m!==c?(a.fullCalendar("option","contentHeight",c),a.fullCalendar("option","height",c),m=c,!0):!1}if("1"!=a.data("vb-calendar-initialized")){var l=a.find(".js-calendar-loading-placeholder");a.data("widget-instance-id");var e=parseInt(a.data("goto-month"),10)||0,q=parseInt(a.data("user-timezone-offset"),10)||0,p=parseInt(a.data("user-timezone-offset-ignore-dst"), 10)||0,k,r=vBulletin.isRtl(),m=null;a.fullCalendar({events:function(c,b,e,h){var f=[];c={from:c.unix()||0,to:b.unix()||0};b=a.data("search-json");e=a.data("results-per-page");vBulletin.AJAX({call:"/ajax/render/widget_calendar__events",data:{searchJSON:b,events_during:c,resultsPerPage:e},success:function(a){a=d(a);a=a.hasClass("js-calendar__events")&&a||a.find(".js-calendar__events");f=n(a);h(f)},complete:function(){}})},loading:function(c,b){"undefined"==typeof k&&(k=d('<img src="images/loader-box-blue.gif" /> ').appendTo(a.find(".fc-center"))); c?k.show():k.hide()},eventLimit:!0,viewRender:function(a,b){l.addClass("h-hide")},windowResize:function(){h(a)&&a.fullCalendar("render")},isRTL:r,timezone:"UTC",buttonText:b.buttonText,monthNames:b.monthNames,monthNamesShort:b.monthNamesShort,dayNames:b.dayNames,dayNamesShort:b.dayNamesShort,eventLimitText:b.eventLimitText,firstDay:(parseInt(pageData.user_startofweek,10)||1)-1});h(a);e&&1<=e&&12>=e&&(e=moment().month(e-1).date(1),a.fullCalendar("gotoDate",e));a.addClass("js-parent-tab-render-listener"); a.on("parent-tab-render",function(b){a.fullCalendar("render")});a.on("mouseenter","a.fc-event:not(.fc-start.fc-end)",function(b){b=d(this).attr("href");var c=a.find("a.fc-event:not(.fc-start.fc-end)[href='"+b+"']");c&&(c.addClass("fc-event--simulate-hover"),d(this).one("mouseleave",function(){c.removeClass("fc-event--simulate-hover")}))});a.attr("vb-calendar-initialized","1")}}var b;(function(){if("undefined"==typeof b){b={};var a={monthNames:"january february march april may june july august september october november december".split(" "), monthNamesShort:"january_short february_short march_short april_short may_short june_short july_short august_short september_short october_short november_short december_short".split(" "),dayNames:"sunday monday tuesday wednesday thursday friday saturday".split(" "),dayNamesShort:"sunday_short monday_short tuesday_short wednesday_short thursday_short friday_short saturday_short".split(" ")};for(optionName in a)b[optionName]=[],a[optionName].forEach(function(a,d){b[optionName].push(vBulletin.phrase.get(a))}); b.buttonText={today:vBulletin.phrase.get("today")};b.eventLimitText=function(a){return vBulletin.phrase.get("calendar_plus_n_more",parseInt(a,10))}}})();d(function(){var a=d(".js-widget-calendar");a.length&&d.each(a,function(a,b){l(d(b))})})})(jQuery);
[ Kembali ]
© 2026 mini manager