From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../Output/Application_Octetstream_Download.php | 43 --------- .../Output/Application_Octetstream_Hex.php | 43 --------- .../Transformations/Output/Image_JPEG_Inline.php | 43 --------- .../Transformations/Output/Image_JPEG_Link.php | 43 --------- .../Transformations/Output/Image_PNG_Inline.php | 43 --------- .../Output/Text_Octetstream_Sql.php | 43 --------- .../Output/Text_Plain_Binarytoip.php | 97 -------------------- .../Output/Text_Plain_Bool2Text.php | 45 --------- .../Output/Text_Plain_Dateformat.php | 43 --------- .../Transformations/Output/Text_Plain_External.php | 43 --------- .../Output/Text_Plain_Formatted.php | 43 --------- .../Output/Text_Plain_Imagelink.php | 43 --------- .../Transformations/Output/Text_Plain_Json.php | 101 --------------------- .../Transformations/Output/Text_Plain_Sql.php | 60 ------------ .../Transformations/Output/Text_Plain_Xml.php | 101 --------------------- 15 files changed, 834 deletions(-) delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Application_Octetstream_Download.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Application_Octetstream_Hex.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Image_JPEG_Inline.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Image_JPEG_Link.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Image_PNG_Inline.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Octetstream_Sql.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Binarytoip.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Bool2Text.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Dateformat.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_External.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Formatted.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Imagelink.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Json.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Sql.php delete mode 100644 srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Xml.php (limited to 'srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output') diff --git a/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Application_Octetstream_Download.php b/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Application_Octetstream_Download.php deleted file mode 100644 index 2c0795f..0000000 --- a/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Application_Octetstream_Download.php +++ /dev/null @@ -1,43 +0,0 @@ -getHeader() - ->getScripts(); - $scripts->addFile('vendor/codemirror/lib/codemirror.js'); - $scripts->addFile('vendor/codemirror/mode/javascript/javascript.js'); - $scripts->addFile('vendor/codemirror/addon/runmode/runmode.js'); - $scripts->addFile('transformations/json.js'); - } - } - - /** - * Gets the transformation description of the specific plugin - * - * @return string - */ - public static function getInfo() - { - return __( - 'Formats text as JSON with syntax highlighting.' - ); - } - - /** - * Does the actual work of each specific transformations plugin. - * - * @param string $buffer text to be transformed - * @param array $options transformation options - * @param stdClass|null $meta meta information - * - * @return string - */ - public function applyTransformation($buffer, array $options = [], ?stdClass $meta = null) - { - return '
' . "\n"
-        . htmlspecialchars($buffer) . "\n"
-        . '
'; - } - - /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ - - /** - * 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"; - } - - /** - * Gets the transformation name of the specific plugin - * - * @return string - */ - public static function getName() - { - return "JSON"; - } -} diff --git a/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Sql.php b/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Sql.php deleted file mode 100644 index 2c39e03..0000000 --- a/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Sql.php +++ /dev/null @@ -1,60 +0,0 @@ -getHeader() - ->getScripts(); - $scripts->addFile('vendor/codemirror/lib/codemirror.js'); - $scripts->addFile('vendor/codemirror/mode/sql/sql.js'); - $scripts->addFile('vendor/codemirror/addon/runmode/runmode.js'); - $scripts->addFile('functions.js'); - } - } - - /** - * 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"; - } -} diff --git a/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Xml.php b/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Xml.php deleted file mode 100644 index fc06744..0000000 --- a/srcs/phpmyadmin/libraries/classes/Plugins/Transformations/Output/Text_Plain_Xml.php +++ /dev/null @@ -1,101 +0,0 @@ -getHeader() - ->getScripts(); - $scripts->addFile('vendor/codemirror/lib/codemirror.js'); - $scripts->addFile('vendor/codemirror/mode/xml/xml.js'); - $scripts->addFile('vendor/codemirror/addon/runmode/runmode.js'); - $scripts->addFile('transformations/xml.js'); - } - } - - /** - * Gets the transformation description of the specific plugin - * - * @return string - */ - public static function getInfo() - { - return __( - 'Formats text as XML with syntax highlighting.' - ); - } - - /** - * Does the actual work of each specific transformations plugin. - * - * @param string $buffer text to be transformed - * @param array $options transformation options - * @param stdClass|null $meta meta information - * - * @return string - */ - public function applyTransformation($buffer, array $options = [], ?stdClass $meta = null) - { - return '
' . "\n"
-        . htmlspecialchars($buffer) . "\n"
-        . '
'; - } - - /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ - - /** - * 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"; - } - - /** - * Gets the transformation name of the specific plugin - * - * @return string - */ - public static function getName() - { - return "XML"; - } -} -- cgit