% layout 'mainlayout'; % if (my $loginmessage = stash 'loginmessage') { % }
%= include 'headers/_displayfolders';
<%= $loginmessage %>
% if (@$msgs) { %= include 'headers/_display_headers'; % } % else {

<%= l 'empty_folder' %>

% }