xshagua/MiniCMS — pull request #1 by waynewex (2012-10-23 10:50:17+00:00)
Title: IF to Switch

Changed IF to Switch for readability and extensibility. Inclusion of Ternary operator for default value.