comparison templates/map @ 1650:f2ebd5251e88

changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
author Peter van Dijk <peter@dataloss.nl>
date Sun, 29 Jan 2006 00:18:52 +0100
parents ba625c8083d8
children e8a3df8b62b3
comparison
equal deleted inserted replaced
1649:beb7da710c8a 1650:f2ebd5251e88
1 default = "changelog" 1 default = "changelog"
2 header = header.tmpl 2 header = header.tmpl
3 footer = footer.tmpl 3 footer = footer.tmpl
4 search = search.tmpl 4 search = search.tmpl
5 changelog = changelog.tmpl 5 changelog = changelog.tmpl
6 naventry = "<a href="?cl=#rev#">#label#</a> " 6 naventry = "<a href="?cl=#rev#">#label|escape#</a> "
7 filedifflink = "<a href="?fd=#node|short#;file=#file#">#file#</a> " 7 filedifflink = "<a href="?fd=#node|short#;file=#file|urlescape#">#file|escape#</a> "
8 filenodelink = "<a href="?f=#filenode|short#;file=#file#">#file#</a> " 8 filenodelink = "<a href="?f=#filenode|short#;file=#file|urlescape#">#file|escape#</a> "
9 fileellipses = "..." 9 fileellipses = "..."
10 changelogentry = changelogentry.tmpl 10 changelogentry = changelogentry.tmpl
11 searchentry = changelogentry.tmpl 11 searchentry = changelogentry.tmpl
12 changeset = changeset.tmpl 12 changeset = changeset.tmpl
13 manifest = manifest.tmpl 13 manifest = manifest.tmpl
14 manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a>" 14 manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td><a href="?cmd=manifest;manifest=#manifest#;path=#path|urlescape#">#basename|escape#/</a>"
15 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td><a href="?f=#filenode|short#;file=#file#">#basename#</a>" 15 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td><a href="?f=#filenode|short#;file=#file|urlescape#">#basename|escape#</a>"
16 filerevision = filerevision.tmpl 16 filerevision = filerevision.tmpl
17 fileannotate = fileannotate.tmpl 17 fileannotate = fileannotate.tmpl
18 filediff = filediff.tmpl 18 filediff = filediff.tmpl
19 filelog = filelog.tmpl 19 filelog = filelog.tmpl
20 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>" 20 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>"
24 difflineminus = "<span class="minusline">#line|escape#</span>" 24 difflineminus = "<span class="minusline">#line|escape#</span>"
25 difflineat = "<span class="atline">#line|escape#</span>" 25 difflineat = "<span class="atline">#line|escape#</span>"
26 diffline = "#line|escape#" 26 diffline = "#line|escape#"
27 changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 27 changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>"
28 changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 28 changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>"
29 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" 29 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>"
30 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file#">#node|short#</a></td></tr>" 30 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>"
31 changesetchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 31 changesetchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>"
32 changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 32 changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>"
33 filerevchild = "<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" 33 filerevchild = "<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>"
34 fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file#">#node|short#</a></td></tr>" 34 fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>"
35 tags = tags.tmpl 35 tags = tags.tmpl
36 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag#</a></li>" 36 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag|escape#</a></li>"
37 diffblock = "<pre class="parity#parity#">#lines#</pre>" 37 diffblock = "<pre class="parity#parity#">#lines#</pre>"
38 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" 38 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>"
39 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" 39 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>"
40 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 40 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>"
41 filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" 41 filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>"
42 filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 42 filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>"
43 filelogchild = "<tr><td align="right">child #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" 43 filelogchild = "<tr><td align="right">child #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>"
44 indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name#</a></td><td>#shortdesc#</td><td>#contact|obfuscate#</td><td>#lastupdate|age# ago</td><td><a href="#url#?cl=tip;style=rss">RSS</a></td></tr>" 44 indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name|escape#</a></td><td>#shortdesc|escape#</td><td>#contact|obfuscate#</td><td>#lastupdate|age# ago</td><td><a href="#url#?cl=tip;style=rss">RSS</a></td></tr>"
45 index = index.tmpl 45 index = index.tmpl
46 archiveentry = "<a href="?ca=#node|short#;type=#type#">#type#</a> " 46 archiveentry = "<a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> "
47 notfound = notfound.tmpl 47 notfound = notfound.tmpl
48 error = error.tmpl 48 error = error.tmpl