<%- @title = "All Pages" -%> <%= categories_menu unless @categories.empty? %>
<%- unless @pages_that_are_orphaned.empty? && @page_names_that_are_wanted.empty? -%>

All Pages
All pages in <%= raw @set_name %> listed alphabetically

<%- end -%> <% if [:markdownMML, :markdownPNG, :markdown].include?(@web.markup) -%> <% form_tag({ :controller => 'wiki', :action => 'tex_list', :web => @web.address }, {'method' => 'post', 'accept-charset' => 'utf-8' }) do %>
<% if params['category'] -%> <%- end -%> <%= sortable_element('sortable_pages', {:onUpdate => 'function(){}'}) %> <%= submit_tag("Export") %>
<%- end -%> <%- else -%> <%- end -%> <%- if @web.count_pages? -%> <% total_chars = @pages_in_category.characters %>

All content: <%= total_chars %> chars / approx. <%= sprintf("%-.1f", (total_chars / 2275 )) %> printed pages

<%- end -%>
<%- unless @page_names_that_are_wanted.empty? -%>

Wanted Pages
Nonexistent pages that other pages in <%= raw @set_name %> reference

<%- end -%> <%- unless @pages_that_are_orphaned.empty? -%>

Orphaned Pages
Pages in <%= raw @set_name %> that no other page reference

<%- end -%>