Asynchronous updates.
[cocanwiki.git] / templates / host_menu.html
index 940b65c..322dda0 100644 (file)
@@ -1,13 +1,45 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-<title>Global settings</title>
-<meta name="robots" content="noindex,nofollow"/>
+<title>Sitewide settings</title>
 <meta name="author" content="http://www.merjis.com/" />
 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
+<link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
 </head><body>
 
-<h1>Global settings</h1>
+<h1><span>Sitewide settings</span></h1>
+
+<h2>Interesting pages and links</h2>
+
+<ul>
+<li> <a href="/_bin/orphans.cmo">Orphan pages</a> <em>(Pages which cannot be reached from the front page just by clicking links, but which still appear in the <a href="/_sitemap">sitemap</a>)</em> </li>
+<li> <a href="/_bin/broken_links.cmo">Broken links</a> <em>(Links to pages which don't exist, and the pages where they appear)</em> </li>
+<li> <a href="/_bin/largest_pages.cmo">Largest pages</a> <em>(Pages ordered by size)</em> </li>
+<li> <a href="/_bin/dead_ends.cmo">Dead end pages</a> <em>(Pages which don't link to any other page inside the site)</em> </li>
+</ul>
+
+<h2>Site management</h2>
+
+<ul>
+<li> <a href="/_bin/edit_sitemenu.cmo">Edit site menu</a> </li>
+
+::if(can_manage_users)::
+<li> <a href="/_users">Users</a> </li>
+::end::
+
+::if(can_manage_contacts)::
+<li> <a href="/_bin/contacts.cmo">Contact forms</a> </li>
+::end::
+
+::if(can_edit_global_css)::
+<li> <a href="/_bin/edit_host_css_form.cmo">Edit global stylesheet</a> </li>
+::end::
+
+</ul>
+
+::if(can_manage_site)::
+
+<h2>Site settings</h2>
 
 <table class="left_table">
 <tr>
 <tr>
 <th> Global stylesheet: </th>
 <td> ::if(has_global_css)::<a href="/_global.css">View global stylesheet</a>::else::No global stylesheet for this site.::end::<br/>
-<a href="/_bin/edit_host_css_form.cmo">Edit global stylesheet ...</a> </td>
+::if(can_edit_global_css)::
+<a href="/_bin/edit_host_css_form.cmo">Edit global stylesheet ...</a>
+::end::
+</td>
+</tr>
+<tr>
+<th> Allow anyone to see the site: </th>
+<td> ::if(view_anon)::Yes::else::No (private / intranet site)::end:: </td>
 </tr>
 <tr>
 <th> Allow anonymous edits: </th>
 <td> ::if(search_box)::Yes::else::No::end:: </td>
 </tr>
 <tr>
+<th> Navigation box: </th>
+<td> ::if(navigation)::Yes::else::No::end:: </td>
+</tr>
+<tr>
 <th> Theme: </th>
 <td> ::if(has_theme_css)::<strong>::theme_name_html::</strong> <br/> ::theme_description_html:: ::else:: Standard wiki theme ::end:: </td>
 </tr>
 <th> Feedback email address: </th>
 <td> ::if(has_feedback_email):: <code>::feedback_email_html::</code> ::else:: None set up yet. ::end:: </td>
 </tr>
+<tr>
+<th> Branding: </th>
+<td>
+  ::if(has_brand)::
+  <strong>::brand_html::</strong><br/>
+  Tagline: ::brand_tagline_html:: <br/>
+  Description: ::brand_description_html::
+  ::else::
+  None set up yet.
+  ::end::
+</td>
+</tr>
 </table>
 
 <p>
 <ul>
 <li> <a href="/_bin/rebuild_links.cmo">Rebuild link structure</a>
 </ul>
-
-<ul id="topmenu" class="menu">
-<li class="first"> <a href="/">Home&nbsp;page</a> </li>
-<li> <a href="/_sitemap">Sitemap</a> </li>
-<li> <a href="/_recent">Recent&nbsp;changes</a> </li>
-</ul>
-
-<div id="menu_div">
-<ul id="bottommenu" class="menu">
-<li class="first"> <a href="/">Home&nbsp;page</a> </li>
-::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
 ::end::
-<li> <a href="/_sitemap">Sitemap</a> </li>
-</ul>
-</div>
-
-<div id="footer_div">
-<hr/>
-
-<ul id="footer" class="menu">
-<li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
-<li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
-</ul>
-</div>
 
+::include(footer.html)::
 </body>
 </html>
\ No newline at end of file