summaryrefslogtreecommitdiffabout
path: root/htdocs/sources.chtml
authorMichael Krelin <hacker@klever.net>2005-04-25 17:07:02 (UTC)
committer Michael Krelin <hacker@klever.net>2005-04-25 17:07:02 (UTC)
commit33efe232e5ed39c2dcb486fc1c381f09654c0126 (patch) (unidiff)
tree967b0c795cc8c407234640ed196c18c259394f6a /htdocs/sources.chtml
parentdc836540970e798a91ae9460690e4462365e770a (diff)
downloadsitecing-33efe232e5ed39c2dcb486fc1c381f09654c0126.zip
sitecing-33efe232e5ed39c2dcb486fc1c381f09654c0126.tar.gz
sitecing-33efe232e5ed39c2dcb486fc1c381f09654c0126.tar.bz2
1. -svn-ed version
2. made changes necessary to get along well with recent konforka-sitecing changes
Diffstat (limited to 'htdocs/sources.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r--htdocs/sources.chtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/htdocs/sources.chtml b/htdocs/sources.chtml
index 268b0e0..57a03e9 100644
--- a/htdocs/sources.chtml
+++ b/htdocs/sources.chtml
@@ -3,8 +3,9 @@
3%%derive sources = "/ancestry/sources.chtml"; 3%%derive sources = "/ancestry/sources.chtml";
4%%pragma main=page 4%%pragma main=page
5<%impl> 5<%impl>
6 #include <sitecing/sitecing_util.h> 6 #include <sitecing/sitecing_util.h>
7 #include <konforka/util.h>
7</%impl> 8</%impl>
8<%constructor> 9<%constructor>
9 b_strict = false; 10 b_strict = false;
10 PN_PREV("/quickref/metasyntax","syntax","meta syntax"); 11 PN_PREV("/quickref/metasyntax","syntax","meta syntax");
@@ -30,11 +31,11 @@
30% } 31% }
31 </ul> 32 </ul>
32 33
33 <%code> 34 <%code>
34 string rfile = sitecing::normalize_path( 35 string rfile = konforka::normalize_path(
35 sitecing::strip_prefix(__CGI->get_meta("PATH_INFO"),"/sources.chtml"), 36 sitecing::strip_prefix(__CGI->get_meta("PATH_INFO"),"/sources.chtml"),
36 sitecing::restrict_dotdot|sitecing::strip_leading_slash ); 37 konforka::restrict_dotdot|konforka::strip_leading_slash );
37 if(rfile.empty()) 38 if(rfile.empty())
38 rfile = "about:blank"; 39 rfile = "about:blank";
39 else 40 else
40 rfile = "/view/"+rfile; 41 rfile = "/view/"+rfile;