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 | : 13.58.77.244
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 /
node /
[ HOME SHELL ]
Name
Size
Permission
Action
tests
[ DIR ]
drwxr-xr-x
content_types.inc
15.18
KB
-rw-r--r--
content_types.js
1.18
KB
-rw-r--r--
node.admin.inc
23.16
KB
-rw-r--r--
node.api.php
48.64
KB
-rw-r--r--
node.css
144
B
-rw-r--r--
node.info
387
B
-rw-r--r--
node.install
30.04
KB
-rw-r--r--
node.js
1.57
KB
-rw-r--r--
node.module
135.91
KB
-rw-r--r--
node.pages.inc
24.03
KB
-rw-r--r--
node.test
112.28
KB
-rw-r--r--
node.tokens.inc
6.59
KB
-rw-r--r--
node.tpl.php
4.84
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : node.tokens.inc
<?php /** * @file * Builds placeholder replacement tokens for node-related data. */ /** * Implements hook_token_info(). */ function node_token_info() { $type = array( 'name' => t('Nodes'), 'description' => t('Tokens related to individual content items, or "nodes".'), 'needs-data' => 'node', ); // Core tokens for nodes. $node['nid'] = array( 'name' => t("Content ID"), 'description' => t('The unique ID of the content item, or "node".'), ); $node['vid'] = array( 'name' => t("Revision ID"), 'description' => t("The unique ID of the node's latest revision."), ); $node['tnid'] = array( 'name' => t("Translation set ID"), 'description' => t("The unique ID of the original-language version of this node, if one exists."), ); $node['type'] = array( 'name' => t("Content type"), 'description' => t("The type of the node."), ); $node['type-name'] = array( 'name' => t("Content type name"), 'description' => t("The human-readable name of the node type."), ); $node['title'] = array( 'name' => t("Title"), 'description' => t("The title of the node."), ); $node['body'] = array( 'name' => t("Body"), 'description' => t("The main body text of the node."), ); $node['summary'] = array( 'name' => t("Summary"), 'description' => t("The summary of the node's main body text."), ); $node['language'] = array( 'name' => t("Language"), 'description' => t("The language the node is written in."), ); $node['url'] = array( 'name' => t("URL"), 'description' => t("The URL of the node."), ); $node['edit-url'] = array( 'name' => t("Edit URL"), 'description' => t("The URL of the node's edit page."), ); // Chained tokens for nodes. $node['created'] = array( 'name' => t("Date created"), 'description' => t("The date the node was posted."), 'type' => 'date', ); $node['changed'] = array( 'name' => t("Date changed"), 'description' => t("The date the node was most recently updated."), 'type' => 'date', ); $node['author'] = array( 'name' => t("Author"), 'description' => t("The author of the node."), 'type' => 'user', ); return array( 'types' => array('node' => $type), 'tokens' => array('node' => $node), ); } /** * Implements hook_tokens(). */ function node_tokens($type, $tokens, array $data = array(), array $options = array()) { $url_options = array('absolute' => TRUE); if (isset($options['language'])) { $url_options['language'] = $options['language']; $language_code = $options['language']->language; } else { $language_code = NULL; } $sanitize = !empty($options['sanitize']); $replacements = array(); if ($type == 'node' && !empty($data['node'])) { $node = $data['node']; foreach ($tokens as $name => $original) { switch ($name) { // Simple key values on the node. case 'nid': $replacements[$original] = $node->nid; break; case 'vid': $replacements[$original] = $node->vid; break; case 'tnid': $replacements[$original] = $node->tnid; break; case 'type': $replacements[$original] = $sanitize ? check_plain($node->type) : $node->type; break; case 'type-name': $type_name = node_type_get_name($node); $replacements[$original] = $sanitize ? check_plain($type_name) : $type_name; break; case 'title': $replacements[$original] = $sanitize ? check_plain($node->title) : $node->title; break; case 'body': case 'summary': if ($items = field_get_items('node', $node, 'body', $language_code)) { $instance = field_info_instance('node', 'body', $node->type); $field_langcode = field_language('node', $node, 'body', $language_code); // If the summary was requested and is not empty, use it. if ($name == 'summary' && !empty($items[0]['summary'])) { $output = $sanitize ? _text_sanitize($instance, $field_langcode, $items[0], 'summary') : $items[0]['summary']; } // Attempt to provide a suitable version of the 'body' field. else { $output = $sanitize ? _text_sanitize($instance, $field_langcode, $items[0], 'value') : $items[0]['value']; // A summary was requested. if ($name == 'summary') { if (isset($instance['display']['teaser']['settings']['trim_length'])) { $trim_length = $instance['display']['teaser']['settings']['trim_length']; } else { // Use default value. $trim_length = NULL; } // Generate an optionally trimmed summary of the body field. $output = text_summary($output, $instance['settings']['text_processing'] ? $items[0]['format'] : NULL, $trim_length); } } $replacements[$original] = $output; } break; case 'language': $langcode = entity_language('node', $node); $replacements[$original] = $sanitize ? check_plain($langcode) : $langcode; break; case 'url': $replacements[$original] = url('node/' . $node->nid, $url_options); break; case 'edit-url': $replacements[$original] = url('node/' . $node->nid . '/edit', $url_options); break; // Default values for the chained tokens handled below. case 'author': $account = user_load($node->uid); $name = format_username($account); $replacements[$original] = $sanitize ? check_plain($name) : $name; break; case 'created': $replacements[$original] = format_date($node->created, 'medium', '', NULL, $language_code); break; case 'changed': $replacements[$original] = format_date($node->changed, 'medium', '', NULL, $language_code); break; } } if ($author_tokens = token_find_with_prefix($tokens, 'author')) { $author = user_load($node->uid); $replacements += token_generate('user', $author_tokens, array('user' => $author), $options); } if ($created_tokens = token_find_with_prefix($tokens, 'created')) { $replacements += token_generate('date', $created_tokens, array('date' => $node->created), $options); } if ($changed_tokens = token_find_with_prefix($tokens, 'changed')) { $replacements += token_generate('date', $changed_tokens, array('date' => $node->changed), $options); } } return $replacements; }
Close