comparison templates/map @ 1901:c64bef3d7043

use safer string parser for template engine.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 27 Feb 2006 09:35:43 -0800
parents 4b1e0dc913bf
children 90ee844b9f71
comparison
equal deleted inserted replaced
1900:f2815605186e 1901:c64bef3d7043
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|escape#</a> " 6 naventry = '<a href="?cl=#rev#">#label|escape#</a> '
7 filedifflink = "<a href="?fd=#node|short#;file=#file|urlescape#">#file|escape#</a> " 7 filedifflink = '<a href="?fd=#node|short#;file=#file|urlescape#">#file|escape#</a> '
8 filenodelink = "<a href="?f=#filenode|short#;file=#file|urlescape#">#file|escape#</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|urlescape#">#basename|escape#/</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|urlescape#">#basename|escape#</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>'
21 filelogentry = filelogentry.tmpl 21 filelogentry = filelogentry.tmpl
22 annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cs=#node|short#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>" 22 annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="?cs=#node|short#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>'
23 difflineplus = "<span class="plusline">#line|escape#</span>" 23 difflineplus = '<span class="plusline">#line|escape#</span>'
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|urlescape#">#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 filerename = "<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#file|escape#@#node|short#</a></td></tr>" 30 filerename = '<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#file|escape#@#node|short#</a></td></tr>'
31 filelogrename = "<tr><td align="right">base:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#file|escape#@#node|short#</a></td></tr>" 31 filelogrename = '<tr><td align="right">base:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#file|escape#@#node|short#</a></td></tr>'
32 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>" 32 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
33 changesetchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 33 changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>'
34 changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 34 changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>'
35 filerevchild = "<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" 35 filerevchild = '<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
36 fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>" 36 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
37 tags = tags.tmpl 37 tags = tags.tmpl
38 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag|escape#</a></li>" 38 tagentry = '<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag|escape#</a></li>'
39 diffblock = "<pre class="parity#parity#">#lines#</pre>" 39 diffblock = '<pre class="parity#parity#">#lines#</pre>'
40 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>" 40 changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
41 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>" 41 changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
42 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 42 filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>'
43 filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" 43 filelogparent = '<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
44 filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" 44 filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>'
45 filelogchild = "<tr><td align="right">child #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" 45 filelogchild = '<tr><td align="right">child #rev#:&nbsp;</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>'
46 indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name|escape#</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>" 46 indexentry = '<tr class="parity#parity#"><td><a href="#url#">#name|escape#</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>'
47 index = index.tmpl 47 index = index.tmpl
48 archiveentry = "<a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> " 48 archiveentry = '<a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> '
49 notfound = notfound.tmpl 49 notfound = notfound.tmpl
50 error = error.tmpl 50 error = error.tmpl