summaryrefslogtreecommitdiffabout
path: root/htdocs/ancestry/layout.chtml
Side-by-side diff
Diffstat (limited to 'htdocs/ancestry/layout.chtml') (more/less context) (show whitespace changes)
-rw-r--r--htdocs/ancestry/layout.chtml35
1 files changed, 35 insertions, 0 deletions
diff --git a/htdocs/ancestry/layout.chtml b/htdocs/ancestry/layout.chtml
new file mode 100644
index 0000000..11bd74a
--- a/dev/null
+++ b/htdocs/ancestry/layout.chtml
@@ -0,0 +1,35 @@
+% html(); return; /* vim:set ft=sitecing: */
+%%derive page = "/ancestry/page.chtml";
+%%impl #include "acconfig.h"
+<%method void body() %>
+ <div id="content">
+ <%code>
+ if(!access(WEB_RUN_ROOT "/conf/banner_top",R_OK)) {
+ pass_file_through(WEB_RUN_ROOT "/conf/banner_top");
+ }
+ content();
+ if(b_strict && !access(WEB_RUN_ROOT "/conf/banner_bottom",R_OK)) {
+ pass_file_through(WEB_RUN_ROOT "/conf/banner_bottom");
+ }
+ </%code>
+ </div>
+ <div id="sidepanel">
+% sidepanel();
+ </div>
+</%method>
+<%method void content() %>
+</%method>
+<%method void sidepanel() %>
+ <h1><% PACKAGE_STRING %></h1>
+% /* thank MSIE for this awful formatting */
+ <ul><li><a href="/" title="introduction to site-C-ing">intro</a></li><li><a href="/exceptions/" title="exceptions handling">exceptions</a><ul><li><a href="/exceptions/preprocess" title="preprocessor errors">preprocess</a></li><li><a href="/exceptions/compile" title="compiler errors">compile-time</a></li><li><a href="/exceptions/runtime" title="runtime exceptions">runtime</a></li></ul></li><li><a href="/sources" title="browse this site source files">sources</a></li></ul>
+ <%code>
+ if(!access(WEB_RUN_ROOT "/conf/banner_side",R_OK)) {
+ pass_file_through(WEB_RUN_ROOT "/conf/banner_side");
+ }
+ </%code>
+ <ul><li><a href="http://kin.klever.net/sitecing/" title="main site-C-ing page">site-C-ing</a></li><li><a href="http://kin.klever.net/sitecing/sources" title="site-C-ing download page">downloads</a></li></ul>
+ <div class="copyright">
+ &copy; <a href="http://www.klever.net/">Klever Group</a>
+ </div>
+</%method>