1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/e107_core/bbcodes/textarea.bb

14 lines
350 B
BlitzBasic

//<?
/* Tag: [textarea name=name&style=style&row=rows&whatever=whatever]value[/textarea] */
$class = e107::getBB()->getClass('textarea');
$tastr = "";
parse_str($parm, $tmp);
foreach($tmp as $key => $p)
{
$tastr .= $tp -> toAttribute($key)." = '".$tp -> toAttribute($p)."' ";
}
return "<textarea class='{$class}' $tastr>$code_text</textarea>";