summaryrefslogtreecommitdiffabout
path: root/htdocs/ancestry
Side-by-side diff
Diffstat (limited to 'htdocs/ancestry') (more/less context) (ignore whitespace changes)
-rw-r--r--htdocs/ancestry/layout.chtml12
-rw-r--r--htdocs/ancestry/page.chtml4
-rw-r--r--htdocs/ancestry/sources.chtml3
3 files changed, 16 insertions, 3 deletions
diff --git a/htdocs/ancestry/layout.chtml b/htdocs/ancestry/layout.chtml
index 11bd74a..6147d37 100644
--- a/htdocs/ancestry/layout.chtml
+++ b/htdocs/ancestry/layout.chtml
@@ -1,11 +1,16 @@
% html(); return; /* vim:set ft=sitecing: */
%%derive page = "/ancestry/page.chtml";
%%impl #include "acconfig.h"
+%%var bool b_svn = false;
+<%constructor>
+ if(strstr(PACKAGE_STRING,"svn"))
+ b_svn = true;
+</%constructor>
<%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)) {
@@ -16,18 +21,23 @@
<div id="sidepanel">
% sidepanel();
</div>
</%method>
<%method void content() %>
</%method>
<%method void sidepanel() %>
<h1><% PACKAGE_STRING %></h1>
+% if(b_svn) {
+ <h2>The site is running source from the source repository which may differ
+ from the one available for download. You can check it out from the <a
+ href="http://kin.klever.net/sitecing/repository">source repository</a>.</h2>
+% }
% /* 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>
+ <ul><li><a href="/" title="introduction to site-C-ing">overview</a><ul><li><a href="/simple" title="building a really simple page">simple page</a></li></ul></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>
diff --git a/htdocs/ancestry/page.chtml b/htdocs/ancestry/page.chtml
index 28bf7f0..5bec31e 100644
--- a/htdocs/ancestry/page.chtml
+++ b/htdocs/ancestry/page.chtml
@@ -7,18 +7,18 @@
% if(b_strict){
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
% }else{
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
% }
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
% __SCIF->headers["Content-Type"] = "text/html";
- <title><% title() %></title>
- <meta name="copyright" content="Copyright (c) 1996-2005 Klever Group"/>
+ <title>site-C-ing: <% title() %></title>
+ <meta name="copyright" content="Copyright (c) 2005 Klever Group"/>
<link rel="stylesheet" href="/style.css" type="text/css" />
</head>
<body>
% body();
</body>
</html>
</%method>
<%codemethod string title() %>
diff --git a/htdocs/ancestry/sources.chtml b/htdocs/ancestry/sources.chtml
index eb9c790..35ced64 100644
--- a/htdocs/ancestry/sources.chtml
+++ b/htdocs/ancestry/sources.chtml
@@ -29,16 +29,19 @@
{ "conf", "sitecing.conf.in", "the template for the site-C-ing configuration" },
{ 0, 0, 0 },
{ "htdocs", 0, "the source files" },
{ "htdocs", ".htaccess", "apache access-control file" },
{ "htdocs", "index.chtml", "the introduction" },
{ "htdocs", "sources.chtml", "the source browser" },
{ "htdocs", "style.css", "the CSS style sheet" },
{ "htdocs", "view.chtml", "the source viewer" },
+ { "htdocs/examples", 0, "examples" },
+ { "htdocs/examples", "calendar.chtml", "really simple page" },
+ { 0,0,0 },
{ "htdocs/exceptions", 0, "exceptions handling overview" },
{ "htdocs/exceptions", "index.chtml", "the overview" },
{ "htdocs/exceptions", "preprocess.chtml", "preprocessor exceptions" },
{ "htdocs/exceptions", "compile.chtml", "compile-time exceptions" },
{ "htdocs/exceptions", "runtime.chtml", "runtime exceptions" },
{ "htdocs/exceptions/development", 0, "development-mode exceptions samples" },
{ "htdocs/exceptions/development", ".htaccess", "apache access control file" },
{ "htdocs/exceptions/development", ".scrc", "site-C-ing local configuration" },