__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* JSON editing with syntax highlighted CodeMirror editor
*/
declare(strict_types=1);
namespace PhpMyAdmin\Plugins\Transformations\Input;
use PhpMyAdmin\Plugins\Transformations\Abs\CodeMirrorEditorTransformationPlugin;
use function __;
/**
* JSON editing with syntax highlighted CodeMirror editor
*/
class Text_Plain_JsonEditor extends CodeMirrorEditorTransformationPlugin
{
/**
* Gets the transformation description of the specific plugin
*
* @return string
*/
public static function getInfo()
{
return __('Syntax highlighted CodeMirror editor for JSON.');
}
/**
* Returns the array of scripts (filename) required for plugin
* initialization and handling
*
* @return array javascripts to be included
*/
public function getScripts()
{
$scripts = [];
if ($GLOBALS['cfg']['CodemirrorEnable']) {
$scripts[] = 'vendor/codemirror/lib/codemirror.js';
$scripts[] = 'vendor/codemirror/mode/javascript/javascript.js';
$scripts[] = 'transformations/json_editor.js';
}
return $scripts;
}
/* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
/**
* Gets the transformation name of the specific plugin
*
* @return string
*/
public static function getName()
{
return 'JSON';
}
/**
* Gets the plugin`s MIME type
*
* @return string
*/
public static function getMIMEType()
{
return 'Text';
}
/**
* Gets the plugin`s MIME subtype
*
* @return string
*/
public static function getMIMESubtype()
{
return 'Plain';
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Image_JPEG_Upload.php | File | 744 B | 0644 |
|
| Text_Plain_FileUpload.php | File | 718 B | 0644 |
|
| Text_Plain_Iptobinary.php | File | 3.8 KB | 0644 |
|
| Text_Plain_Iptolong.php | File | 3.55 KB | 0644 |
|
| Text_Plain_JsonEditor.php | File | 1.68 KB | 0644 |
|
| Text_Plain_RegexValidation.php | File | 772 B | 0644 |
|
| Text_Plain_SqlEditor.php | File | 1.66 KB | 0644 |
|
| Text_Plain_XmlEditor.php | File | 1.7 KB | 0644 |
|