'.$message.'

'; } } /** * Form element wrapper * @return string */ public static function wrap_form($label, $element) { static $occurances = 0; $occurances++; return '
'.str_replace('id="sinput"', 'id="sinput_'.$occurances.'"', $element).'
'; } }