kito2
www.masteria.net
Hey,
Does anyone knows how to add to the current tags the option to do:
The current tags are like this:
Thanks in advice!
Does anyone knows how to add to the current tags the option to do:
Code:
[url=https://mtibia.online/intro]TEXT[/url]
The current tags are like this:
PHP:
$tags = array(
'[center]{$1}[/center]' => '<center>$1</center>',
'[b]{$1}[/b]' => '<b>$1</b>',
'[img]{$1}[/img]' => '<a href="$1" target="_BLANK"><img src="$1" alt="image" style="width: 100%"></a>',
'[link]{$1}[/link]' => '<a href="$1">$1</a>',
'[link={$1}]{$2}[/link]' => '<a href="$1" target="_BLANK">$2</a>',
'[color={$1}]{$2}[/color]' => '<font color="$1">$2</font>',
'[*]{$1}[/*]' => '<li>$1</li>',
);
Thanks in advice!