% html(); return; /* vim:set ft=sitecing: */ %%derive page = "/ancestry/page.chtml"; <%decl> #define PN_PREV(h,d,t) urlPrev=h; descPrev=d; titlePrev=t; #define PN_NEXT(h,d,t) urlNext=h; descNext=d; titleNext=t; %%impl #include %%impl #include "acconfig.h" %%var bool b_svn = false; %%var std::string urlPrev; %%var std::string descPrev; %%var std::string titlePrev; %%var std::string urlNext; %%var std::string descNext; %%var std::string titleNext; <%constructor> if(strstr(PACKAGE_STRING,"svn")) b_svn = true; <%method void prevnext() %> % if(urlPrev.empty() && urlNext.empty()) return; % if(descPrev.empty() && descNext.empty()) return;
% if(!(urlPrev.empty() || descPrev.empty())) { ◄  <% sitecing::html_escape(descPrev) %> % } % if(!(urlNext.empty() || descNext.empty())) { <% sitecing::html_escape(descNext) %>  ► % }
<%method void body() %>
<%code> if(!access(WEB_RUN_ROOT "/conf/banner_top",R_OK)) { pass_file_through(WEB_RUN_ROOT "/conf/banner_top"); } prevnext(); content(); if(b_strict && !access(WEB_RUN_ROOT "/conf/banner_bottom",R_OK)) { pass_file_through(WEB_RUN_ROOT "/conf/banner_bottom"); }
% sidepanel();
<%method void content() %> <%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"); }