diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 19:48:44 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 19:48:44 +0100 |
| commit | d637a023b8cbe98792dee9e1c79ba830958de594 (patch) | |
| tree | 9f41fe8589d45e56a7aba6e61f579b1cdfad3739 /includes/pear/Text/Wiki/Render/Xhtml/Tt.php | |
| parent | 3672db5d25accc0ddd05b05232e7680f32384f50 (diff) | |
| download | util-d637a023b8cbe98792dee9e1c79ba830958de594.tar.gz util-d637a023b8cbe98792dee9e1c79ba830958de594.tar.bz2 util-d637a023b8cbe98792dee9e1c79ba830958de594.zip | |
Tidy pear library down to used components so it can be maintained in later versions of PHP
Diffstat (limited to 'includes/pear/Text/Wiki/Render/Xhtml/Tt.php')
| -rwxr-xr-x[-rw-r--r--] | includes/pear/Text/Wiki/Render/Xhtml/Tt.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/pear/Text/Wiki/Render/Xhtml/Tt.php b/includes/pear/Text/Wiki/Render/Xhtml/Tt.php index 3cefe85..7f52284 100644..100755 --- a/includes/pear/Text/Wiki/Render/Xhtml/Tt.php +++ b/includes/pear/Text/Wiki/Render/Xhtml/Tt.php @@ -9,7 +9,7 @@ * @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: Tt.php 191862 2005-07-30 08:03:29Z toggg $ + * @version CVS: $Id$ * @link http://pear.php.net/package/Text_Wiki */ @@ -27,7 +27,7 @@ class Text_Wiki_Render_Xhtml_Tt extends Text_Wiki_Render { var $conf = array( - 'css' => null + "css" => null ); /** @@ -45,14 +45,14 @@ class Text_Wiki_Render_Xhtml_Tt extends Text_Wiki_Render { function token($options) { - if ($options['type'] == 'start') { - $css = $this->formatConf(' class="%s"', 'css'); + if ($options["type"] == "start") { + $css = $this->formatConf(' class="%s"', "css"); return "<tt$css>"; } - if ($options['type'] == 'end') { - return '</tt>'; + if ($options["type"] == "end") { + return "</tt>"; } + return ""; } -} -?> +}
\ No newline at end of file |
