%
var specialFolders = {
INBOX: {name:'Caixa de Entrada', classe:'inbox'},
Inbox: {name:'Caixa de Entrada', classe:'inbox'},
Trash: {name:'Lixeira', classe:'trash'},
Drafts:{name:'Rascunhos', classe:'drafts'},
Spam: {name:'Spam', classe:'spam'},
Sent: {name:'Enviados', classe:'sent'}
};
function recursive_forest(array_trees)
{
%>
<%
for(var i=0; i- <%= folder_name %>
<% if(array_trees[i].messageCount.unseen > 0){ %>
[]
<% } %>
<% if(array_trees[i].children_unseen > 0){ %>
[]
<% } %>
<%
if (array_trees[i].children.length>0)
recursive_forest(array_trees[i].children);
%>
<%
}
%>
<%
}
%>
- Minhas Pastas
<% recursive_forest(data.folders[0]); %>
<% if(data.folders[1].length > 0) { %>
- Pastas compartilhadas
<% recursive_forest(data.folders[1]); %>
<%}%>
<% if(preferences.use_local_messages == 1) { %>
- Pastas locais
<% recursive_forest(data.folders[2]); %>
<%}%>
- Para acompanhamento