summaryrefslogtreecommitdiffabout
path: root/htdocs/sources.chtml
Unidiff
Diffstat (limited to 'htdocs/sources.chtml') (more/less context) (show whitespace changes)
-rw-r--r--htdocs/sources.chtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/sources.chtml b/htdocs/sources.chtml
index 6341f49..8c0c701 100644
--- a/htdocs/sources.chtml
+++ b/htdocs/sources.chtml
@@ -1,33 +1,33 @@
1% html(); return; /* vim:set ft=sitecing: */ 1% html(); return; /* vim:set ft=sitecing: */
2%%derive layout = "/ancestry/layout.chtml"; 2%%derive layout = "/ancestry/layout.chtml";
3%%derive sources = "/ancestry/sources.chtml"; 3%%derive sources = "/ancestry/sources.chtml";
4<%impl> 4<%impl>
5 #include <sitecing/sitecing_util.h> 5 #include <sitecing/sitecing_util.h>
6</%impl> 6</%impl>
7<%constructor> 7<%constructor>
8 b_strict = false; 8 b_strict = false;
9 PN_PREV("/exceptions/runtime","runtime","runtime exceptions"); 9 PN_PREV("/quickref/metasyntax","syntax","meta syntax");
10</%constructor> 10</%constructor>
11<%codemethod string title() %> 11<%codemethod string title() %>
12 return "runtime exceptions handling"; 12 return "runtime exceptions handling";
13</%codemethod> 13</%codemethod>
14<%method void content() %> 14<%method void content() %>
15 <h1>browse this site sources</h1> 15 <h1>browse this site sources</h1>
16 16
17 <ul class="sourcebrowser"> 17 <ul class="sourcebrowser">
18% for(int n=0;n<source_files_count;n++) { 18% for(int n=0;n<source_files_count;n++) {
19% sourcefile_t& sf = source_files[n]; 19% sourcefile_t& sf = source_files[n];
20% if(!sf.name) { /* the beginning or the end of the directory */ 20% if(!sf.name) { /* the beginning or the end of the directory */
21% if(sf.dir) { /* the beginning */ 21% if(sf.dir) { /* the beginning */
22 <li class="dir"><% sf.dir %>/<ul class="dir"> 22 <li class="dir"><% sf.dir %>/<ul class="dir">
23% }else{ /* the end */ 23% }else{ /* the end */
24 </ul></li> 24 </ul></li>
25% } 25% }
26% }else{ 26% }else{
27 <li class="file"><a href="/view/<% sf.dir %>/<% sf.name %>" title="<% sf.desc %>" target="insert"><% sf.name %></a></li> 27 <li class="file"><a href="/view/<% sf.dir %>/<% sf.name %>" title="<% sf.desc %>" target="insert"><% sf.name %></a></li>
28% } 28% }
29% } 29% }
30 </ul> 30 </ul>
31 31
32 <%code> 32 <%code>
33 string rfile = sitecing::normalize_path( 33 string rfile = sitecing::normalize_path(