Changed examples for bbcode

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@41731 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Jeremy Shipman 2007-09-14 03:31:09 +00:00 committed by Sam Minnee
parent ec32c06000
commit ad6557eb6c

View File

@ -35,7 +35,15 @@ class BBCodeParser extends TextParser {
"Title" => "Struck-out Text",
"Example" => "[s]<s>Struck-out</s>[/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",
@ -69,25 +77,11 @@ class BBCodeParser extends TextParser {
"Example" => "[code]Code block[/code]"
)),
new ArrayData(array(
"Title" => "HTML Code Block",
"Description" => "HTML-formatted code block",
"Example" => "[html]HTML code block[/html]"
)),
new ArrayData(array(
"Title" => "HTML Code Block",
"Description" => "HTML-formatted code block",
"Example" => "[code html]HTML code block[/code]"
)),
new ArrayData(array(
"Title" => "PHP Code Block",
"Description" => "PHP-formatted code block",
"Example" => "[php]PHP code block[/php]"
)),
new ArrayData(array(
"Title" => "PHP Code Block",
"Description" => "PHP-formatted code block",
"Example" => "[code php]PHP code block[/code]"
))
"Title" => "Unordered list",
"Description" => "Unordered list",
"Example" => "[ulist][*]unordered item 1[*]unordered item 2[/ulist]"
))
);
}