/** * Gera um botão **/ function button($caption, $attributes = array()) { $str = ""; $str = "<button " . _attributes($attributes) . ">" . $caption . "</button>\n"; return $str; }
function hr($attributes = '') { return "<hr" . _attributes($attributes) . "/>\n"; }