mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
14 lines
374 B
BlitzBasic
14 lines
374 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 .= e107::getParser()->toAttribute($key)." = '".e107::getParser()->toAttribute($p)."' ";
|
|
}
|
|
return "<textarea class='{$class}' $tastr>$code_text</textarea>";
|