Less restrictive anti-bandwidth-theft code. Fixes a problem
[cocanwiki.git] / templates / what_links_here.html
index 16ed0bf..865dad3 100644 (file)
@@ -2,47 +2,35 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <title>What links to ::title_html::</title>
-<meta name="robots" content="noindex,nofollow"/>
 <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>What links to ::title_html::</h1>
+<h1><span>What links to ::title_html::</span></h1>
 
 <p>
-List of pages which link to
+List of pages which link directly to
 <a href="/::page_html_tag::">::title_html::</a>:
 </p>
 
+::if(pages_empty)::
+<p><em>(No pages directly link here.)</em></p>
+::else::
 <ul>
 ::table(pages)::
 <li> <a href="/::page_html_tag::">::title_html::</a> </li>
 ::end::
 </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>
+::if(in_sitemenu)::
+<p>
+In addition, this page is in the site-wide menu, which
+effectively means that every page links to it.
+</p>
+::end::
 
+::include(footer.html)::
 </body>
 </html>
\ No newline at end of file