"Bold Text", "Example" => "[b]Bold[/b]" )), new ArrayData(array( "Title" => "Italic Text", "Example" => "[i]Italics[/i]" )), new ArrayData(array( "Title" => "Underlined Text", "Example" => "[u]Underlined[/u]" )), new ArrayData(array( "Title" => "Struck-out Text", "Example" => "[s]Struck-out[/s]" )), new ArrayData(array( "Title" => "Colored text", "Example" => "[color=blue]blue text[/color]" )), new ArrayData(array( "Title" => "Alignment", "Example" => "[align=right]right aligned[/align]" )), new ArrayData(array( "Title" => "Website link", "Description" => "Link to another website or URL", "Example" => "[url]http://www.website.com/[/url]" )), new ArrayData(array( "Title" => "Website link", "Description" => "Link to another website or URL", "Example" => "[url=http://www.website.com/]Some website[/url]" )), new ArrayData(array( "Title" => "Email link", "Description" => "Create link to an email address", "Example" => "[email]you@yoursite.com[/email]" )), new ArrayData(array( "Title" => "Email link", "Description" => "Create link to an email address", "Example" => "[email=you@yoursite.com]email me[/email]" )), new ArrayData(array( "Title" => "Image", "Description" => "Show an image in your post", "Example" => "[img]http://www.website.com/image.jpg[/img]" )), new ArrayData(array( "Title" => "Code Block", "Description" => "Unformatted code block", "Example" => "[code]Code block[/code]" )), new ArrayData(array( "Title" => "Unordered list", "Description" => "Unordered list", "Example" => "[ulist][*]unordered item 1[*]unordered item 2[/ulist]" )) ); } function useable_tagsHTML(){ $useabletags = ""; } function parse() { $this->content = str_replace(array('&', '<', '>'), array('&', '<', '>'), $this->content); $this->content = SSHTMLBBCodeParser::staticQparse($this->content); $this->content = "

".$this->content."

"; $this->content = str_replace("\n\n", "

", $this->content); $this->content = str_replace("\n", "
", $this->content); return $this->content; } } ?>