array("#F0FF69","#FFFB3E"), "error" => array("#FFDDCC","#FF0000"), "info" => array("#9BFB66","#039C00") ); function buildMessage($msg, $t="warning"){ GLOBAL $template; $temp = new Template($template["message"]); $temp->replace_tags(array( "message_color" => $this->type[$t][0], "message_color_border" => $this->type[$t][1], "message" => $msg )); return $temp->getOutput(); } } ?>