1, 'right' => 1, 'center' => 1, 'justify' => 1); if (!isset($values[$align])) { return $attr; } $attr['style'] = isset($attr['style']) ? $attr['style'] : ''; $attr['style'] = "text-align:$align;" . $attr['style']; return $attr; } } ?>