summaryrefslogtreecommitdiff
blob: 9ced2b5c62a689ef67ab6c503a9df4684970e8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[# ------------------------------------------------------------------------- ]
[# CUSTOMIZE ME: To avoid displaying "binary garbage" -- the contents of     ]
[# files with non-human-readable file formats -- change the value of the     ]
[# hide_binary_garbage variable below to 1.                                  ]
[# ------------------------------------------------------------------------- ]

[define hide_binary_garbage]0[end]

[# ------------------------------------------------------------------------- ]

[# setup page definitions]
  [define page_title]Contents of /[where][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "markup"]
[include "include/file_header.ezt"]
<hr />
<div class="vc_summary">
Revision [if-any revision_href]<a href="[revision_href]"><strong>[rev]</strong></a>[else]<strong>[rev]</strong>[end] -
([is annotation "annotated"]<a href="[view_href]"><strong>hide annotations</strong></a>[else]<a href="[annotate_href]"><strong>show annotations</strong></a>[end])
[if-any download_href](<a href="[download_href]"><strong>download</strong></a>)[end]
[if-any download_text_href](<a href="[download_text_href]"><strong>as text</strong></a>)[end]

[if-any vendor_branch] <em>(vendor branch)</em>[end]
<br /><em>[if-any date][date][else](unknown date)[end]</em>
      [if-any ago]([ago] ago)[end]
      by <em>[if-any author][author][else](unknown author)[end]</em>
[if-any orig_path]
  <br />Original Path: <a href="[orig_href]"><em>[orig_path]</em></a>
[end]

[if-any branches]
  <br />Branch: <strong>[branches]</strong>
[end]
[if-any tags]
  <br />CVS Tags: <strong>[tags]</strong>
[end]
[if-any branch_points]
  <br />Branch point for: <strong>[branch_points]</strong>
[end]
[is roottype "cvs"]
  [if-any changed]
    <br />Changes since <strong>[prev]: [changed] lines</strong>
  [end]
[end]
[if-any mime_type]
  <br />File MIME type: [mime_type]
[end]
[is roottype "svn"][if-any size]
  <br />File size: [size] byte(s)
[end][end]
[if-any lockinfo]
  <br />Lock status: <img src="[docroot]/images/lock.png" alt="Locked" width="16" height="16" /> [lockinfo]
[end]
[is annotation "binary"]
  <br /><strong>Unable to calculate annotation data on binary file contents.</strong>
[end]
[is annotation "error"]
  <br /><strong>Error occurred while calculating annotation data.</strong>
[end]
[is state "dead"]
  <br /><strong><em>FILE REMOVED</em></strong>
[end]
[if-any log]
  <pre class="vc_log">[log]</pre>
[end]
</div>

[if-any prefer_markup][define hide_binary_garbage]0[end][end]
[if-any image_src_href][define hide_binary_garbage]0[end][end]

[is hide_binary_garbage "1"]
<p><strong>This file's contents are not viewable.
   [if-any download_href]Please <a href="[download_href]">download</a>
   this version of the file in order to view it.[end]</strong></p>
[else]

[define last_rev]0[end]
[define rowclass]vc_row_even[end]

[if-any lines]

<div id="vc_file">
<table cellspacing="0" cellpadding="0">
[for lines]
  [is lines.rev last_rev]
  [else]
    [is lines.rev rev]
      [define rowclass]vc_row_special[end]
    [else]
      [is rowclass "vc_row_even"]
        [define rowclass]vc_row_odd[end]
      [else]
        [define rowclass]vc_row_even[end]
      [end]
    [end]
  [end]

  <tr class="[rowclass]" id="l[lines.line_number]">
    <td class="vc_file_line_number">[lines.line_number]</td>
[is annotation "annotated"]
    <td class="vc_file_line_author">[is lines.rev last_rev]&nbsp;[else][lines.author][end]</td>
    <td class="vc_file_line_rev">[is lines.rev last_rev]&nbsp;[else][if-any lines.diff_href]<a href="[lines.diff_href]">[end][lines.rev][if-any lines.diff_href]</a>[end][end]</td>
[end]
    <td class="vc_file_line_text">[lines.text]</td>
  </tr>
  [define last_rev][lines.rev][end]
[end]
</table>
</div>

[else]
[if-any image_src_href]
<div id="vc_file_image">
<img src="[image_src_href]" alt="" />
</div>
[end]
[end]
[end]

[include "include/props.ezt"]
[include "include/footer.ezt"]