From 870963df2dac72e433fd7f94cd1cccc8cd6ea2d0 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 02 Feb 2005 22:30:27 +0000 Subject: 1. changed version to -svn 2. added a really simple page example 3. removed 'border=' attribute from iframe 4. added notice about svn version 5. added 'site-C-ing:' prefix to the title --- (limited to 'htdocs/ancestry/layout.chtml') 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,6 +1,11 @@ % 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; + <%method void body() %>
<%code> @@ -21,8 +26,13 @@ <%method void sidepanel() %>

<% PACKAGE_STRING %>

+% if(b_svn) { +

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 source repository.

+% } % /* thank MSIE for this awful formatting */ - + <%code> if(!access(WEB_RUN_ROOT "/conf/banner_side",R_OK)) { pass_file_through(WEB_RUN_ROOT "/conf/banner_side"); -- cgit v0.9.0.2