
.page-header
  %h2
    %li.icon-file
    = Yii::t("app", "View")

-$directory = pathinfo($filename,PATHINFO_DIRNAME)
%h4
  =t('Current file').':'
  =$filename
  %font(size="2pt")
    %a(href="#{url('debug/EditAsText',array('filename'=>$filename))}")='['.t('Edit').']'  
%h5
  =t('Return to').' '
  %a(href="#{url('debug/fileexplorer',array('path'=>$directory))}")
    =$directory

%img(src="#{url('debug/GetFile',array('filename'=>$filename))}")