summaryrefslogtreecommitdiffstats
path: root/application/libraries/geshi/email.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-06-13 21:27:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-08-16 16:31:28 +0200
commit71273d9477b88cca86e6724491c1ea337ee96f05 (patch)
treeb5b0d73085775d9aacae2871a0d57faa99ea72ca /application/libraries/geshi/email.php
parent789ffb00e6d25af4409d26dce04d211e365f2d58 (diff)
switch to pygments
- faster than geshi - easier to modify the css because there is only one - geshi upstream seems pretty dead Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/geshi/email.php')
-rw-r--r--application/libraries/geshi/email.php210
1 files changed, 0 insertions, 210 deletions
diff --git a/application/libraries/geshi/email.php b/application/libraries/geshi/email.php
deleted file mode 100644
index 68f875499..000000000
--- a/application/libraries/geshi/email.php
+++ /dev/null
@@ -1,210 +0,0 @@
-<?php
-/*************************************************************************************
- * email.php
- * ---------------
- * Author: Benny Baumann (BenBE@geshi.org)
- * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
- * Release Version: 1.0.8.10
- * Date Started: 2008/10/19
- *
- * Email (mbox \ eml \ RFC format) language file for GeSHi.
- *
- * CHANGES
- * -------
- * 2008/10/19 (1.0.8.1)
- * - First Release
- *
- * TODO (updated 2008/10/19)
- * -------------------------
- * * Better checks when a header field should be expected
- * * Fix the bound checks for kw groups 2 and 3, as well as rx group 1
- *
- *************************************************************************************
- *
- * This file is part of GeSHi.
- *
- * GeSHi 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 2 of the License, or
- * (at your option) any later version.
- *
- * GeSHi 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 GeSHi; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- ************************************************************************************/
-
-$language_data = array (
- 'LANG_NAME' => 'eMail (mbox)',
- 'COMMENT_SINGLE' => array(),
- 'COMMENT_MULTI' => array(),
- 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array('"'),
- 'ESCAPE_CHAR' => '',
- 'KEYWORDS' => array(
- 1 => array(
- 'HTTP', 'SMTP', 'ASMTP', 'ESMTP'
- ),
- 2 => array(
- 'Authentication-Results','Comment','Content-Description','Content-Type',
- 'Content-Disposition','Content-Transfer-Encoding','Delivered-To',
- 'Dkim-Signature','Domainkey-Signature','In-Reply-To','Message-Id',
- 'MIME-Version','OpenPGP','Received','Received-SPF','References',
- 'Reply-To', 'Resend-From','Resend-To','Return-Path','User-Agent'
- ),
- 3 => array(
- 'Date','From','Sender','Subject','To','CC'
- ),
- 4 => array(
- 'by', 'for', 'from', 'id', 'with'
- )
- ),
- 'SYMBOLS' => array(
- ':', ';', '<', '>', '[', ']'
- ),
- 'CASE_SENSITIVE' => array(
- GESHI_COMMENTS => false,
- 1 => true,
- 2 => false,
- 3 => false,
- 4 => true
- ),
- 'STYLES' => array(
- 'KEYWORDS' => array(
- 1 => 'color: #0000FF; font-weight: bold;',
- 2 => 'color: #000000; font-weight: bold;',
- 3 => 'color: #800000; font-weight: bold;',
- 4 => 'font-weight: bold;',
- ),
- 'COMMENTS' => array(
- ),
- 'ESCAPE_CHAR' => array(
- 0 => 'color: #000099; font-weight: bold;'
- ),
- 'BRACKETS' => array(
- 0 => 'color: #66cc66;'
- ),
- 'STRINGS' => array(
- 0 => 'color: #ff0000;'
- ),
- 'NUMBERS' => array(
- 0 => 'color: #cc66cc;'
- ),
- 'METHODS' => array(
- ),
- 'SYMBOLS' => array(
- 0 => 'color: #66cc66;'
- ),
- 'SCRIPT' => array(
- 0 => 'color: #000040;',
- ),
- 'REGEXPS' => array(
- 1 => 'color: #000000; font-weight: bold;',
- 2 => 'color: #0000FF;',
- 3 => 'color: #008000;',
- 4 => 'color: #0000FF; font-weight: bold;',
- 5 => 'font-weight: bold;',
- 6 => 'color: #400080;'
- )
- ),
- 'URLS' => array(
- 1 => '',
- 2 => '',
- 3 => '',
- 4 => ''
- ),
- 'OOLANG' => false,
- 'OBJECT_SPLITTERS' => array(
- ),
- 'REGEXPS' => array(
- // Non-Standard-Header
- 1 => array(
- GESHI_SEARCH => "(?<=\A\x20|\n)x-[a-z0-9\-]*(?=\s*:|\s*<)",
- GESHI_REPLACE => "\\0",
- GESHI_MODIFIERS => "smi",
- GESHI_BEFORE => "",
- GESHI_AFTER => ""
- ),
- //Email-Adresses or Mail-IDs
- 2 => array(
- GESHI_SEARCH => "\b(?<!\\/)(?P<q>\"?)[\w\.\-]+\k<q>@(?!-)[\w\-]+(?<!-)(?:(?:\.(?!-)[\w\-]+(?<!-))*)?",
- GESHI_REPLACE => "\\0",
- GESHI_MODIFIERS => "mi",
- GESHI_BEFORE => "",
- GESHI_AFTER => ""
- ),
- //Date values in RFC format
- 3 => array(
- GESHI_SEARCH => "\b(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s+\d\d?\s+" .
- "(?:Jan|Feb|Mar|apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+" .
- "\d{4}\s+\d\d?:\d\d:\d\d\s+[+\-]\d{4}(?:\s+\(\w+\))?",
- GESHI_REPLACE => "\\0",
- GESHI_MODIFIERS => "mi",
- GESHI_BEFORE => "",
- GESHI_AFTER => ""
- ),
- //IP addresses
- 4 => array(
- GESHI_SEARCH => "(?<=\s)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\s)|".
- "(?<=\[)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\])|".
- "(?<==)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=<)",
- GESHI_REPLACE => "\\0",
- GESHI_MODIFIERS => "i",
- GESHI_BEFORE => "",
- GESHI_AFTER => ""
- ),
- //Field-Assignments
- 5 => array(
- GESHI_SEARCH => "(?<=\s)[A-Z0-9\-\.]+(?==(?:$|\s$|[^\s=]))",
- GESHI_REPLACE => "\\0",
- GESHI_MODIFIERS => "mi",
- GESHI_BEFORE => "",
- GESHI_AFTER => ""
- ),
- //MIME type
- 6 => array(
- GESHI_SEARCH => "(?<=\s)(?:audio|application|image|multipart|text|".
- "video|x-[a-z0-9\-]+)\/[a-z0-9][a-z0-9\-]*(?=\s|<|$)",
- GESHI_REPLACE => "\\0",
- GESHI_MODIFIERS => "m",
- GESHI_BEFORE => "",
- GESHI_AFTER => ""
- )
- ),
- 'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
- 'SCRIPT_DELIMITERS' => array(
- 0 => "/(?P<start>^)[A-Za-z][a-zA-Z0-9\-]*\s*:\s*(?:.|(?=\n\s)\n)*(?P<end>$)/m"
- ),
- 'HIGHLIGHT_STRICT_BLOCK' => array(
- 0 => true,
- ),
- 'TAB_WIDTH' => 4,
- 'PARSER_CONTROL' => array(
- 'KEYWORDS' => array(
- 2 => array(
- 'DISALLOWED_BEFORE' => '(?<=\A\x20|\n)',
- 'DISALLOWED_AFTER' => '(?=\s*:)',
- ),
- 3 => array(
- 'DISALLOWED_BEFORE' => '(?<=\A\x20|\n)',
- 'DISALLOWED_AFTER' => '(?=\s*:)',
- ),
- 4 => array(
- 'DISALLOWED_BEFORE' => '(?<=\s)',
- 'DISALLOWED_AFTER' => '(?=\s|\b)',
- )
- ),
- 'ENABLE_FLAGS' => array(
- 'BRACKETS' => GESHI_NEVER,
- 'COMMENTS' => GESHI_NEVER,
- 'NUMBERS' => GESHI_NEVER
- )
- )
-);
-
-?> \ No newline at end of file