Known Bugs/Fixes:
None
*/
function getWarningType($type)
{
    $types = array(RES_WARNING_ACTIVE => "Active Warning", RES_WARNING_NOTE => "Notification", RES_WARNING_INACTIVE => "Inactive Warning");
    return $types[$type];
}