sync userpanel smarty detection with admin ui
synchronize directory detection with admin ui
fix ticket showing logic (configuration issue).