diff options
Diffstat (limited to 'includes/pear/Text/Wiki/Render/Xhtml/Deflist.php')
| -rwxr-xr-x[-rw-r--r--] | includes/pear/Text/Wiki/Render/Xhtml/Deflist.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/includes/pear/Text/Wiki/Render/Xhtml/Deflist.php b/includes/pear/Text/Wiki/Render/Xhtml/Deflist.php index 35225c0..c075426 100644..100755 --- a/includes/pear/Text/Wiki/Render/Xhtml/Deflist.php +++ b/includes/pear/Text/Wiki/Render/Xhtml/Deflist.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: Deflist.php 191862 2005-07-30 08:03:29Z toggg $ + * @version CVS: $Id$ * @link http://pear.php.net/package/Text_Wiki */ @@ -26,9 +26,9 @@ class Text_Wiki_Render_Xhtml_Deflist extends Text_Wiki_Render { var $conf = array( - 'css_dl' => null, - 'css_dt' => null, - 'css_dd' => null + "css_dl" => null, + "css_dt" => null, + "css_dd" => null ); /** @@ -46,40 +46,40 @@ class Text_Wiki_Render_Xhtml_Deflist extends Text_Wiki_Render { function token($options) { - $type = $options['type']; + $type = $options["type"]; $pad = " "; switch ($type) { - case 'list_start': - $css = $this->formatConf(' class="%s"', 'css_dl'); + case "list_start": + $css = $this->formatConf(' class="%s"', "css_dl"); return "<dl$css>\n"; break; - case 'list_end': + case "list_end": return "</dl>\n\n"; break; - case 'term_start': - $css = $this->formatConf(' class="%s"', 'css_dt'); + case "term_start": + $css = $this->formatConf(' class="%s"', "css_dt"); return $pad . "<dt$css>"; break; - case 'term_end': + case "term_end": return "</dt>\n"; break; - case 'narr_start': - $css = $this->formatConf(' class="%s"', 'css_dd'); + case "narr_start": + $css = $this->formatConf(' class="%s"', "css_dd"); return $pad . $pad . "<dd$css>"; break; - case 'narr_end': + case "narr_end": return "</dd>\n"; break; default: - return ''; + return ""; } } |
