/[viewvc-templates]/file.ezt
ViewVC logotype

Contents of /file.ezt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Sun Sep 17 09:20:00 2017 UTC (15 months ago) by zsolt
File size: 4122 byte(s)
Initial version.

This version is a copy of standard ViewVC template.

1 [# ------------------------------------------------------------------------- ]
2 [# CUSTOMIZE ME: To avoid displaying "binary garbage" -- the contents of ]
3 [# files with non-human-readable file formats -- change the value of the ]
4 [# hide_binary_garbage variable below to 1. ]
5 [# ------------------------------------------------------------------------- ]
6
7 [define hide_binary_garbage]0[end]
8
9 [# ------------------------------------------------------------------------- ]
10
11 [# setup page definitions]
12 [is annotation "annotated"]
13 [define page_title]Annotation of /[where][end]
14 [else]
15 [define page_title]Contents of /[where][end]
16 [end]
17 [define help_href][docroot]/help_rootview.html[end]
18 [# end]
19
20 [include "include/header.ezt" "markup"]
21 [include "include/file_header.ezt"]
22 <hr />
23 <div class="vc_summary">
24 Revision [if-any revision_href]<a href="[revision_href]"><strong>[rev]</strong></a>[else]<strong>[rev]</strong>[end] -
25 ([is annotation "annotated"]<a href="[view_href]"><strong>hide annotations</strong></a>[else]<a href="[annotate_href]"><strong>show annotations</strong></a>[end])
26 [if-any download_href](<a href="[download_href]"><strong>download</strong></a>)[end]
27 [if-any download_text_href](<a href="[download_text_href]"><strong>as text</strong></a>)[end]
28
29 [if-any vendor_branch] <em>(vendor branch)</em>[end]
30 <br /><em>[if-any date][date][else](unknown date)[end]</em>
31 [if-any ago]([ago] ago)[end]
32 by <em>[if-any author][author][else](unknown author)[end]</em>
33 [if-any orig_path]
34 <br />Original Path: <a href="[orig_href]"><em>[orig_path]</em></a>
35 [end]
36
37 [if-any branches]
38 <br />Branch: <strong>[branches]</strong>
39 [end]
40 [if-any tags]
41 <br />CVS Tags: <strong>[tags]</strong>
42 [end]
43 [if-any branch_points]
44 <br />Branch point for: <strong>[branch_points]</strong>
45 [end]
46 [is roottype "cvs"]
47 [if-any changed]
48 <br />Changes since <strong>[prev]: [changed] lines</strong>
49 [end]
50 [end]
51 [if-any mime_type]
52 <br />File MIME type: [mime_type]
53 [end]
54 [is roottype "svn"][if-any size]
55 <br />File size: [size] byte(s)
56 [end][end]
57 [if-any lockinfo]
58 <br />Lock status: <img src="[docroot]/images/lock.png" alt="Locked" width="16" height="16" /> [lockinfo]
59 [end]
60 [is annotation "binary"]
61 <br /><strong>Unable to calculate annotation data on binary file contents.</strong>
62 [end]
63 [is annotation "error"]
64 <br /><strong>Error occurred while calculating annotation data.</strong>
65 [end]
66 [is state "dead"]
67 <br /><strong><em>FILE REMOVED</em></strong>
68 [end]
69 [if-any log]
70 <pre class="vc_log">[log]</pre>
71 [end]
72 </div>
73
74 [if-any prefer_markup][define hide_binary_garbage]0[end][end]
75 [if-any image_src_href][define hide_binary_garbage]0[end][end]
76
77 [is hide_binary_garbage "1"]
78 <p><strong>This file's contents are not viewable.
79 [if-any download_href]Please <a href="[download_href]">download</a>
80 this version of the file in order to view it.[end]</strong></p>
81 [else]
82
83 [define last_rev]0[end]
84 [define rowclass]vc_row_even[end]
85
86 [if-any lines]
87
88 <div id="vc_file">
89 <table cellspacing="0" cellpadding="0">
90 [for lines]
91 [is lines.rev last_rev]
92 [else]
93 [is lines.rev rev]
94 [define rowclass]vc_row_special[end]
95 [else]
96 [is rowclass "vc_row_even"]
97 [define rowclass]vc_row_odd[end]
98 [else]
99 [define rowclass]vc_row_even[end]
100 [end]
101 [end]
102 [end]
103
104 <tr class="[rowclass]" id="l[lines.line_number]">
105 <td class="vc_file_line_number"><a href="#l[lines.line_number]">[lines.line_number]</a></td>
106 [is annotation "annotated"]
107 <td class="vc_file_line_author">[is lines.rev last_rev]&nbsp;[else][lines.author][end]</td>
108 <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>
109 [end]
110 <td class="vc_file_line_text">[lines.text]</td>
111 </tr>
112 [define last_rev][lines.rev][end]
113 [end]
114 </table>
115 </div>
116
117 [else]
118 [if-any image_src_href]
119 <div id="vc_file_image">
120 <img src="[image_src_href]" alt="" />
121 </div>
122 [end]
123 [end]
124 [end]
125
126 [include "include/props.ezt"]
127 [include "include/footer.ezt"]

  ViewVC Help
Powered by ViewVC 1.1.26