Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@novell.com>2011-06-02 17:07:57 +0400
committerMichal Čihař <mcihar@novell.com>2011-06-02 17:07:57 +0400
commit3cb40926c04f11342b4f1f2a0ebccd1bd143e9bf (patch)
treed642d3ce1a2e1929761cd6c7fa2992c329320393 /js/codemirror
parent796b81ac995182386ddcc86d872114bccdb569c6 (diff)
Remove other not needed files
Diffstat (limited to 'js/codemirror')
-rw-r--r--js/codemirror/mode/mysql/index.html68
-rw-r--r--js/codemirror/mode/mysql/mysql.css33
2 files changed, 0 insertions, 101 deletions
diff --git a/js/codemirror/mode/mysql/index.html b/js/codemirror/mode/mysql/index.html
deleted file mode 100644
index c9bb251f66..0000000000
--- a/js/codemirror/mode/mysql/index.html
+++ /dev/null
@@ -1,68 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>CodeMirror 2: MySQL mode</title>
- <link rel="stylesheet" href="../../lib/codemirror.css">
- <script src="../../lib/codemirror.js"></script>
- <script src="mysql.js"></script>
- <link rel="stylesheet" href="mysql.css">
- <link rel="stylesheet" href="../../css/docs.css">
- <style>.CodeMirror {border: 2px inset #dee;}</style>
- </head>
- <body>
- <h1>CodeMirror 2: MySQL mode</h1>
-
-<form><textarea id="code" name="code">
--- MySQL Code Demo
-/*
- based on PL/SQL, addapted to MySQL by Michal Cihar ( http://cihar.com/ )
- June 2011
-*/
-
-CREATE FUNCTION inventory_in_stock(p_inventory_id INT) RETURNS BOOLEAN
-READS SQL DATA
-BEGIN
- DECLARE v_rentals INT;
- DECLARE v_out INT;
-
- #AN ITEM IS IN-STOCK IF THERE ARE EITHER NO ROWS IN THE rental TABLE
- #FOR THE ITEM OR ALL ROWS HAVE return_date POPULATED
-
- SELECT COUNT(*) INTO v_rentals
- FROM rental
- WHERE inventory_id = p_inventory_id;
-
- IF v_rentals = 0 THEN
- RETURN TRUE;
- END IF;
-
- SELECT COUNT(rental_id) INTO v_out
- FROM inventory LEFT JOIN rental USING(inventory_id)
- WHERE inventory.inventory_id = p_inventory_id
- AND rental.return_date IS NULL;
-
- IF v_out > 0 THEN
- RETURN FALSE;
- ELSE
- RETURN TRUE;
- END IF;
-END
---
-</textarea></form>
-
- <script>
- var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
- lineNumbers: true,
- matchBrackets: true,
- indentUnit: 4,
- mode: "text/x-mysql"
- });
- </script>
-
- <p>
- Simple mode that handles MySQL language.
- </p>
-
- <p><strong>MIME type defined:</strong> <code>text/x-mysql</code>
- (MySQL code)
-</html>
diff --git a/js/codemirror/mode/mysql/mysql.css b/js/codemirror/mode/mysql/mysql.css
deleted file mode 100644
index a03411a4a3..0000000000
--- a/js/codemirror/mode/mysql/mysql.css
+++ /dev/null
@@ -1,33 +0,0 @@
-span.mysql-keyword {
- color: blue;
-}
-span.mysql-var {
- color: red;
-}
-span.mysql-comment {
- color: #AA7700;
-}
-span.mysql-string {
- color: green;
-}
-span.mysql-operator {
- color: blue;
-}
-span.mysql-word {
- color: black;
-}
-span.mysql-function {
- color: darkorange;
-}
-span.mysql-sqlplus {
- color: darkorange;
-}
-span.mysql-type {
- color: purple;
-}
-span.mysql-separator {
- color: #666666;
-}
-span.mysql-number {
- color: darkcyan;
-}