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
Raw Normal View History

//<?
2006-12-02 04:36:16 +00:00
/* Tag: [textarea name=name&style=style&row=rows&whatever=whatever]value[/textarea] */
$class = e107::getBB()->getClass('textarea');
2006-12-02 04:36:16 +00:00
$tastr = "";
parse_str($parm, $tmp);
foreach($tmp as $key => $p)
{
2007-01-08 21:11:36 +00:00
$tastr .= $tp -> toAttribute($key)." = '".$tp -> toAttribute($p)."' ";
2006-12-02 04:36:16 +00:00
}
return "<textarea class='{$class}' $tastr>$code_text</textarea>";