input', '/\\(:fieldset\\s+(.*?):\\)/i', "InputFieldSet"); Markup('fieldsetend', 'inline', '/\\(:fieldsetend:\\)/i', ""); Markup('label', '>input', '/\\(:label\\s+(\\w+)(.*?):\\)/i', "InputLabel"); Markup('toggleboxes', '>input', '/\\(:toggleboxes\\s?(.*?):\\)/i', "ToggleBoxes"); function InputFieldSet($matches) { $legend = $matches[1]; return "
\n".($legend ? "".trim($legend, "'\" ")."\n" : ""); } function InputLabel($matches) { $id = $matches[1]; $label = $matches[2]; return ""; } function ToggleBoxes() { return "\n \n"; }