Egorpomo controller views layouts

I have made changes which described here: http://www.yiiframework.com/forum/index.php/topic/47601-paths-formats-for-layouts-and-paths-formats-for-views/.
I have made layouts path's formats similarly to views path's formats.