summaryrefslogtreecommitdiff
path: root/includes/pear/Text/Wiki/Render
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 19:51:04 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 19:51:04 +0100
commitd4849913844837844413c9c225b1907a939d750f (patch)
tree03b548f1d93edf8d2ce6b65668abe0fc055ce8f4 /includes/pear/Text/Wiki/Render
parent6ec6589085fb0897060e701249849b60b95ab4cb (diff)
downloadutil-d4849913844837844413c9c225b1907a939d750f.tar.gz
util-d4849913844837844413c9c225b1907a939d750f.tar.bz2
util-d4849913844837844413c9c225b1907a939d750f.zip
Remove libraries that are no longer used in the existing code base
Diffstat (limited to 'includes/pear/Text/Wiki/Render')
-rw-r--r--includes/pear/Text/Wiki/Render/Creole.php16
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Address.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Anchor.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Blockquote.php47
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Bold.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Box.php30
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Break.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Center.php30
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Code.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Colortext.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Deflist.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Delimiter.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Embed.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Emphasis.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Freelink.php9
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Function.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Heading.php16
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Horiz.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Html.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Image.php26
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Include.php16
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Interwiki.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Italic.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/List.php53
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Newline.php12
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Paragraph.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Phplookup.php25
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Prefilter.php10
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Preformatted.php27
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Raw.php33
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Revise.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Strong.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Subscript.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Superscript.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Table.php70
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Tighten.php10
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Toc.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Tt.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Underline.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Url.php40
-rw-r--r--includes/pear/Text/Wiki/Render/Creole/Wikilink.php43
-rw-r--r--includes/pear/Text/Wiki/Render/Latex.php90
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Anchor.php33
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Blockquote.php36
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Bold.php28
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Box.php54
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Break.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Center.php33
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Code.php26
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Colortext.php58
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Deflist.php53
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Delimiter.php25
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Embed.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Emphasis.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Font.php73
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Freelink.php6
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Function.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Heading.php33
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Horiz.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Html.php25
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Image.php70
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Include.php8
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Interwiki.php58
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Italic.php28
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/List.php76
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Newline.php12
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Page.php48
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Paragraph.php31
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Phplookup.php34
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Plugin.php49
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Prefilter.php56
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Preformatted.php48
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Raw.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Revise.php38
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Smiley.php44
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Specialchar.php54
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Strong.php30
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Subscript.php54
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Superscript.php31
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Table.php99
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Tighten.php9
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Titlebar.php54
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Toc.php30
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Tt.php30
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Underline.php30
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Url.php41
-rw-r--r--includes/pear/Text/Wiki/Render/Latex/Wikilink.php60
-rw-r--r--includes/pear/Text/Wiki/Render/Plain.php16
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Anchor.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Blockquote.php39
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Bold.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Box.php48
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Break.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Center.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Code.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Colortext.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Deflist.php59
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Delimiter.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Embed.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Emphasis.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Font.php44
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Freelink.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Function.php39
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Heading.php14
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Horiz.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Html.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Image.php22
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Include.php8
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Interwiki.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Italic.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/List.php68
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Newline.php12
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Page.php48
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Paragraph.php31
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Phplookup.php25
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Plugin.php49
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Prefilter.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Preformatted.php48
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Raw.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Revise.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Smiley.php44
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Specialchar.php54
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Strong.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Subscript.php48
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Superscript.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Table.php65
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Tighten.php10
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Titlebar.php54
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Toc.php39
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Tt.php24
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Underline.php23
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Url.php29
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Wikilink.php24
133 files changed, 0 insertions, 4340 deletions
diff --git a/includes/pear/Text/Wiki/Render/Creole.php b/includes/pear/Text/Wiki/Render/Creole.php
deleted file mode 100644
index 4eb9a5e..0000000
--- a/includes/pear/Text/Wiki/Render/Creole.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole extends Text_Wiki_Render {
-
- function pre()
- {
- return;
- }
-
- function post()
- {
- return;
- }
-
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Address.php b/includes/pear/Text/Wiki/Render/Creole/Address.php
deleted file mode 100644
index 21726a6..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Address.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Address extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return "-- ";
- }
-
- if ($options['type'] == 'end') {
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Anchor.php b/includes/pear/Text/Wiki/Render/Creole/Anchor.php
deleted file mode 100644
index 59dd668..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Anchor.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-/**
-*
-* This class renders an anchor target name in Creole.
-*
-* @author Manuel Holtgrewe <purestorm at ggnore dot net>
-*
-* @author Paul M. Jones <pmjones at ciaweb dot net>
-*
-* @package Text_Wiki
-*
-*/
-
-class Text_Wiki_Render_Creole_Anchor extends Text_Wiki_Render {
-
- function token($options)
- {
- return '';
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Blockquote.php b/includes/pear/Text/Wiki/Render/Creole/Blockquote.php
deleted file mode 100644
index f6a3f06..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Blockquote.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Blockquote extends Text_Wiki_Render {
-
- var $css_stack = array();
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // starting
- if ($options['type'] == 'start') {
- if (empty($options['css'])) $options['css'] = '';
- array_push($this->css_stack, $options['css']);
- $this->wiki->registerRenderCallback(array(&$this, 'renderInsideText'));
- return '';
- }
- // ending
- if ($options['type'] == 'end') {
- $this->wiki->popRenderCallback();
- return '';
- }
- }
-
- function renderInsideText($text) {
- $text = trim($text);
- if (array_pop($this->css_stack) == 'remark') {
- $text = preg_replace('/(^|\n)([\>\:]*) */', '\1:\2 ', $text);
- }
- else {
- $text = preg_replace('/(^|\n)([\>\:]*) */', '\1>\2 ', $text);
- }
- return $text . "\n\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Bold.php b/includes/pear/Text/Wiki/Render/Creole/Bold.php
deleted file mode 100644
index fac63c9..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Bold.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Bold extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '**';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Box.php b/includes/pear/Text/Wiki/Render/Creole/Box.php
deleted file mode 100644
index c977c25..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Box.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-//There is no box rule for Creole, so use a simple table
-class Text_Wiki_Render_Creole_Box extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return "|| ";
- }
-
- if ($options['type'] == 'end') {
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Break.php b/includes/pear/Text/Wiki/Render/Creole/Break.php
deleted file mode 100644
index 375d53a..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Break.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Break extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\\\\";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Center.php b/includes/pear/Text/Wiki/Render/Creole/Center.php
deleted file mode 100644
index bed9c5e..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Center.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-//There is no center rule for Creole, so use a simple table
-class Text_Wiki_Render_Creole_Center extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return "| ";
- }
-
- if ($options['type'] == 'end') {
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Code.php b/includes/pear/Text/Wiki/Render/Creole/Code.php
deleted file mode 100644
index a31bea5..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Code.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Code extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "{{{\n" . $options['text'] . "\n}}}\n\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Colortext.php b/includes/pear/Text/Wiki/Render/Creole/Colortext.php
deleted file mode 100644
index 19091c6..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Colortext.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Colortext extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Deflist.php b/includes/pear/Text/Wiki/Render/Creole/Deflist.php
deleted file mode 100644
index 05f47d0..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Deflist.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Deflist extends Text_Wiki_Render {
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\n";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Delimiter.php b/includes/pear/Text/Wiki/Render/Creole/Delimiter.php
deleted file mode 100644
index 900448c..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Delimiter.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Delimiter extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return $options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Embed.php b/includes/pear/Text/Wiki/Render/Creole/Embed.php
deleted file mode 100644
index dcf2cc1..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Embed.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Embed extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return "{{";
- }
-
- if ($options['type'] == 'end') {
- return "}}";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Emphasis.php b/includes/pear/Text/Wiki/Render/Creole/Emphasis.php
deleted file mode 100644
index ddc9237..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Emphasis.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Emphasis extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '//';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Freelink.php b/includes/pear/Text/Wiki/Render/Creole/Freelink.php
deleted file mode 100644
index 0439ac5..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Freelink.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-require_once 'Text/Wiki/Render/Creole/Wikilink.php';
-
-class Text_Wiki_Render_Creole_Freelink extends Text_Wiki_Render_Creole_Wikilink {
- // renders identically to wikilinks, only the parsing is different :-)
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Function.php b/includes/pear/Text/Wiki/Render/Creole/Function.php
deleted file mode 100644
index 0f07917..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Function.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Function extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Heading.php b/includes/pear/Text/Wiki/Render/Creole/Heading.php
deleted file mode 100644
index 94ebf84..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Heading.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Heading extends Text_Wiki_Render {
- function token($options)
- {
- if ($options['type'] == 'start') {
- return str_pad('', $options['level'], '=') . ' ';
- }
- else if ($options['type'] == 'end') {
- // next line would add trailing '=' signs
- // return ' ' . str_pad('', $options['level'], '=') . "\n\n";
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Horiz.php b/includes/pear/Text/Wiki/Render/Creole/Horiz.php
deleted file mode 100644
index 2937beb..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Horiz.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Horiz extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "----\n\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Html.php b/includes/pear/Text/Wiki/Render/Creole/Html.php
deleted file mode 100644
index f76a90e..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Html.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Html extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "{{{" . $options['text'] . "}}}";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Image.php b/includes/pear/Text/Wiki/Render/Creole/Image.php
deleted file mode 100644
index 1c4476f..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Image.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-class Text_Wiki_Render_Creole_Image extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if (!strlen($options['attr']['alt']) || $options['src'] == $options['attr']['alt']) {
- return '{{'.$options['src'].'}}';
- } else {
- return '{{'.$options['src'].'|'.$options['attr']['alt'].'}}';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Include.php b/includes/pear/Text/Wiki/Render/Creole/Include.php
deleted file mode 100644
index a0d30cf..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Include.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Include extends Text_Wiki_Render {
-
- function token()
- {
- if ($options['type'] == 'start') {
- return "{{";
- }
-
- if ($options['type'] == 'end') {
- return "}}";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Interwiki.php b/includes/pear/Text/Wiki/Render/Creole/Interwiki.php
deleted file mode 100644
index d97eec4..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Interwiki.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Interwiki extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '[['.$options['site'].'>'.$options['page'].(strlen($options['text']) ? '|'.$options['text'] : '').']]';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Italic.php b/includes/pear/Text/Wiki/Render/Creole/Italic.php
deleted file mode 100644
index 6d8d0a0..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Italic.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Italic extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '//';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/List.php b/includes/pear/Text/Wiki/Render/Creole/List.php
deleted file mode 100644
index bbb9b76..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/List.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_List extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * This rendering method is syntactically and semantically compliant
- * with XHTML 1.1 in that sub-lists are part of the previous list item.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // make nice variables (type, level, count)
-
- switch ($options['type']) {
-
- case 'bullet_list_start':
- case 'number_list_start':
- return '';
- break;
- case 'bullet_list_end':
- case 'number_list_end':
- if ($options['level'] == 0) {
- return "\n";
- }
- break;
- case 'bullet_item_start':
- $pad = str_pad('', $options['level'], '*');
- return $pad . ' ';
- break;
- case 'number_item_start':
- $pad = str_pad('', $options['level'], '#');
- return $pad . ' ';
- break;
- case 'bullet_item_end':
- case 'number_item_end':
- default:
- return "\n";
- break;
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Newline.php b/includes/pear/Text/Wiki/Render/Creole/Newline.php
deleted file mode 100644
index 697d8eb..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Newline.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Newline extends Text_Wiki_Render {
-
-
- function token($options)
- {
- return "\n";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Paragraph.php b/includes/pear/Text/Wiki/Render/Creole/Paragraph.php
deleted file mode 100644
index 7d3840d..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Paragraph.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Paragraph extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return "";
- }
-
- if ($options['type'] == 'end') {
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Phplookup.php b/includes/pear/Text/Wiki/Render/Creole/Phplookup.php
deleted file mode 100644
index b667238..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Phplookup.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-// $Id: Phplookup.php 222265 2006-10-23 13:11:27Z mic $
-
-class Text_Wiki_Render_Creole_Phplookup extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return $options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Prefilter.php b/includes/pear/Text/Wiki/Render/Creole/Prefilter.php
deleted file mode 100644
index d997af0..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Prefilter.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Prefilter extends Text_Wiki_Render {
- function token()
- {
- return '';
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Preformatted.php b/includes/pear/Text/Wiki/Render/Creole/Preformatted.php
deleted file mode 100644
index 4d0796f..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Preformatted.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Preformatted extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $text = $options['text'];
-
- $text = preg_replace("/\n( +)}}}/s", "\n$1 }}}", $text);
-
- return "{{{\n" . $text . "\n}}}\n\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Raw.php b/includes/pear/Text/Wiki/Render/Creole/Raw.php
deleted file mode 100644
index 7fd8b19..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Raw.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Raw extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $text = $options['text'];
- if ($text == '\\') $text = ' ';
- if (isset($options['type']) && $options['type'] == 'escape') {
- $text = '~' . $text;
- }
- else {
- $find = "/}}}(?!})/";
- $replace = "}}}}}}{{{";
- $text = preg_replace($find, $replace, $text);
- }
- return $text;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Revise.php b/includes/pear/Text/Wiki/Render/Creole/Revise.php
deleted file mode 100644
index 1497c42..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Revise.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Revise extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Strong.php b/includes/pear/Text/Wiki/Render/Creole/Strong.php
deleted file mode 100644
index de7da41..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Strong.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Strong extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '**';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Subscript.php b/includes/pear/Text/Wiki/Render/Creole/Subscript.php
deleted file mode 100644
index 640cfb7..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Subscript.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Subscript extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return ',,';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Superscript.php b/includes/pear/Text/Wiki/Render/Creole/Superscript.php
deleted file mode 100644
index c9dd995..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Superscript.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Superscript extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '^^';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Table.php b/includes/pear/Text/Wiki/Render/Creole/Table.php
deleted file mode 100644
index e24ea37..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Table.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Table extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
-
-
- switch ($options['type']) {
-
- case 'table_start':
- return '';
- break;
-
- case 'table_end':
- return "\n";
- break;
-
- case 'caption_start':
- return '|= ';
- break;
-
- case 'caption_end':
- return "\n";
- break;
-
- case 'row_start':
- return '';
- break;
-
- case 'row_end':
- return "\n";
- break;
-
- case 'cell_start':
- // is this a TH or TD cell?
- if ($options['attr'] == 'header') {
- // start a header cell
- $output = '|= ';
- } else {
- // start a normal cell
- $output = '| ';
- }
- return $output;
- break;
-
- case 'cell_end':
- return ' ';
- break;
-
- default:
- return '';
-
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Tighten.php b/includes/pear/Text/Wiki/Render/Creole/Tighten.php
deleted file mode 100644
index 67200d0..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Tighten.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Tighten extends Text_Wiki_Render {
-
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Toc.php b/includes/pear/Text/Wiki/Render/Creole/Toc.php
deleted file mode 100644
index 715292d..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Toc.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Toc extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Tt.php b/includes/pear/Text/Wiki/Render/Creole/Tt.php
deleted file mode 100644
index 8dbc371..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Tt.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Tt extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return "{{{";
- }
-
- if ($options['type'] == 'end') {
- return "}}}";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Underline.php b/includes/pear/Text/Wiki/Render/Creole/Underline.php
deleted file mode 100644
index e239555..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Underline.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Underline extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '__';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Url.php b/includes/pear/Text/Wiki/Render/Creole/Url.php
deleted file mode 100644
index ca4ed2f..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Url.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Url extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- extract($options);
- if ($type == 'start') {
- return '[['.$href.'|';
- }
- else if ($type == 'end') {
- return ']]';
- }
- else {
- $noprot = str_replace('http://', '', str_replace('mailto:', '', $href));
- if (strpos($href, "#ref") === 0 || strpos($href, "#fn") === 0) {
- return $text;
- }
- else if (! strlen($text) || $text == $href || $text == $noprot) {
- return '[['.$href.']]';
- } else {
- return '[['.$href.'|'.$text.']]';
- }
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Creole/Wikilink.php b/includes/pear/Text/Wiki/Render/Creole/Wikilink.php
deleted file mode 100644
index fe4fc37..0000000
--- a/includes/pear/Text/Wiki/Render/Creole/Wikilink.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Creole_Wikilink extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into XHTML.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $dup = (($options['page'] == $options['text']) || ($options['page'] == preg_replace('/\s+/', '_', $options['text'])));
-
- if ($options['type'] == 'start') {
- if ($dup) return '[[';
- else return '[['.$options['page'].
- (strlen($options['anchor']) ? $options['anchor'] : '').
- (strlen($options['text']) && (strlen($options['page']) || strlen($options['anchor'])) ? '|' : '');
- } else if ($options['type'] == 'end') {
- if ($dup && strlen($options['anchor'])) return $options['anchor'].']]';
- else return ']]';
- } else {
- if ($dup) return '[['.
- (strlen($options['text']) ? $options['text'] : '').
- (strlen($options['anchor']) ? $options['anchor'] : '').
- ']]';
- else return '[['.$options['page'].
- (strlen($options['anchor']) ? $options['anchor'] : '').
- (strlen($options['text']) && strlen($options['page']) && strlen($options['anchor']) ? '|' : '').
- (strlen($options['text']) ? $options['text'] : '').
- ']]';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex.php b/includes/pear/Text/Wiki/Render/Latex.php
deleted file mode 100644
index 7eca39e..0000000
--- a/includes/pear/Text/Wiki/Render/Latex.php
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-
-/**
-*
-* Formats parsed Text_Wiki for LaTeX rendering.
-*
-* $Id: Latex.php 169211 2004-09-25 19:05:14Z pmjones $
-*
-* @author Jeremy Cowgar <jeremy@cowgar.com>
-*
-* @package Text_Wiki
-*
-* @todo [http://google.com] becomes 1 with a LaTeX footnote in subscript.
-* This should be a normal LaTeX footnote associated with the
-* previous word?
-*
-* @todo parse "..." to be ``...''
-*
-* @todo parse '...' to be `...'
-*
-* @todo move escape_latex to a static function, move escaping to the
-* individual .php files they are associated with
-*
-* @todo allow the user to add conf items to do things like
-* + A custom document header
-* + Custom page headings
-* + Include packages
-* + Set Title, Author, Date
-* + Include a title page
-* + Not output Document Head/Foot (maybe combinding many pages?)
-*
-*/
-
-class Text_Wiki_Render_Latex extends Text_Wiki_Render {
- function escape_latex ($txt) {
- $txt = str_replace("\\", "\\\\", $txt);
- $txt = str_replace('#', '\#', $txt);
- $txt = str_replace('$', '\$', $txt);
- $txt = str_replace('%', '\%', $txt);
- $txt = str_replace('^', '\^', $txt);
- $txt = str_replace('&', '\&', $txt);
- $txt = str_replace('_', '\_', $txt);
- $txt = str_replace('{', '\{', $txt);
- $txt = str_replace('}', '\}', $txt);
-
- // Typeset things a bit prettier than normas
- $txt = str_replace('~', '$\sim$', $txt);
- $txt = str_replace('...', '\ldots', $txt);
-
- return $txt;
- }
-
- function escape($tok, $ele) {
- if (isset($tok[$ele])) {
- $tok[$ele] = $this->escape_latex($tok[$ele]);
- }
-
- return $tok;
- }
-
- function pre()
- {
- foreach ($this->wiki->tokens as $k => $tok) {
- if ($tok[0] == 'Code') {
- continue;
- }
-
- $tok[1] = $this->escape($tok[1], 'text');
- $tok[1] = $this->escape($tok[1], 'page');
- $tok[1] = $this->escape($tok[1], 'href');
-
- $this->wiki->tokens[$k] = $tok;
- }
-
- $this->wiki->source = $this->escape_latex($this->wiki->source);
-
- return
- "\\documentclass{article}\n".
- "\\usepackage{ulem}\n".
- "\\pagestyle{headings}\n".
- "\\begin{document}\n";
- }
-
- function post()
- {
- return "\\end{document}\n";
- }
-
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Anchor.php b/includes/pear/Text/Wiki/Render/Latex/Anchor.php
deleted file mode 100644
index fcf487f..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Anchor.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-/**
-*
-* This class renders an anchor target name in LaTeX.
-*
-* $Id: Anchor.php 169211 2004-09-25 19:05:14Z pmjones $
-*
-* @author Jeremy Cowgar <jeremy@cowgar.com>
-*
-* @package Text_Wiki
-*
-*/
-
-class Text_Wiki_Render_Latex_Anchor extends Text_Wiki_Render {
-
- function token($options)
- {
- extract($options); // $type, $name
-
- if ($type == 'start') {
- //return sprintf('<a id="%s">',$name);
- return '';
- }
-
- if ($type == 'end') {
- //return '</a>';
- return '';
- }
- }
-}
-
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Blockquote.php b/includes/pear/Text/Wiki/Render/Latex/Blockquote.php
deleted file mode 100644
index 9810622..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Blockquote.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Blockquote extends Text_Wiki_Render {
-
- var $conf = array('css' => null);
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $type = $options['type'];
- $level = $options['level'];
-
- // starting
- if ($type == 'start') {
- return "\\begin{quote}\n";
- }
-
- // ending
- if ($type == 'end') {
- return "\\end{quote}\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Bold.php b/includes/pear/Text/Wiki/Render/Latex/Bold.php
deleted file mode 100644
index 16427a9..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Bold.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-class Text_Wiki_Render_Latex_Bold extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\textbf{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Box.php b/includes/pear/Text/Wiki/Render/Latex/Box.php
deleted file mode 100644
index fff4331..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Box.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Box rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Box.php 193489 2005-08-15 09:50:57Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders a box drawn in Latex.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_Box extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\framebox[\textwidth]{';
- }
-
- if ($options['type'] == 'end') {
- return "}\n";
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Break.php b/includes/pear/Text/Wiki/Render/Latex/Break.php
deleted file mode 100644
index 1f3fdd3..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Break.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Break extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\\newline\n";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Center.php b/includes/pear/Text/Wiki/Render/Latex/Center.php
deleted file mode 100644
index 59adffd..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Center.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Center extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return 'Center: NI';
-
- if ($options['type'] == 'start') {
- //return "\n<center>\n";
- return '<div style="text-align: center;">';
- }
-
- if ($options['type'] == 'end') {
- //return "</center>\n";
- return '</div>';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Code.php b/includes/pear/Text/Wiki/Render/Latex/Code.php
deleted file mode 100644
index 40bb45a..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Code.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Code extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $text = $options['text'];
-
- return "\\begin{verbatim}\n$text\n\\end{verbatim}\n\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Colortext.php b/includes/pear/Text/Wiki/Render/Latex/Colortext.php
deleted file mode 100644
index 86ff095..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Colortext.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Colortext extends Text_Wiki_Render {
-
- var $colors = array(
- 'aqua',
- 'black',
- 'blue',
- 'fuchsia',
- 'gray',
- 'green',
- 'lime',
- 'maroon',
- 'navy',
- 'olive',
- 'purple',
- 'red',
- 'silver',
- 'teal',
- 'white',
- 'yellow'
- );
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return 'Colortext: NI';
-
- $type = $options['type'];
- $color = $options['color'];
-
- if (! in_array($color, $this->colors)) {
- $color = '#' . $color;
- }
-
- if ($type == 'start') {
- return "<span style=\"color: $color;\">";
- }
-
- if ($options['type'] == 'end') {
- return '</span>';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Deflist.php b/includes/pear/Text/Wiki/Render/Latex/Deflist.php
deleted file mode 100644
index 8dbfe97..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Deflist.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Deflist extends Text_Wiki_Render {
-
- var $conf = array(
- 'css_dl' => null,
- 'css_dt' => null,
- 'css_dd' => null
- );
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $type = $options['type'];
- switch ($type)
- {
- case 'list_start':
- return "\\begin{description}\n";
-
- case 'list_end':
- return "\\end{description}\n\n";
-
- case 'term_start':
- return '\item[';
-
- case 'term_end':
- return '] ';
-
- case 'narr_start':
- return '{';
-
- case 'narr_end':
- return "}\n";
-
- default:
- return '';
-
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Delimiter.php b/includes/pear/Text/Wiki/Render/Latex/Delimiter.php
deleted file mode 100644
index 49a50aa..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Delimiter.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Delimiter extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // TODO: Is this where I can do some LaTeX escaping for items
- // such as $ { } _ ?
- return "Delimiter: ".$options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Embed.php b/includes/pear/Text/Wiki/Render/Latex/Embed.php
deleted file mode 100644
index 0936c7d..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Embed.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Embed extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "Embed: ".$options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Emphasis.php b/includes/pear/Text/Wiki/Render/Latex/Emphasis.php
deleted file mode 100644
index d949b42..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Emphasis.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Emphasis extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\textsl{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Font.php b/includes/pear/Text/Wiki/Render/Latex/Font.php
deleted file mode 100644
index 7009f52..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Font.php
+++ /dev/null
@@ -1,73 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * BBCode: extra Font rules renderer to size the text
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Font.php 209123 2006-03-11 11:14:23Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * Font rule render class (used for BBCode)
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- * @see Text_Wiki::Text_Wiki_Render()
- */
-class Text_Wiki_Render_Latex_Font extends Text_Wiki_Render {
-
- /**
- * A table to translate the sizes
- *
- * @access public
- * @var array
- */
- var $sizes = array(
- 'tiny' => 5,
- 'scriptsize' => 7,
- 'footnotesize' => 8,
- 'small' => 9,
- 'normalsize' => 11,
- 'large' => 13,
- 'Large' => 16,
- 'LARGE' => 19,
- 'huge' => 22,
- 'Huge' => 9999);
-
- /**
- * Renders a token into text matching the requested format.
- * process the font size option
- *
- * @access public
- * @param array $options The "options" portion of the token (second element).
- * @return string The text rendered from the token options.
- */
- function token($options)
- {
- if ($options['type'] == 'start') {
- foreach ($this->sizes as $key => $lim) {
- if ($options['size'] < $lim) {
- break;
- }
- }
- return '\{' . $key . '}{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Freelink.php b/includes/pear/Text/Wiki/Render/Latex/Freelink.php
deleted file mode 100644
index fdeae54..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Freelink.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Freelink extends Text_Wiki_Render_Latex_Wikilink {
- // renders identically to wikilinks, only the parsing is different :-)
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Function.php b/includes/pear/Text/Wiki/Render/Latex/Function.php
deleted file mode 100644
index 5f4c488..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Function.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Function extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "Function: NI";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Heading.php b/includes/pear/Text/Wiki/Render/Latex/Heading.php
deleted file mode 100644
index eab4d54..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Heading.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Heading extends Text_Wiki_Render {
-
- function token($options)
- {
- // get nice variable names (type, level)
- extract($options);
-
- if ($type == 'start') {
- switch ($level)
- {
- case '1':
- return '\part{';
- case '2':
- return '\section{';
- case '3':
- return '\subsection{';
- case '4':
- return '\subsubsection{';
- case '5':
- return '\paragraph{';
- case '6':
- return '\subparagraph{';
- }
- }
-
- if ($type == 'end') {
- return "}\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Horiz.php b/includes/pear/Text/Wiki/Render/Latex/Horiz.php
deleted file mode 100644
index bb159d4..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Horiz.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Horiz extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\n\\noindent\\rule{\\textwidth}{1pt}\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Html.php b/includes/pear/Text/Wiki/Render/Latex/Html.php
deleted file mode 100644
index 350de4a..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Html.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Html extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- print_r($this);
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Image.php b/includes/pear/Text/Wiki/Render/Latex/Image.php
deleted file mode 100644
index e6c084b..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Image.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-class Text_Wiki_Render_Latex_Image extends Text_Wiki_Render {
-
- var $conf = array(
- 'base' => '/'
- );
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return 'Image: NI';
-
- $src = '"' .
- $this->getConf('base', '/') .
- $options['src'] . '"';
-
- if (isset($options['attr']['link'])) {
-
- // this image has a link
- if (strpos($options['attr']['link'], '://')) {
- // it's a URL
- $href = $options['attr']['link'];
- } else {
- $href = $this->wiki->getRenderConf('xhtml', 'wikilink', 'view_url') .
- $options['attr']['link'];
- }
-
- } else {
- // image is not linked
- $href = null;
- }
-
- // unset these so they don't show up as attributes
- unset($options['attr']['link']);
-
- $attr = '';
- $alt = false;
- foreach ($options['attr'] as $key => $val) {
- if (strtolower($key) == 'alt') {
- $alt = true;
- }
- $attr .= " $key=\"$val\"";
- }
-
- // always add an "alt" attribute per Stephane Solliec
- if (! $alt) {
- $attr .= ' alt="' . basename($options['src']) . '"';
- }
-
- if ($href) {
- return "<a href=\"$href\"><img src=$src$attr/></a>";
- } else {
- return "<img src=$src$attr/>";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Include.php b/includes/pear/Text/Wiki/Render/Latex/Include.php
deleted file mode 100644
index f23d7a5..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Include.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-class Text_Wiki_Render_Latex_Include extends Text_Wiki_Render {
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Interwiki.php b/includes/pear/Text/Wiki/Render/Latex/Interwiki.php
deleted file mode 100644
index 8f1da63..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Interwiki.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Interwiki extends Text_Wiki_Render {
-
- var $conf = array(
- 'sites' => array(
- 'MeatBall' => 'http://www.usemod.com/cgi-bin/mb.pl?%s',
- 'Advogato' => 'http://advogato.org/%s',
- 'Wiki' => 'http://c2.com/cgi/wiki?%s'
- )
- );
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $text = $options['text'];
- if (isset($options['url'])) {
- // calculated by the parser (e.g. Mediawiki)
- $href = $options['url'];
- } else {
- $site = $options['site'];
- // toggg 2006/02/05 page name must be url encoded (e.g. may contain spaces)
- $page = $this->urlEncode($options['page']);
-
- if (isset($this->conf['sites'][$site])) {
- $href = $this->conf['sites'][$site];
- } else {
- return $text;
- }
-
- // old form where page is at end,
- // or new form with %s placeholder for sprintf()?
- if (strpos($href, '%s') === false) {
- // use the old form
- $href = $href . $page;
- } else {
- // use the new form
- $href = sprintf($href, $page);
- }
- }
-
- return $text . '\footnote{' . $href . '}';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Italic.php b/includes/pear/Text/Wiki/Render/Latex/Italic.php
deleted file mode 100644
index 2b18888..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Italic.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-class Text_Wiki_Render_Latex_Italic extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\textit{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/List.php b/includes/pear/Text/Wiki/Render/Latex/List.php
deleted file mode 100644
index ff76aed..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/List.php
+++ /dev/null
@@ -1,76 +0,0 @@
-<?php
-
-
-class Text_Wiki_Render_Latex_List extends Text_Wiki_Render {
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * This rendering method is syntactically and semantically compliant
- * with XHTML 1.1 in that sub-lists are part of the previous list item.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // make nice variables (type, level, count)
- extract($options);
-
- switch ($type)
- {
- case 'bullet_list_start':
- return "\\begin{itemize}\n";
-
- case 'bullet_list_end':
- return "\\end{itemize}\n";
-
- case 'number_list_start':
- $depth = 'enumi' . str_pad('', $level, 'i');
- $enum = '\arabic';
- if (isset($format)) {
- switch ($format) {
- case 'a':
- $enum = '\alph';
- break;
- case 'A':
- $enum = '\Alph';
- break;
- case 'i':
- $enum = '\roman';
- break;
- case 'I':
- $enum = '\Roman';
- break;
- }
- }
- return '\renewcommand{\labelenumi}{' . $enum . '{' . $depth .
- "}}\n\\begin{enumerate}\n";
-
- case 'number_list_end':
- return "\\end{enumerate}\n";
-
- case 'bullet_item_start':
- case 'number_item_start':
- return '\item{';
-
- case 'bullet_item_end':
- case 'number_item_end':
- return "}\n";
-
- default:
- // ignore item endings and all other types.
- // item endings are taken care of by the other types
- // depending on their place in the list.
- return '';
- break;
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Newline.php b/includes/pear/Text/Wiki/Render/Latex/Newline.php
deleted file mode 100644
index b1b918a..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Newline.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Newline extends Text_Wiki_Render {
-
-
- function token($options)
- {
- return "\\newline\n";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Page.php b/includes/pear/Text/Wiki/Render/Latex/Page.php
deleted file mode 100644
index 41fc708..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Page.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Page rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Page.php 193514 2005-08-15 15:27:19Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders page markers in Latex.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_Page extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\\newpage\n";
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Paragraph.php b/includes/pear/Text/Wiki/Render/Latex/Paragraph.php
deleted file mode 100644
index 45d487e..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Paragraph.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Paragraph extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- extract($options); //type
-
- if ($type == 'start') {
- return '';
- }
-
- if ($type == 'end') {
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Phplookup.php b/includes/pear/Text/Wiki/Render/Latex/Phplookup.php
deleted file mode 100644
index 8c75604..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Phplookup.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Phplookup extends Text_Wiki_Render {
-
- var $conf = array('target' => '_blank');
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return 'Phplookup: NI';
-
- $text = trim($options['text']);
-
- $target = $this->getConf('target', '');
- if ($target) {
- $target = " target=\"$target\"";
- }
-
- return "<a$target href=\"http://php.net/$text\">$text</a>";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Plugin.php b/includes/pear/Text/Wiki/Render/Latex/Plugin.php
deleted file mode 100644
index 220b101..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Plugin.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Plugin rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Plugin.php 193730 2005-08-17 09:16:36Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders wiki plugins in Latex. (empty)
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_Plugin extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- * Plugins produce wiki markup so are processed by parsing, no tokens produced
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Prefilter.php b/includes/pear/Text/Wiki/Render/Latex/Prefilter.php
deleted file mode 100644
index e833cd9..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Prefilter.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * This class implements a Text_Wiki_Render_Xhtml to "pre-filter" source text so
- * that line endings are consistently \n, lines ending in a backslash \
- * are concatenated with the next line, and tabs are converted to spaces.
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Jeremy Cowgar <jeremy@cowgar.com>
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Prefilter.php 248435 2007-12-17 16:19:44Z justinpatrin $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/* vim: set expandtab tabstop=4 shiftwidth=4: */
-// +----------------------------------------------------------------------+
-// | PHP version 4 |
-// +----------------------------------------------------------------------+
-// | Copyright (c) 1997-2003 The PHP Group |
-// +----------------------------------------------------------------------+
-// | This source file is subject to version 2.0 of the PHP license, |
-// | that is bundled with this package in the file LICENSE, and is |
-// | available through the world-wide-web at |
-// | http://www.php.net/license/2_02.txt. |
-// | If you did not receive a copy of the PHP license and are unable to |
-// | obtain it through the world-wide-web, please send a note to |
-// | license@php.net so we can mail you a copy immediately. |
-// +----------------------------------------------------------------------+
-// | Authors: |
-// +----------------------------------------------------------------------+
-//
-// $Id: Prefilter.php 248435 2007-12-17 16:19:44Z justinpatrin $
-
-
-/**
-*
-* This class implements a Text_Wiki_Render_Latex to "pre-filter" source text so
-* that line endings are consistently \n, lines ending in a backslash \
-* are concatenated with the next line, and tabs are converted to spaces.
-*
-* @author Jeremy Cowgar <jeremy@cowgar.com>
-*
-* @package Text_Wiki
-*
-*/
-
-class Text_Wiki_Render_Latex_Prefilter extends Text_Wiki_Render {
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Preformatted.php b/includes/pear/Text/Wiki/Render/Latex/Preformatted.php
deleted file mode 100644
index 25216b9..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Preformatted.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Preformatted rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Preformatted.php 193477 2005-08-15 06:15:41Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders preformated text in Latex.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_Preformatted extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\\begin{verbatim}\n" . $options['text'] . "\n\\end{verbatim}\n";
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Raw.php b/includes/pear/Text/Wiki/Render/Latex/Raw.php
deleted file mode 100644
index 4ef4cbe..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Raw.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Raw extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "Raw: ".$options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Revise.php b/includes/pear/Text/Wiki/Render/Latex/Revise.php
deleted file mode 100644
index f880156..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Revise.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Revise extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'del_start') {
- return '\sout{';
- }
-
- if ($options['type'] == 'del_end') {
- return '}';
- }
-
- if ($options['type'] == 'ins_start') {
- return '\underline{';
- }
-
- if ($options['type'] == 'ins_end') {
- return '}';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Smiley.php b/includes/pear/Text/Wiki/Render/Latex/Smiley.php
deleted file mode 100644
index c049cc3..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Smiley.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Smiley rule Latex renderer
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Smiley.php 192951 2005-08-10 11:42:08Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * Smiley rule Latex render class
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- * @see Text_Wiki::Text_Wiki_Render()
- */
-class Text_Wiki_Render_Latex_Smiley extends Text_Wiki_Render {
-
- /**
- * Renders a token into text matching the requested format.
- * process the Smileys
- *
- * @access public
- * @param array $options The "options" portion of the token (second element).
- * @return string The text rendered from the token options.
- */
- function token($options)
- {
- return $options['symbol'];
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Specialchar.php b/includes/pear/Text/Wiki/Render/Latex/Specialchar.php
deleted file mode 100644
index 23358af..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Specialchar.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Specialchar rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Specialchar.php 193499 2005-08-15 11:10:38Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders special characters in Latex.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_SpecialChar extends Text_Wiki_Render {
-
- var $types = array('~bs~' => '\\\\',
- '~hs~' => '\hspace{1em}',
- '~amp~' => '\&',
- '~ldq~' => '``',
- '~rdq~' => "''",
- '~lsq~' => '`',
- '~rsq~' => "'",
- '~c~' => '\copyright',
- '~--~' => '---',
- '" -- "' => '---',
- '&quot; -- &quot;' => '---',
- '~lt~' => '<',
- '~gt~' => '>');
-
- function token($options)
- {
- if (isset($this->types[$options['char']])) {
- return $this->types[$options['char']];
- } else {
- return $options['char'];
- }
- }
-}
-
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Strong.php b/includes/pear/Text/Wiki/Render/Latex/Strong.php
deleted file mode 100644
index 721ffa3..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Strong.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Strong extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\textbf{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Subscript.php b/includes/pear/Text/Wiki/Render/Latex/Subscript.php
deleted file mode 100644
index f265308..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Subscript.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Subscript rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Subscript.php 193490 2005-08-15 10:09:06Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders subscript text in Latex.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_Subscript extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '_{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Superscript.php b/includes/pear/Text/Wiki/Render/Latex/Superscript.php
deleted file mode 100644
index 887a8b3..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Superscript.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Superscript extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return 'Superscript: NI';
-
- if ($options['type'] == 'start') {
- return '<sup>';
- }
-
- if ($options['type'] == 'end') {
- return '</sup>';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Table.php b/includes/pear/Text/Wiki/Render/Latex/Table.php
deleted file mode 100644
index ad7866f..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Table.php
+++ /dev/null
@@ -1,99 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Table extends Text_Wiki_Render {
- var $cell_id = 0;
- var $cell_count = 0;
- var $is_spanning = false;
-
- var $conf = array(
- 'css_table' => null,
- 'css_tr' => null,
- 'css_th' => null,
- 'css_td' => null
- );
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // make nice variable names (type, attr, span)
- extract($options);
-
- switch ($type)
- {
- case 'table_start':
- $this->cell_count = $cols;
-
- $tbl_start = '\begin{tabular}{|';
- for ($a=0; $a < $this->cell_count; $a++) {
- $tbl_start .= 'l|';
- }
- $tbl_start .= "}\n";
-
- return $tbl_start;
-
- case 'table_end':
- return "\\hline\n\\end{tabular}\n";
-
- case 'caption_start':
- return "\\caption{";
-
- case 'caption_end':
- return "}\n";
-
- case 'row_start':
- $this->is_spanning = false;
- $this->cell_id = 0;
- return "\\hline\n";
-
- case 'row_end':
- return "\\\\\n";
-
- case 'cell_start':
- if ($span > 1) {
- $col_spec = '';
- if ($this->cell_id == 0) {
- $col_spec = '|';
- }
- $col_spec .= 'l|';
-
- $this->cell_id += $span;
- $this->is_spanning = true;
-
- return '\multicolumn{' . $span . '}{' . $col_spec . '}{';
- }
-
- $this->cell_id += 1;
- return '';
-
- case 'cell_end':
- $out = '';
- if ($this->is_spanning) {
- $this->is_spanning = false;
- $out = '}';
- }
-
- if ($this->cell_id != $this->cell_count) {
- $out .= ' & ';
- }
-
- return $out;
-
- default:
- return '';
-
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Tighten.php b/includes/pear/Text/Wiki/Render/Latex/Tighten.php
deleted file mode 100644
index 7755e94..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Tighten.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-class Text_Wiki_Render_Latex_Tighten extends Text_Wiki_Render {
-
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Titlebar.php b/includes/pear/Text/Wiki/Render/Latex/Titlebar.php
deleted file mode 100644
index e58bda2..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Titlebar.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Titlebar rule end renderer for Latex
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Titlebar.php 193500 2005-08-15 11:36:55Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders a title bar in Latex.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Latex_Titlebar extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\framebox[\textwidth]{\textbf{';
- }
-
- if ($options['type'] == 'end') {
- return "}}\n";
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Toc.php b/includes/pear/Text/Wiki/Render/Latex/Toc.php
deleted file mode 100644
index fc5846f..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Toc.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Toc extends Text_Wiki_Render {
-
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if($options['type'] == 'list_start') {
- return "\\tableofcontents\n\n";
- }
-
- return '';
- }
-
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Tt.php b/includes/pear/Text/Wiki/Render/Latex/Tt.php
deleted file mode 100644
index 45073a7..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Tt.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_tt extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\texttt{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Underline.php b/includes/pear/Text/Wiki/Render/Latex/Underline.php
deleted file mode 100644
index 81ed323..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Underline.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Underline extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '\underline{';
- }
-
- if ($options['type'] == 'end') {
- return '}';
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Latex/Url.php b/includes/pear/Text/Wiki/Render/Latex/Url.php
deleted file mode 100644
index c81f9e6..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Url.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-
-class Text_Wiki_Render_Latex_Url extends Text_Wiki_Render {
-
-
- var $conf = array(
- 'target' => false,
- 'images' => true,
- 'img_ext' => array('jpg', 'jpeg', 'gif', 'png')
- );
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // create local variables from the options array (text,
- // href, type)
- extract($options);
-
- if ($options['type'] == 'start') {
- return '';
- } else if ($options['type'] == 'end') {
- return '\footnote{' . $href . '}';
- } else {
- return $text . '\footnote{' . $href . '}';
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Latex/Wikilink.php b/includes/pear/Text/Wiki/Render/Latex/Wikilink.php
deleted file mode 100644
index 5b4cdba..0000000
--- a/includes/pear/Text/Wiki/Render/Latex/Wikilink.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Latex_Wikilink extends Text_Wiki_Render {
- var $conf = array(
- 'pages' => array(),
- 'view_url' => 'http://example.com/index.php?page=%s',
- 'new_url' => 'http://example.com/new.php?page=%s',
- 'new_text' => '?'
- );
-
- /**
- *
- * Renders a token into XHTML.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // make nice variable names (page, anchor, text)
- extract($options);
-
- // are we checking page existence?
- $list = $this->getConf('pages');
- if (is_array($list)) {
- // yes, check against the page list
- $exists = in_array($page, $list);
- } else {
- // no, assume it exists
- $exists = true;
- }
-
- // convert *after* checking against page names so as not to mess
- // up what the user typed and what we're checking.
- $page = $this->textEncode($page);
- $anchor = $this->textEncode($anchor);
- $text = $this->textEncode($text);
-
- $href = $this->getConf('view_url');
-
- if (strpos($href, '%s') === false) {
- // use the old form (page-at-end)
- $href = $href . $page . $anchor;
- } else {
- // use the new form (sprintf format string)
- $href = sprintf($href, $page . $anchor);
- }
-
- // get the CSS class and generate output
- $css = $this->formatConf(' class="%s"', 'css');
- return $text . '\footnote{' . $href . '}';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain.php b/includes/pear/Text/Wiki/Render/Plain.php
deleted file mode 100644
index e1b02a8..0000000
--- a/includes/pear/Text/Wiki/Render/Plain.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain extends Text_Wiki_Render {
-
- function pre()
- {
- return;
- }
-
- function post()
- {
- return;
- }
-
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Anchor.php b/includes/pear/Text/Wiki/Render/Plain/Anchor.php
deleted file mode 100644
index f24f467..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Anchor.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-/**
-*
-* This class renders an anchor target name in XHTML.
-*
-* @author Manuel Holtgrewe <purestorm at ggnore dot net>
-*
-* @author Paul M. Jones <pmjones at ciaweb dot net>
-*
-* @package Text_Wiki
-*
-*/
-
-class Text_Wiki_Render_Plain_Anchor extends Text_Wiki_Render {
-
- function token($options)
- {
- return $options['name'];
- }
-}
-
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Blockquote.php b/includes/pear/Text/Wiki/Render/Plain/Blockquote.php
deleted file mode 100644
index 08da94a..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Blockquote.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Blockquote extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $type = $options['type'];
- $level = $options['level'];
-
- // set up indenting so that the results look nice; we do this
- // in two steps to avoid str_pad mathematics. ;-)
- $pad = str_pad('', $level + 1, "\t");
- $pad = str_replace("\t", ' ', $pad);
-
- // starting
- if ($type == 'start') {
- return "\n$pad";
- }
-
- // ending
- if ($type == 'end') {
- return "\n$pad";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Bold.php b/includes/pear/Text/Wiki/Render/Plain/Bold.php
deleted file mode 100644
index 628fb51..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Bold.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Bold extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Box.php b/includes/pear/Text/Wiki/Render/Plain/Box.php
deleted file mode 100644
index 623d073..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Box.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Box rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Box.php 193489 2005-08-15 09:50:57Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders a box drawn in Plain.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_Box extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Break.php b/includes/pear/Text/Wiki/Render/Plain/Break.php
deleted file mode 100644
index 5705bed..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Break.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Break extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\n";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Center.php b/includes/pear/Text/Wiki/Render/Plain/Center.php
deleted file mode 100644
index 7b36367..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Center.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Center extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Code.php b/includes/pear/Text/Wiki/Render/Plain/Code.php
deleted file mode 100644
index 5f523a3..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Code.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Code extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\n" . $options['text'] . "\n\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Colortext.php b/includes/pear/Text/Wiki/Render/Plain/Colortext.php
deleted file mode 100644
index d577fe0..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Colortext.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Colortext extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Deflist.php b/includes/pear/Text/Wiki/Render/Plain/Deflist.php
deleted file mode 100644
index d05593b..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Deflist.php
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Deflist extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- $type = $options['type'];
- $pad = " ";
-
- switch ($type) {
-
- case 'list_start':
- return "\n";
- break;
-
- case 'list_end':
- return "\n\n";
- break;
-
- case 'term_start':
-
- // done!
- return $pad;
- break;
-
- case 'term_end':
- return "\n";
- break;
-
- case 'narr_start':
-
- // done!
- return $pad . $pad;
- break;
-
- case 'narr_end':
- return "\n";
- break;
-
- default:
- return '';
-
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Delimiter.php b/includes/pear/Text/Wiki/Render/Plain/Delimiter.php
deleted file mode 100644
index 0e436aa..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Delimiter.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Delimiter extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Embed.php b/includes/pear/Text/Wiki/Render/Plain/Embed.php
deleted file mode 100644
index 3a4304f..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Embed.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Embed extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return strip_tags($options['text']);
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Emphasis.php b/includes/pear/Text/Wiki/Render/Plain/Emphasis.php
deleted file mode 100644
index 8d32995..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Emphasis.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Emphasis extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Font.php b/includes/pear/Text/Wiki/Render/Plain/Font.php
deleted file mode 100644
index ea0c432..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Font.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * BBCode: extra Font rules renderer to size the text
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Font.php 192578 2005-08-06 11:36:45Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * Font rule render class (used for BBCode)
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- * @see Text_Wiki::Text_Wiki_Render()
- */
-class Text_Wiki_Render_Plain_Font extends Text_Wiki_Render {
-
- /**
- * Renders a token into text matching the requested format.
- * process the font size option
- *
- * @access public
- * @param array $options The "options" portion of the token (second element).
- * @return string The text rendered from the token options.
- */
- function token($options)
- {
- return;
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Freelink.php b/includes/pear/Text/Wiki/Render/Plain/Freelink.php
deleted file mode 100644
index 61de294..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Freelink.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Freelink extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return $options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Function.php b/includes/pear/Text/Wiki/Render/Plain/Function.php
deleted file mode 100644
index 6ae5666..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Function.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-// $Id: Function.php 170080 2004-10-08 17:46:47Z pmjones $
-
-class Text_Wiki_Render_Plain_Function extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- extract($options); // access, return, name, params, throws
-
- $output = "$access $return $name ( ";
-
- foreach ($params as $key => $val) {
- $output .= "{$val['type']} {$val['descr']} {$val['default']} ";
- }
-
- $output .= ') ';
-
- foreach ($throws as $key => $val) {
- $output .= "{$val['type']} {$val['descr']} ";
- }
-
- return $output;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Heading.php b/includes/pear/Text/Wiki/Render/Plain/Heading.php
deleted file mode 100644
index 306f2bf..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Heading.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Heading extends Text_Wiki_Render {
-
- function token($options)
- {
- if ($options['type'] == 'end') {
- return "\n\n";
- } else {
- return "\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Horiz.php b/includes/pear/Text/Wiki/Render/Plain/Horiz.php
deleted file mode 100644
index 9d93764..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Horiz.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Horiz extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\n";
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Html.php b/includes/pear/Text/Wiki/Render/Plain/Html.php
deleted file mode 100644
index e64e94b..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Html.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Html extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return strip_tags($options['text']);
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Image.php b/includes/pear/Text/Wiki/Render/Plain/Image.php
deleted file mode 100644
index c5ddd6f..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Image.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-class Text_Wiki_Render_Plain_Image extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Include.php b/includes/pear/Text/Wiki/Render/Plain/Include.php
deleted file mode 100644
index 445990a..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Include.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-class Text_Wiki_Render_Plain_Include extends Text_Wiki_Render {
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Interwiki.php b/includes/pear/Text/Wiki/Render/Plain/Interwiki.php
deleted file mode 100644
index 762a2a0..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Interwiki.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Interwiki extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if (isset($options['url'])) {
- // calculated by the parser (e.g. Mediawiki)
- $href = $options['url'];
- } else {
- $href = $options['site'] . ':' . $options['page'];
- }
- return $options['text'] . ' (' . $href . ')';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Italic.php b/includes/pear/Text/Wiki/Render/Plain/Italic.php
deleted file mode 100644
index e2a596c..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Italic.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Italic extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/List.php b/includes/pear/Text/Wiki/Render/Plain/List.php
deleted file mode 100644
index 9983689..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/List.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-
-
-class Text_Wiki_Render_Plain_List extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * This rendering method is syntactically and semantically compliant
- * with XHTML 1.1 in that sub-lists are part of the previous list item.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // make nice variables (type, level, count)
- extract($options);
-
- // set up indenting so that the results look nice; we do this
- // in two steps to avoid str_pad mathematics. ;-)
- $pad = str_pad('', $level, "\t");
- $pad = str_replace("\t", ' ', $pad);
-
- switch ($type) {
-
- case 'bullet_list_start':
- break;
-
- case 'bullet_list_end':
- if ($level == 0) {
- return "\n\n";
- }
- break;
-
- case 'number_list_start':
- break;
-
- case 'number_list_end':
- if ($level == 0) {
- return "\n\n";
- }
- break;
-
- case 'bullet_item_start':
- case 'number_item_start':
- return "\n$pad";
- break;
-
- case 'bullet_item_end':
- case 'number_item_end':
- default:
- // ignore item endings and all other types.
- // item endings are taken care of by the other types
- // depending on their place in the list.
- return;
- break;
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Newline.php b/includes/pear/Text/Wiki/Render/Plain/Newline.php
deleted file mode 100644
index 7c7903e..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Newline.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Newline extends Text_Wiki_Render {
-
-
- function token($options)
- {
- return "\n";
- }
-}
-
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Page.php b/includes/pear/Text/Wiki/Render/Plain/Page.php
deleted file mode 100644
index 052f566..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Page.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Page rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Page.php 193514 2005-08-15 15:27:19Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders page markers in Plain.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_Page extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return "\x0C";
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Paragraph.php b/includes/pear/Text/Wiki/Render/Plain/Paragraph.php
deleted file mode 100644
index 16e536f..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Paragraph.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Paragraph extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- extract($options); //type
-
- if ($type == 'start') {
- return '';
- }
-
- if ($type == 'end') {
- return "\n\n";
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Phplookup.php b/includes/pear/Text/Wiki/Render/Plain/Phplookup.php
deleted file mode 100644
index a4268d1..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Phplookup.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Phplookup extends Text_Wiki_Render {
-
- var $conf = array('target' => '_blank');
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return trim($options['text']);
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Plugin.php b/includes/pear/Text/Wiki/Render/Plain/Plugin.php
deleted file mode 100644
index 224ab2d..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Plugin.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Plugin rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Plugin.php 193730 2005-08-17 09:16:36Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders wiki plugins in Plain. (empty)
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_Plugin extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- * Plugins produce wiki markup so are processed by parsing, no tokens produced
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Prefilter.php b/includes/pear/Text/Wiki/Render/Plain/Prefilter.php
deleted file mode 100644
index 0c63792..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Prefilter.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * This class implements a Text_Wiki_Render_Xhtml to "pre-filter" source text so
- * that line endings are consistently \n, lines ending in a backslash \
- * are concatenated with the next line, and tabs are converted to spaces.
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Paul M. Jones <pmjones@php.net>
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Prefilter.php 248435 2007-12-17 16:19:44Z justinpatrin $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-class Text_Wiki_Render_Plain_Prefilter extends Text_Wiki_Render {
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Preformatted.php b/includes/pear/Text/Wiki/Render/Plain/Preformatted.php
deleted file mode 100644
index db620d3..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Preformatted.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Preformatted rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Preformatted.php 193477 2005-08-15 06:15:41Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders preformated text in Plain.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_Preformatted extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return $options['text'];
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Raw.php b/includes/pear/Text/Wiki/Render/Plain/Raw.php
deleted file mode 100644
index e7fa8a8..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Raw.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Raw extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return $options['text'];
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Revise.php b/includes/pear/Text/Wiki/Render/Plain/Revise.php
deleted file mode 100644
index 32bbcad..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Revise.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Revise extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Smiley.php b/includes/pear/Text/Wiki/Render/Plain/Smiley.php
deleted file mode 100644
index cd16e7c..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Smiley.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Smiley rule Plain renderer
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Smiley.php 192951 2005-08-10 11:42:08Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * Smiley rule Plain render class
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- * @see Text_Wiki::Text_Wiki_Render()
- */
-class Text_Wiki_Render_Plain_Smiley extends Text_Wiki_Render {
-
- /**
- * Renders a token into text matching the requested format.
- * process the Smileys
- *
- * @access public
- * @param array $options The "options" portion of the token (second element).
- * @return string The text rendered from the token options.
- */
- function token($options)
- {
- return $options['symbol'];
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Specialchar.php b/includes/pear/Text/Wiki/Render/Plain/Specialchar.php
deleted file mode 100644
index 1208a8d..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Specialchar.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Specialchar rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Specialchar.php 193499 2005-08-15 11:10:38Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders special characters in Plain.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_SpecialChar extends Text_Wiki_Render {
-
- var $types = array('~bs~' => '\\',
- '~hs~' => ' ',
- '~amp~' => '&',
- '~ldq~' => '"',
- '~rdq~' => '"',
- '~lsq~' => "'",
- '~rsq~' => "'",
- '~c~' => '©',
- '~--~' => '-',
- '" -- "' => '-',
- '&quot; -- &quot;' => '-',
- '~lt~' => '<',
- '~gt~' => '>');
-
- function token($options)
- {
- if (isset($this->types[$options['char']])) {
- return $this->types[$options['char']];
- } else {
- return $options['char'];
- }
- }
-}
-
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Strong.php b/includes/pear/Text/Wiki/Render/Plain/Strong.php
deleted file mode 100644
index 7ff55a3..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Strong.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Strong extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Subscript.php b/includes/pear/Text/Wiki/Render/Plain/Subscript.php
deleted file mode 100644
index 222dbfc..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Subscript.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Subscript rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Subscript.php 193490 2005-08-15 10:09:06Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders subscript text in Plain.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_Subscript extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return '';
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Superscript.php b/includes/pear/Text/Wiki/Render/Plain/Superscript.php
deleted file mode 100644
index d239ee3..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Superscript.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Superscript extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Table.php b/includes/pear/Text/Wiki/Render/Plain/Table.php
deleted file mode 100644
index 86f09aa..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Table.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Table extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // make nice variable names (type, attr, span)
- extract($options);
-
- $pad = ' ';
-
- switch ($type) {
-
- case 'table_start':
- return;
- break;
-
- case 'table_end':
- return;
- break;
-
- case 'caption_start':
- return;
- break;
-
- case 'caption_end':
- return "\n";
- break;
-
- case 'row_start':
- return;
- break;
-
- case 'row_end':
- return " ||\n";
- break;
-
- case 'cell_start':
- return " || ";
- break;
-
- case 'cell_end':
- return;
- break;
-
- default:
- return '';
-
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Tighten.php b/includes/pear/Text/Wiki/Render/Plain/Tighten.php
deleted file mode 100644
index e2babf4..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Tighten.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-class Text_Wiki_Render_Plain_Tighten extends Text_Wiki_Render {
-
-
- function token()
- {
- return '';
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Titlebar.php b/includes/pear/Text/Wiki/Render/Plain/Titlebar.php
deleted file mode 100644
index 2399230..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Titlebar.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-/**
- * Titlebar rule end renderer for Plain
- *
- * PHP versions 4 and 5
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version CVS: $Id: Titlebar.php 193500 2005-08-15 11:36:55Z toggg $
- * @link http://pear.php.net/package/Text_Wiki
- */
-
-/**
- * This class renders a title bar in Plain.
- *
- * @category Text
- * @package Text_Wiki
- * @author Bertrand Gugger <bertrand@toggg.com>
- * @copyright 2005 bertrand Gugger
- * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Text_Wiki
- */
-class Text_Wiki_Render_Plain_Titlebar extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start') {
- return '***** ';
- }
-
- if ($options['type'] == 'end') {
- return " *****\n";
- }
- }
-}
-?>
diff --git a/includes/pear/Text/Wiki/Render/Plain/Toc.php b/includes/pear/Text/Wiki/Render/Plain/Toc.php
deleted file mode 100644
index 34f3061..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Toc.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Toc extends Text_Wiki_Render {
-
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- // type, count, level
- extract($options);
-
- if ($type == 'item_start') {
-
- // build some indenting spaces for the text
- $indent = ($level - 2) * 4;
- $pad = str_pad('', $indent);
- return $pad;
- }
-
- if ($type == 'item_end') {
- return "\n";
- }
- }
-
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Tt.php b/includes/pear/Text/Wiki/Render/Plain/Tt.php
deleted file mode 100644
index c59ccf4..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Tt.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_tt extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Underline.php b/includes/pear/Text/Wiki/Render/Plain/Underline.php
deleted file mode 100644
index 8e4d18b..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Underline.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Underline extends Text_Wiki_Render {
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return;
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Url.php b/includes/pear/Text/Wiki/Render/Plain/Url.php
deleted file mode 100644
index 5c758e2..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Url.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-
-class Text_Wiki_Render_Plain_Url extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into text matching the requested format.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- if ($options['type'] == 'start' || $options['type'] == 'end') {
- return '';
- } else {
- return $options['text'];
- }
- }
-}
-?> \ No newline at end of file
diff --git a/includes/pear/Text/Wiki/Render/Plain/Wikilink.php b/includes/pear/Text/Wiki/Render/Plain/Wikilink.php
deleted file mode 100644
index 8337dda..0000000
--- a/includes/pear/Text/Wiki/Render/Plain/Wikilink.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-class Text_Wiki_Render_Plain_Wikilink extends Text_Wiki_Render {
-
-
- /**
- *
- * Renders a token into plain text.
- *
- * @access public
- *
- * @param array $options The "options" portion of the token (second
- * element).
- *
- * @return string The text rendered from the token options.
- *
- */
-
- function token($options)
- {
- return $options['text'];
- }
-}
-?> \ No newline at end of file