diff options
Diffstat (limited to 'includes/pear/Text/Wiki/Render/Xhtml/Phplookup.php')
| -rwxr-xr-x[-rw-r--r--] | includes/pear/Text/Wiki/Render/Xhtml/Phplookup.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/pear/Text/Wiki/Render/Xhtml/Phplookup.php b/includes/pear/Text/Wiki/Render/Xhtml/Phplookup.php index e77b0b7..cf9471d 100644..100755 --- a/includes/pear/Text/Wiki/Render/Xhtml/Phplookup.php +++ b/includes/pear/Text/Wiki/Render/Xhtml/Phplookup.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: Phplookup.php 231896 2007-03-15 00:08:47Z justinpatrin $ + * @version CVS: $Id$ * @link http://pear.php.net/package/Text_Wiki */ @@ -26,8 +26,8 @@ class Text_Wiki_Render_Xhtml_Phplookup extends Text_Wiki_Render { var $conf = array( - 'target' => '_blank', - 'css' => null + "target" => "_blank", + "css" => null ); @@ -46,15 +46,15 @@ class Text_Wiki_Render_Xhtml_Phplookup extends Text_Wiki_Render { function token($options) { - $text = trim($options['text']); - $css = $this->formatConf(' class="%s"', 'css'); + $text = trim($options["text"]); + $css = $this->formatConf(' class="%s"', "css"); // start the html $output = "<a$css"; // are we targeting another window? - $target = $this->getConf('target', ''); - if ($target && $target != '_self') { + $target = $this->getConf("target", ""); + if ($target && $target != "_self") { // use a "popup" window. this is XHTML compliant, suggested by // Aaron Kalin. uses the $target as the new window name. $target = $this->textEncode($target); @@ -63,7 +63,7 @@ class Text_Wiki_Render_Xhtml_Phplookup extends Text_Wiki_Render { } // take off the final parens for functions - if (substr($text, -2) == '()') { + if (substr($text, -2) == "()") { $q = substr($text, 0, -2); } else { $q = $text; |
