public static function icon($name, $color = '')
		{
			if (is_bool($name))
			{
				$color = $name ? 'success' : 'danger';
				$name = $name ? 'check' : 'times';
			}
			$class = "icon fa fa-$name";
			$style = '';
			if (preg_match('/(info|success|warning|danger)/', $color))
			{
				$class .= ' text-' . $color;
			}
			else if ($color !== '')
			{
				$style = ' style="color:' .$color. '"';
			}
			return '<i class="' .$class. '" ' .$style. '></i>';
		}