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.14.239
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 /
[ HOME SHELL ]
Name
Size
Permission
Action
css
[ DIR ]
drwxr-xr-x
drush
[ DIR ]
drwxr-xr-x
handlers
[ DIR ]
drwxr-xr-x
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
theme
[ DIR ]
drwxr-xr-x
views_export
[ DIR ]
drwxr-xr-x
D7UPGRADE.txt
131
B
-rw-r--r--
LICENSE.txt
17.67
KB
-rw-r--r--
README.txt
723
B
-rw-r--r--
documentation-standards.txt
256
B
-rw-r--r--
views.api.php
46.08
KB
-rw-r--r--
views.info
17.32
KB
-rw-r--r--
views.install
19.9
KB
-rw-r--r--
views.module
81.09
KB
-rw-r--r--
views.tokens.inc
2.57
KB
-rw-r--r--
views_ui.info
446
B
-rw-r--r--
views_ui.module
27.95
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : views.tokens.inc
<?php /** * @file * Token integration for the views module. */ /** * Implements hook_token_info(). */ function views_token_info() { $info['types']['view'] = array( 'name' => t('View'), 'description' => t('Tokens related to views.'), 'needs-data' => 'view', ); $info['tokens']['view']['name'] = array( 'name' => t('Name'), 'description' => t('The human-readable name of the view.'), ); $info['tokens']['view']['description'] = array( 'name' => t('Description'), 'description' => t('The description of the view.'), ); $info['tokens']['view']['machine-name'] = array( 'name' => t('Machine name'), 'description' => t('The machine-readable name of the view.'), ); $info['tokens']['view']['title'] = array( 'name' => t('Title'), 'description' => t('The title of current display of the view.'), ); $info['tokens']['view']['url'] = array( 'name' => t('URL'), 'description' => t('The URL of the view.'), 'type' => 'url', ); return $info; } /** * Implements hook_tokens(). */ function views_tokens($type, $tokens, array $data = array(), array $options = array()) { $url_options = array('absolute' => TRUE); if (isset($options['language'])) { $url_options['language'] = $options['language']; } $sanitize = !empty($options['sanitize']); $langcode = isset($options['language']) ? $options['language']->language : NULL; $replacements = array(); if ($type == 'view' && !empty($data['view'])) { $view = $data['view']; foreach ($tokens as $name => $original) { switch ($name) { case 'name': $replacements[$original] = $sanitize ? check_plain($view->human_name) : $view->human_name; break; case 'description': $replacements[$original] = $sanitize ? check_plain($view->description) : $view->description; break; case 'machine-name': $replacements[$original] = $view->name; break; case 'title': $title = $view->get_title(); $replacements[$original] = $sanitize ? check_plain($title) : $title; break; case 'url': if ($path = $view->get_url()) { $replacements[$original] = url($path, $url_options); } break; } } // [view:url:*] nested tokens. This only works if Token module is installed. if ($url_tokens = token_find_with_prefix($tokens, 'url')) { if ($path = $view->get_url()) { $replacements += token_generate('url', $url_tokens, array('path' => $path), $options); } } } return $replacements; }
Close