Storing type field

Storing admin them flag!
Added restriction for admin theme

Added if condition that restrict admin theme from the display.
Update ThemeManager.php
Merge pull request #2987 from dakshhmehta/patch-2

Admin Theme should not be displayed! [ Fix to #2985 ]