BUG: open ticket 7678 fixing usable_tags to send an array to ArrayList

This commit is contained in:
Kirk Mayo 2012-07-18 17:02:31 +12:00
parent 1a91431d39
commit 9e1f7421f5

View File

@ -64,6 +64,7 @@ class BBCodeParser extends TextParser {
static function usable_tags() {
return new ArrayList(
array(
new ArrayData(array(
"Title" => _t('BBCodeParser.BOLD', 'Bold Text'),
"Example" => '[b]<b>'._t('BBCodeParser.BOLDEXAMPLE', 'Bold').'</b>[/b]'
@ -123,6 +124,7 @@ class BBCodeParser extends TextParser {
"Description" => _t('BBCodeParser.LINKDESCRIPTION', 'Link to another website or URL'),
"Example" => "[url=http://www.website.com/]Website[/url]"
))
)
);
}