diff options
Diffstat (limited to 'includes/pear/Text/Wiki/Render/Xhtml/Box.php')
| -rwxr-xr-x[-rw-r--r--] | includes/pear/Text/Wiki/Render/Xhtml/Box.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/pear/Text/Wiki/Render/Xhtml/Box.php b/includes/pear/Text/Wiki/Render/Xhtml/Box.php index ef91883..7c36f36 100644..100755 --- a/includes/pear/Text/Wiki/Render/Xhtml/Box.php +++ b/includes/pear/Text/Wiki/Render/Xhtml/Box.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: Box.php 231098 2007-03-03 23:00:54Z mic $ + * @version CVS: $Id$ * @link http://pear.php.net/package/Text_Wiki */ @@ -26,7 +26,7 @@ class Text_Wiki_Render_Xhtml_Box extends Text_Wiki_Render { var $conf = array( - 'css' => 'simplebox' + "css" => "simplebox" ); /** @@ -44,18 +44,18 @@ class Text_Wiki_Render_Xhtml_Box extends Text_Wiki_Render { function token($options) { - if ($options['type'] == 'start') { - if ($options['css']) { - $css = ' class="' . $options['css']. '"'; + if ($options["type"] == "start") { + if ($options["css"]) { + $css = ' class="' . $options["css"]. '"'; } else { - $css = $this->formatConf(' class="%s"', 'css'); + $css = $this->formatConf(' class="%s"', "css"); } return "<div $css>"; } - if ($options['type'] == 'end') { - return '</div>'; + if ($options["type"] == "end") { + return "</div>"; } } } |
