bagder: curl-www/viewvc-templates README, NONE, 1.1 diff.ezt, NONE, 1.1 dir_new.ezt, NONE, 1.1 directory.ezt, NONE, 1.1 error.ezt, NONE, 1.1 file.ezt, NONE, 1.1 graph.ezt, NONE, 1.1 log.ezt, NONE, 1.1 log_table.ezt, NONE, 1.1 query.ezt, NONE, 1.1 query_form.ezt, NONE, 1.1 query_results.ezt, NONE, 1.1 revision.ezt, NONE, 1.1 roots.ezt, NONE, 1.1 rss.ezt, NONE, 1.1

[email protected] Mon, 28 Sep 2009 08:58:45 +0000
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/viewvc-templates
In directory giant.haxx.se:/var/tmp/cvs-serv25563

Added Files:
	README diff.ezt dir_new.ezt directory.ezt error.ezt file.ezt 
	graph.ezt log.ezt log_table.ezt query.ezt query_form.ezt 
	query_results.ezt revision.ezt roots.ezt rss.ezt 
Log Message:
the entire viewvc template dir, for maximum customizabilty of the viewvc
output


--- NEW FILE: rss.ezt ---
<?xml version="1.0"?>
<rss version="2.0">
<channel>
    <link>[rss_link_href]</link>
    <title>[rootname] checkins[if-any where] (in [where])[end]</title>

    <description>[is roottype "svn"]Subversion[else]CVS[end] commits to the[if-any where] [where] directory of the[end] [rootname] repository</description>

	[for commits]<item>
        <title>[if-any commits.rev][commits.rev]: [end][[commits.author]] [commits.short_log]</title>
		[if-any commits.rss_url]<link>[commits.rss_url]</link>[end]
		<author>[commits.author]</author>
		<pubDate>[if-any commits.rss_date][commits.rss_date][else](unknown date)[end]</pubDate>
		<description>&lt;pre&gt;[format "xml"][commits.log][end]&lt;/pre&gt;</description>
    </item>[end]
</channel>	
</rss>

--- NEW FILE: file.ezt ---
[# ------------------------------------------------------------------------- ]
[# 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.  Please 
   <a href="[download_href]">download</a> this version of the
   file in order to view it.</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"]

--- NEW FILE: log.ezt ---
[include "include/log_header.ezt"]

[define first_revision][end]
[define last_revision][end]

[for entries]
[if-index entries first][define first_revision][entries.rev][end][end]
[if-index entries last][define last_revision][entries.rev][end][end]

<div>
  <hr />

  [is entries.state "dead"]
    Revision <strong>[entries.rev]</strong>
  [else]
    <a name="rev[entries.rev]"></a>
    [for entries.tag_names]<a name="[entries.tag_names]"></a>
    [end]
    [for entries.branch_names]<a name="[entries.branch_names]"></a>
    [end]

    Revision [is roottype "svn"]<a href="[entries.revision_href]"><strong>[entries.rev]</strong></a>[else]<strong>[entries.rev]</strong>[end] -
    [if-any entries.view_href]
      [is pathtype "file"]
        (<a href="[entries.view_href]">view</a>)
      [else]
        <a href="[entries.view_href]">Directory Listing</a>
      [end]
    [end]
    [if-any entries.download_href](<a href="[entries.download_href]">download</a>)[end]
    [if-any entries.download_text_href](<a href="[entries.download_text_href]">as text</a>)[end]
    [if-any entries.annotate_href](<a href="[entries.annotate_href]">annotate</a>)[end]

    [is pathtype "file"]
      [# if you don't want to allow select for diffs then remove this section]
      [is entries.rev rev_selected]
        - <strong>[[]selected]</strong>
      [else]
        - <a href="[entries.sel_for_diff_href]">[[]select for diffs]</a>
      [end]
    [end]
  [end]

  [if-any entries.vendor_branch]
    <em>(vendor branch)</em>
  [end]

  <br />

  [is roottype "svn"]
    [if-index entries last]Added[else]Modified[end]
  [end]

  <em>[if-any entries.date][entries.date][else](unknown date)[end]</em>
  [if-any entries.ago]([entries.ago] ago)[end] 
  by <em>[if-any entries.author][entries.author][else](unknown author)[end]</em>

  [if-any entries.orig_path]
    <br />Original Path: <a href="[entries.orig_href]"><em>[entries.orig_path]</em></a>
  [end]

  [if-any entries.branches]
    <br />Branch:
    [for entries.branches]
      <a href="[entries.branches.href]"><strong>[entries.branches.name]</strong></a>[if-index entries.branches last][else],[end]
    [end]
  [end]

  [if-any entries.tags]
    <br />CVS Tags:
    [for entries.tags]
      <a href="[entries.tags.href]"><strong>[entries.tags.name]</strong></a>[if-index entries.tags last][else],[end]
    [end]
  [end]

  [if-any entries.branch_points]
    <br />Branch point for:
    [for entries.branch_points]
      <a href="[entries.branch_points.href]"><strong>[entries.branch_points.name]</strong></a>[if-index entries.branch_points last][else],[end]
    [end]
  [end]

  [if-any entries.prev]
    [if-any entries.changed]
      [is roottype "cvs"]
      <br />Changes since <strong>[entries.prev]: [entries.changed] lines</strong>
      [end]
    [end]
  [end]

  [is roottype "svn"]
    [if-any entries.size]
    <br />File length: [entries.size] byte(s)
    [end]

    [if-any entries.copy_path]
    <br />Copied from: <a href="[entries.copy_href]"><em>[entries.copy_path]</em></a> revision [entries.copy_rev]
    [end]
  [end]

  [if-any entries.lockinfo]
    <br />Lock status: <img src="[docroot]/images/lock.png" alt="Locked" width="16" height="16" /> [entries.lockinfo]
  [end]

  [is entries.state "dead"]
    <br /><strong><em>FILE REMOVED</em></strong>
  [else]
   [is pathtype "file"]
    [if-any entries.prev]
      <br />Diff to <a href="[entries.diff_to_prev_href]">previous [entries.prev]</a>
      [if-any human_readable]
      [else]
        (<a href="[entries.diff_to_prev_href]&amp;diff_format=h">colored</a>)
      [end]
    [end]

    [is roottype "cvs"]
      [if-any entries.branch_point]
        , to <a href="[entries.diff_to_branch_href]">branch point [entries.branch_point]</a>
        [if-any human_readable]
        [else]
           (<a href="[entries.diff_to_branch_href]&amp;diff_format=h">colored</a>)
        [end]
      [end]
  
      [if-any entries.next_main]
        , to <a href="[entries.diff_to_main_href]">next main [entries.next_main]</a>
        [if-any human_readable]
        [else]
           (<a href="[entries.diff_to_main_href]&amp;diff_format=h">colored</a>)
        [end]
      [end]
    [end]

    [if-any entries.diff_to_sel_href]
      [if-any entries.prev], [else]<br />Diff[end]
        to <a href="[entries.diff_to_sel_href]">selected [rev_selected]</a>
      [if-any human_readable]
      [else]
        (<a href="[entries.diff_to_sel_href]&amp;diff_format=h">colored</a>)
      [end]
    [end]
   [end]
  [end]

<pre class="vc_log">[entries.log]</pre>
</div>
[end]

[include "include/log_footer.ezt"]

--- NEW FILE: diff.ezt ---
[# setup page definitions]
  [define page_title]Diff of /[where][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "diff"]
[include "include/file_header.ezt"]

<h3 style="text-align:center;"></h3>

[if-any raw_diff]
  <pre class="vc_raw_diff">[raw_diff]</pre>
[end]

[define left_view_href][if-any left.prefer_markup][left.view_href][else][if-any left.download_href][left.download_href][end][end][end]
[define right_view_href][if-any right.prefer_markup][right.view_href][else][if-any right.download_href][right.download_href][end][end][end]

[if-any changes]
<table cellspacing="0" cellpadding="0">
  <tr class="vc_diff_header">
    <th style="width:6%;"></th>
    <th style="width:47%; vertical-align:top;">
      [is left.path right.path][else][left.path][end]
      revision [if-any left_view_href]<a href="[left_view_href]">[end][left.rev][if-any left_view_href]</a>[end],
      [left.date]
      [if-any left.tag]<br />Tag: [left.tag][end]
    </th>
    <th style="width:47%; vertical-align:top;">
      [is left.path right.path][else][right.path][end]
      revision [if-any right_view_href]<a href="[right_view_href]">[end][right.rev][if-any right_view_href]</a>[end],
      [right.date]
      [if-any right.tag]<br />Tag: [right.tag][end]
    </th>
  </tr>

  [for changes]
    [is changes.type "header"]
      <tr class="vc_diff_chunk_header" id="h[changes.line_info_right]">
        <td style="width:6%;"><strong>#</strong></td>
        <td style="width:47%;">
          <strong>Line [changes.line_info_left]</strong>&nbsp;
          <span class="vc_diff_chunk_extra">[changes.line_info_extra]</span>
        </td>
        <td style="width:47%;">
          <strong>Line [changes.line_info_right]</strong>&nbsp;
          <span class="vc_diff_chunk_extra">[changes.line_info_extra]</span>
        </td>
      </tr>
    [else]
      [is changes.type "add"]
        <tr>
          <td class="vc_diff_line_number" id="l[changes.line_number]">[if-any right.annotate_href]<a href="[right.annotate_href]#l[changes.line_number]">[changes.line_number]</a>[else][changes.line_number][end]</td>
          <td class="vc_diff_empty">&nbsp;</td>
          <td class="vc_diff_add">&nbsp;[changes.right]</td>
        </tr>
      [else]
        [is changes.type "remove"]
          <tr>
            <td></td>
            <td class="vc_diff_remove">&nbsp;[changes.left]</td>
            <td class="vc_diff_empty">&nbsp;</td>
          </tr>
        [else]
          [is changes.type "change"]
            <tr>
              [if-any changes.have_right]
                <td class="vc_diff_line_number" id="l[changes.line_number]">[if-any right.annotate_href]<a href="[right.annotate_href]#l[changes.line_number]">[changes.line_number]</a>[else][changes.line_number][end]</td>
              [else]
                <td></td>
              [end]
              [if-any changes.have_left]
                <td class="vc_diff_change">&nbsp;[changes.left]</td>
              [else]
                <td class="vc_diff_change_empty">&nbsp;</td>
              [end]
              [if-any changes.have_right]
                <td class="vc_diff_change">&nbsp;[changes.right]</td>
              [else]
                <td class="vc_diff_change_empty">&nbsp;</td>
              [end]
            </tr>
          [else]
            [is changes.type "no-changes"]
              <tr>
                <td colspan="3">&nbsp;</td>
              </tr>
              <tr class="vc_diff_empty">
                <td colspan="3" style="text-align:center;"><br />
                <strong>- No changes -</strong><br />&nbsp; </td>
              </tr>
            [else]
              [is changes.type "binary-diff"]
                <tr>
                  <td colspan="3">&nbsp;</td>
                </tr>
                <tr class="vc_diff_empty">
                  <td colspan="3" style="text-align:center;"><br />
                  <strong>- Binary file revisions differ -</strong><br />&nbsp; </td>
                </tr>
              [else]
                [is changes.type "error"]
                  <tr>
                    <td colspan="3">&nbsp;</td>
                  </tr>
                  <tr class="vc_diff_empty">
                    <td colspan="3" style="text-align:center;"> <br />
                    <strong>- ViewVC depends on rcsdiff and GNU diff to create 
                    this page.  ViewVC cannot find GNU diff. Even if you 
                    have GNU diff installed, the rcsdiff program must be 
                    configured and compiled with the GNU diff location.
                    -</strong> <br />&nbsp; </td>
                  </tr>
                [else]
                  <tr>
                    <td class="vc_diff_line_number" id="l[changes.line_number]">[if-any right.annotate_href]<a href="[right.annotate_href]#l[changes.line_number]">[changes.line_number]</a>[else][changes.line_number][end]</td>
                    <td class="vc_diff_nochange">&nbsp;[changes.left]</td>
                    <td class="vc_diff_nochange">&nbsp;[changes.right]</td>
                  </tr>
                [end]
              [end]
            [end]
          [end]
        [end]
      [end]
    [end]
  [end]
</table>
[end]

[if-any sidebyside]
  <table class="vc_idiff">
    <colgroup><col /><col class="content" /></colgroup>
    <colgroup><col /><col class="content" /></colgroup>
    <thead>
      <tr>
        <th colspan="2">    
          [is left.path right.path][else][left.path][end]
          Revision [left.rev]
        </th>
        <th colspan="2">
          [is left.path right.path][else][right.path][end]
          Revision [right.rev]
        </th>
      </tr>
    </thead>
    <tbody>
      [for sidebyside]
        [if-any sidebyside.gap]
          <tr>
            <th>&hellip;</th><th></th>
            <th>&hellip;</th><th></th>
          </tr>
        [end]
        <tr>
          [for sidebyside.columns]
            <th>[sidebyside.columns.line_number]</th><td[if-any sidebyside.columns.line_number][else] class="vc_idiff_empty"[end]>[for sidebyside.columns.segments][if-any sidebyside.columns.segments.type]<span class="vc_idiff_[sidebyside.columns.segments.type]">[sidebyside.columns.segments.text]</span>[else][sidebyside.columns.segments.text][end][end]</td>
          [end]
        </tr>
      [end]
    </tbody>
  </table>
[end]

[if-any unified]
  <table class="vc_idiff">
    <thead>
      <tr>
        <th>r[left.rev]</th>
        <th>r[right.rev]</th>
        <th></th>
      </tr>
    </thead>
    <tbody>
      [for unified]
        [if-any unified.gap]
          <tr>
            <th>&hellip;</th>
            <th>&hellip;</th>
            <th></th>
          </tr>
        [end]
        <tr>
          <th>[unified.left_number]</th>
          <th>[unified.right_number]</th>
          <td[if-any unified.type] class="vc_idiff_[unified.type]"[end]>[for unified.segments][if-any unified.segments.type]<span class="vc_idiff_[unified.segments.type]">[unified.segments.text]</span>[else][unified.segments.text][end][end]</td>
        </tr>
      [end]
    </tbody>
  </table>
[end]

<hr style="margin-top:1em;" />

<table cellpadding="10" class="auto">
  <tr>
    <td>
      <form method="get" action="[diff_format_action]">
        <div>
          [for diff_format_hidden_values]<input type="hidden" name="[diff_format_hidden_values.name]" value="[diff_format_hidden_values.value]"/>[end]
          <select name="diff_format" onchange="submit()">
            <option value="h" [is diff_format "h"]selected="selected"[end]>Colored Diff</option>
            <option value="l" [is diff_format "l"]selected="selected"[end]>Long Colored Diff</option>
            <option value="f" [is diff_format "f"]selected="selected"[end]>Full Colored Diff</option>
            <option value="u" [is diff_format "u"]selected="selected"[end]>Unidiff</option>
            <option value="c" [is diff_format "c"]selected="selected"[end]>Context Diff</option>
            <option value="s" [is diff_format "s"]selected="selected"[end]>Side by Side</option>
          </select>
          <input type="submit" value="Show" />
          </div>
      </form>
    </td>
    <td>
[if-any raw_diff]
      &nbsp;
[else]
      <table style="border:solid gray 1px;" class="auto">
        <tr>
          <td>Legend:<br />
            <table cellspacing="0" cellpadding="1">
              <tr>
                <td style="text-align:center;" class="vc_diff_remove">Removed from v.[left.rev]</td>
                <td class="vc_diff_empty">&nbsp;</td>
              </tr>
              <tr>
                <td style="text-align:center;" colspan="2" class="vc_diff_change">changed lines</td>
              </tr>
              <tr>
                <td class="vc_diff_empty">&nbsp;</td>
                <td style="text-align:center;" class="vc_diff_add">Added in v.[right.rev]</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
[end]
    </td>
  </tr>
</table>

[include "include/footer.ezt"]

--- NEW FILE: error.ezt ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- ViewVC :: http://www.viewvc.org/ -->
<head>
<title>ViewVC Exception</title>
</head>
<body>
<h3>An Exception Has Occurred</h3>

[if-any msg]
  <p>[msg]</p>
[end]

[if-any status]
  <h4>HTTP Response Status</h4>
  <p><pre>[status]</pre></p>
  <hr />
[end]

[if-any msg][else]
<h4>Python Traceback</h4>
<p><pre>
[stacktrace]
</pre></p>
[end]

[# Here follows a bunch of space characters, present to ensure that
   our error message is larger than 512 bytes so that IE's "Friendly
   Error Message" won't show.  For more information, see
   http://oreillynet.com/onjava/blog/2002/09/internet_explorer_subverts_err.html]
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
</body>
</html>

--- NEW FILE: roots.ezt ---
[# setup page definitions]
  [define page_title]Repository Listing[end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "directory"]

<table cellspacing="1" cellpadding="2">
<thead>
<tr>
  <th class="vc_header_sort">Name</th>
</tr>
</thead>

<tbody>
[for roots]
  <tr class="vc_row_[if-index roots even]even[else]odd[end]">
    <td>
      <a href="[roots.href]">
      <img src="[docroot]/images/dir.png" alt="" class="vc_icon" />
      [roots.name]</a>
    </td>
  </tr>
[end]
</tbody>

</table>

[include "include/footer.ezt"]

--- NEW FILE: query.ezt ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- ViewVC :: http://www.viewvc.org/ -->
<head>
  <title>Checkin Database Query</title>
  <link rel="stylesheet" href="[docroot]/styles.css" type="text/css" />
</head>

<body>

[# setup page definitions]
  [define help_href][docroot]/help_query.html[end]
[# end]

  <p> 
    Select your parameters for querying the CVS commit database.  You
    can search for multiple matches by typing a comma-seperated list
    into the text fields.  Regular expressions, and wildcards are also
    supported.  Blank text input fields are treated as wildcards.
  </p>
  <p>
    Any of the text entry fields can take a comma-seperated list of
    search arguments.  For example, to search for all commits from
    authors <em>jpaint</em> and <em>gstein</em>, just type: <strong>jpaint,
    gstein</strong> in the <em>Author</em> input box.  If you are searching
    for items containing spaces or quotes, you will need to quote your
    request.  For example, the same search above with quotes is:
    <strong>"jpaint", "gstein"</strong>.
  </p>
  <p>                           

    Wildcard and regular expression searches are entered in a similar
    way to the quoted requests.  You must quote any wildcard or
    regular expression request, and a command charactor preceeds the
    first quote.  The command charactor <strong>l</strong> is for wildcard
    searches, and the wildcard charactor is a percent (<strong>%</strong>).  The
    command charactor for regular expressions is <strong>r</strong>, and is
    passed directly to MySQL, so you'll need to refer to the MySQL
    manual for the exact regex syntax.  It is very similar to Perl.  A
    wildard search for all files with a <em>.py</em> extention is:
    <strong>l"%.py"</strong> in the <em>File</em> input box.  The same search done
    with a regular expression is: <strong>r".*\.py"</strong>.
  </p>
  <p>                  
    All search types can be mixed, as long as they are seperated by
    commas.
  </p>                                                    

<form method="get" action="">

<div class="vc_query_form">
<table cellspacing="0" cellpadding="2" class="auto">
 <tr>
  <td>
   <table>
    <tr>
     <td style="vertical-align:top;">

      <table>
       <tr>
        <td align="right">CVS Repository:</td>
        <td>
         <input type="text" name="repository" size="40" value="[repository]" />
        </td>
       </tr>
       <tr>
        <td align="right">CVS Branch:</td>
        <td>
         <input type="text" name="branch" size="40" value="[branch]" />
        </td>
       </tr>
       <tr>
        <td align="right">Directory:</td>
        <td>
         <input type="text" name="directory" size="40" value="[directory]" />
        </td>
       </tr>
       <tr>
        <td align="right">File:</td>
        <td>
         <input type="text" name="file" size="40" value="[file]" />
        </td>
       </tr>
       <tr>
        <td align="right">Author:</td>
        <td>
         <input type="text" name="who" size="40" value="[who]" />
        </td>
       </tr>
      </table>

     </td>
     <td style="vertical-align:top;">

      <table>
       <tr>
        <td align="left">Sort By:</td>
        <td>
         <select name="sortby">
          <option value="date" [is sortby "date"]selected="selected"[end]>Date</option>
          <option value="author" [is sortby "author"]selected="selected"[end]>Author</option>
          <option value="file" [is sortby "file"]selected="selected"[end]>File</option>
         </select>
        </td>
       </tr>
       <tr>
        <td colspan="2">
         <table cellspacing="0" cellpadding="0">
          <tr>
           <td>Date:</td>
          </tr>
          <tr>
           <td><input type="radio" name="date" value="hours"
		  [is date "hours"]checked="checked"[end] /></td>
           <td>In the last
             <input type="text" name="hours" value="[hours]" size="4" />hours
           </td>
          </tr>
          <tr>
           <td><input type="radio" name="date" value="day"
		  [is date "day"]checked="checked"[end] /></td>
           <td>In the last day</td>
          </tr>
          <tr>
           <td><input type="radio" name="date" value="week"
		  [is date "week"]checked="checked"[end] /></td>
           <td>In the last week</td>
          </tr>
          <tr>
           <td><input type="radio" name="date" value="month"
		  [is date "month"]checked="checked"[end] /></td>
           <td>In the last month</td>
          </tr>
          <tr>
           <td><input type="radio" name="date" value="all"
		  [is date "all"]checked="checked"[end] /></td>
           <td>Since the beginning of time</td>
          </tr>
         </table>
        </td>
       </tr>
      </table>

     </td>
    </tr>
   </table>
  </td>
  <td>
   <input type="submit" value="Search" />
  </td>
 </tr>
</table>
</div>

</form>

[is query "skipped"]
[else]
<p><strong>[num_commits]</strong> matches found.</p>

[if-any commits]
<table cellspacing="0" cellpadding="2">
 <thead>
 <tr class="vc_header">
  <th>Revision</th>
  <th>File</th>
  <th>Branch</th>
  <th>+/-</th>
  <th>Date</th>
  <th>Author</th>
[# uncommment, if you want a separate Description column: (also see below)
<th>Description</th>
]
 </tr>
 </thead>
[for commits]
 <tbody>
  [for commits.files]
    <tr class="vc_row_[if-index commits even]even[else]odd[end]">
      <td style="vertical-align:top;">
	[if-any commits.files.rev][commits.files.rev][else]&nbsp;[end]
      </td>
      <td style="vertical-align:top;">[commits.files.link]</td>
      <td style="vertical-align:top;">
	[if-any commits.files.branch][commits.files.branch][else]&nbsp;[end]
      </td>
      <td style="vertical-align:top;">
        [is commits.files.type "Add"]<ins>[end]
        [is commits.files.type "Change"]<a href="[commits.files.difflink]">[end]
        [is commits.files.type "Remove"]<del>[end]
          [commits.files.plus]/[commits.files.minus]
        [is commits.files.type "Add"]</ins>[end]
        [is commits.files.type "Change"]</a>[end]
        [is commits.files.type "Remove"]</del>[end]
      </td>
      <td style="vertical-align:top;">
	[if-any commits.files.date][commits.files.date][else]&nbsp;[end]
      </td>
      <td style="vertical-align:top;">
	[if-any commits.files.author][commits.files.author][else]&nbsp;[end]
      </td>

[# uncommment, if you want a separate Description column:
      {if-index commits.files first{
        <td style="vertical-align:top;" rowspan="{commits.num_files}">
          {commits.log}
        </td>
      {end}

   (substitute brackets for the braces)
]
    </tr>
[# and also take the following out in the "Description column"-case:]
      [if-index commits.files last]
	<tr class="vc_row_[if-index commits even]even[else]odd[end]">
	  <td>&nbsp;</td>
	  <td colspan="5"><strong>Log:</strong><br />
	    <pre class="vc_log">[commits.log]</pre></td>
	</tr>
      [end]
[# ---]
  [end]
 </tbody>
[end]

 <tr class="vc_header">
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
[# uncommment, if you want a separate Description column:
  <th style="text-align:left;vertical-align:top;">&nbsp;</th>
]
 </tr>
</table>
[end]
[end]
[include "include/footer.ezt"]

--- NEW FILE: README ---
this directory is for creating a set of curl-specfic template files that
we make the viewvc installation on curl.haxx.se use

--- NEW FILE: query_form.ezt ---
[# setup page definitions]
  [define page_title]Query on /[where][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "query"]

<p><a href="[dir_href]">
<img src="[docroot]/images/dir.png" class="vc_icon" alt="Directory" />
Browse Directory</a></p>

<form action="[query_action]" method="get">

<div class="vc_query_form">
  [for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end]
<table cellspacing="0" cellpadding="5" class="auto">
  [is roottype "cvs"]
  [# For subversion, the branch field is not used ]
  <tr>
    <th style="text-align:right;vertical-align:top;">Branch:</th>
    <td>
      <input type="text" name="branch" value="[branch]" /><br />
      <label for="branch_match_exact">
        <input type="radio" name="branch_match" id="branch_match_exact"
           value="exact" [is branch_match "exact"]checked="checked"[end] />
        Exact match
      </label>
      <label for="branch_match_glob">
        <input type="radio" name="branch_match" id="branch_match_glob"
           value="glob" [is branch_match "glob"]checked="checked"[end] />
        Glob pattern match
      </label>
      <label for="branch_match_regex">
        <input type="radio" name="branch_match" id="branch_match_regex"
           value="regex" [is branch_match "regex"]checked="checked"[end] />
        Regex match
      </label>
      <label for="branch_match_notregex">
        <input type="radio" name="branch_match" id="branch_match_notregex"
           value="notregex" [is branch_match "notregex"]checked="checked"[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  [end]
  <tr>
    <th style="text-align:right;vertical-align:top;">Subdirectory:</th>
    <td>
      <input type="text" name="dir" value="[dir]" /><br />
      (you can list multiple directories separated by commas)
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">File:</th>
    <td>
      <input type="text" name="file" value="[file]" /><br />
      <label for="file_match_exact">
        <input type="radio" name="file_match" id="file_match_exact"
           value="exact" [is file_match "exact"]checked="checked"[end] />
        Exact match
      </label>
      <label for="file_match_glob">
        <input type="radio" name="file_match" id="file_match_glob"
           value="glob" [is file_match "glob"]checked="checked"[end] />
        Glob pattern match
      </label>
      <label for="file_match_regex">
        <input type="radio" name="file_match" id="file_match_regex"
           value="regex" [is file_match "regex"]checked="checked"[end] />
        Regex match
      </label>
      <label for="file_match_notregex">
        <input type="radio" name="file_match" id="file_match_notregex"
           value="notregex" [is file_match "notregex"]checked="checked"[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Who:</th>
    <td>
      <input type="text" name="who" value="[who]" /><br />
      <label for="who_match_exact">
        <input type="radio" name="who_match" id="who_match_exact"
           value="exact" [is who_match "exact"]checked="checked"[end] />
        Exact match
      </label>
      <label for="who_match_glob">
        <input type="radio" name="who_match" id="who_match_glob"
           value="glob" [is who_match "glob"]checked="checked"[end] />
        Glob pattern match
      </label>
      <label for="who_match_regex">
        <input type="radio" name="who_match" id="who_match_regex"
           value="regex" [is who_match "regex"]checked="checked"[end] />
        Regex match
      </label>
      <label for="who_match_notregex">
        <input type="radio" name="who_match" id="who_match_notregex"
           value="notregex" [is who_match "notregex"]checked="checked"[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Comment:</th>
    <td>
      <input type="text" name="comment" value="[comment]" /><br />
      <label for="comment_match_exact">
        <input type="radio" name="comment_match" id="comment_match_exact"
           value="exact" [is comment_match "exact"]checked=""[end] />
        Exact match
      </label>
      <label for="comment_match_glob">
        <input type="radio" name="comment_match" id="comment_match_glob"
           value="glob" [is comment_match "glob"]checked=""[end] />
        Glob pattern match
      </label>
      <label for="comment_match_regex">
        <input type="radio" name="comment_match" id="comment_match_regex"
           value="regex" [is comment_match "regex"]checked=""[end] />
        Regex match
      </label>
      <label for="comment_match_notregex">
        <input type="radio" name="comment_match" id="comment_match_notregex"
           value="notregex" [is comment_match "notregex"]checked=""[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Sort By:</th>
    <td>
      <select name="querysort">
        <option value="date" [is querysort "date"]selected="selected"[end]>Date</option>
        <option value="author" [is querysort "author"]selected="selected"[end]>Author</option>
        <option value="file" [is querysort "file"]selected="selected"[end]>File</option>
      </select>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Date:</th>
    <td>
      <table cellspacing="0" cellpadding="0">
        <tr>
          <td><input type="radio" name="date" id="date_hours"
                 value="hours" [is date "hours"]checked="checked"[end] /></td>
          <td>
            <label for="date_hours">In the last</label>
            <input type="text" name="hours" value="[hours]" size="4" />
            hours
          </td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_day"
                 value="day" [is date "day"]checked="checked"[end] /></td>
          <td><label for="date_day">In the last day</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_week"
                 value="week" [is date "week"]checked="checked"[end] /></td>
          <td><label for="date_week">In the last week</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_month"
                 value="month" [is date "month"]checked="checked"[end] /></td>
          <td><label for="date_month">In the last month</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_all"
                 value="all" [is date "all"]checked="checked"[end] /></td>
          <td><label for="date_all">Since the beginning of time</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_explicit"
                 value="explicit" [is date "explicit"]checked="checked"[end] /></td>
          <td>
            <label for="date_explicit">Between</label>
            <input type="text" name="mindate" value="[mindate]" size="20" />
            and
            <input type="text" name="maxdate" value="[maxdate]" size="20" />
            <br />
            (use the form <strong>yyyy-mm-dd hh:mm:ss</strong>)
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Limit:</th>
    <td>
      Show at most
      <input type="text" name="limit_changes" value="[limit_changes]" size="5" />
      changed files per commit.<br />
      (use 0 to show all files)
    </td>
  </tr>
  <tr>
    <td></td>
    <td><input type="submit" value="Search" /></td>
  </tr>
</table>
</div>

</form>

[include "include/footer.ezt"]

--- NEW FILE: log_table.ezt ---
[include "include/log_header.ezt"]

<hr />
<table cellspacing="1" cellpadding="2">
<thead>
<tr>
  <th class="vc_header[is logsort "rev"]_sort[end]">Revision</th>
  <th class="vc_header">Tasks</th>
  [is pathtype "file"]
  <th class="vc_header">Diffs</th>
  [end]
  [is roottype "cvs"]
  <th class="vc_header">Branches/<br />Tags</th>
  [end]
  <th class="vc_header[is logsort "date"]_sort[end]">Age</th>
  <th class="vc_header">Author</th>
</tr>
</thead>

[define first_revision][end]
[define last_revision][end]

[for entries]
[if-index entries first][define first_revision][entries.rev][end][end]
[if-index entries last][define last_revision][entries.rev][end][end]
  <tbody>
  <tr style="vertical-align: top;" class="vc_row_[if-index entries even]even[else]odd[end]">

    [# Revision column]
    <td rowspan="2">
      [is roottype "svn"]<a href="[entries.revision_href]"><strong>[entries.rev]</strong></a>[else]<strong>[entries.rev]</strong>[end]
      <a name="rev[entries.rev]"></a>
    </td>

    [# Tasks column]
    <td>
      [if-any entries.view_href]
        [is pathtype "file"]
          <a href="[entries.view_href]"><strong>View</strong></a><br />
        [else]
          <a href="[entries.view_href]"><strong>Directory Listing</strong></a><br />
        [end]
      [end]
      [if-any entries.download_href]<a href="[entries.download_href]"><strong>Download</strong></a><br />[end]
      [if-any entries.download_text_href]<a href="[entries.download_text_href]"><strong>As text</strong></a><br />[end]
      [if-any entries.annotate_href]<a href="[entries.annotate_href]"><strong>Annotate</strong></a><br />[end]
    </td>

    [is pathtype "file"]
      <td>
      [# Diffs column]
      [is entries.state "dead"]
        <strong><em>FILE REMOVED</em></strong>
      [else]
      [# if you don't want to allow select for diffs then remove this section]
      [is entries.rev rev_selected]
        <strong>[[]selected]</strong><br />
      [else]
      <a href="[entries.sel_for_diff_href]"><strong>[[]select&nbsp;for&nbsp;diffs]</strong></a><br />
      [end]
        [if-any entries.diff_to_sel_href]
          <a href="[entries.diff_to_sel_href]"><strong>Diff&nbsp;to&nbsp;selected&nbsp;[rev_selected]</strong></a>
          [if-any human_readable]
          [else]
            (<a href="[entries.diff_to_sel_href]&amp;diff_format=h"><strong>colored</strong></a>)
          [end]<br />
        [end]
        [if-any entries.prev]
          <a href="[entries.diff_to_prev_href]"><strong>Diff&nbsp;to&nbsp;previous&nbsp;[entries.prev]</strong></a>
          [if-any human_readable]
          [else]
            (<a href="[entries.diff_to_prev_href]&amp;diff_format=h"><strong>colored</strong></a>)
          [end]<br />
        [end]
      [end]  
      </td>
    [end]
    [is roottype "cvs"]
    <td>
      [# Branches column]
      [if-any entries.vendor_branch]
        <em>vendor branch</em><br />
      [end]
      [if-any entries.branches]
        [for entries.branches]
          <a href="[entries.branches.href]"><strong>[entries.branches.name]</strong></a><br />
        [end]
      [end]
      [if-any entries.branch_points]
        Branch point for:
        [for entries.branch_points]
          <a href="[entries.branch_points.href]"><strong>[entries.branch_points.name]</strong></a><br />
        [end]
      [end]
      [if-any entries.next_main]
        <a href="[entries.diff_to_main_href]"><strong>Diff&nbsp;to&nbsp;next&nbsp;MAIN&nbsp;[entries.next_main]</strong></a>
        [if-any human_readable]
        [else]
          (<a href="[entries.diff_to_main_href]&amp;diff_format=h"><strong>colored</strong></a>)
        [end]<br />
      [end]
      [if-any entries.branch_point]
        <a href="[entries.diff_to_branch_href]"><strong>Diff&nbsp;to&nbsp;branch&nbsp;point&nbsp;[entries.branch_point]</strong></a>
        [if-any human_readable]
        [else]
          (<a href="[entries.diff_to_branch_href]&amp;diff_format=h"><strong>colored</strong></a>)
        [end]<br />
      [end]

      [# Tags ]
      [if-any entries.tags]
        <form method=get action="[pathrev_action]" >
          [for pathrev_hidden_values]<input type="hidden" name="[pathrev_hidden_values.name]" value="[pathrev_hidden_values.value]"/>[end]
          <select name="pathrev" onChange="submit()">
          <option value="" [is pathrev ""]selected[end]>Show all tags</option>
          [for entries.tags]
            <option [is pathrev entries.tags.name]selected[end]>[entries.tags.name]</option>
          [end]
          </select>
        </form>
      [else]&nbsp;
      [end]
    </td>
    [end]

    [# Time column]
    <td>
      [is roottype "svn"]
        [if-index entries last]Added[else]Modified[end]
      [end]
      [if-any entries.ago][entries.ago] ago<br />[end]
      [if-any entries.date]<em>[entries.date]</em>[end]
      [is roottype "cvs"]
        [if-any entries.prev]
          [if-any entries.changed]
            <br />Changes since <strong>[entries.prev]: [entries.changed] lines</strong>
          [end]
        [end]
      [end]
    </td>

    [# Author column]
    <td>
      [entries.author]
    </td>

  </tr>
  <tr class="vc_row_[if-index entries even]even[else]odd[end]">
    <td colspan=5>

      [if-any entries.lockinfo]
        <strong>Lock status</strong>: <img src="[docroot]/images/lock.png" alt="Locked" width="16" height="16" /> [entries.lockinfo]<br />
      [end]

      [is roottype "svn"]
        [if-any entries.orig_path]
          <strong>Original Path</strong>: <a href="[entries.orig_href]"><em>[entries.orig_path]</em></a><br />
        [end]

        [if-any entries.size]
          <strong>File length: </strong>[entries.size] byte(s)<br />
        [end]

        [if-any entries.copy_path]
           <strong>Copied from: </strong><a href="[entries.copy_href]"><em>[entries.copy_path]</em></a> revision [entries.copy_rev]<br />
        [end]
      [end]

      <strong>Log: </strong><pre class="vc_log">[entries.log]</pre>
    </td>
  </tr>
  </tbody>
[end]
</table>

[include "include/log_footer.ezt"]

--- NEW FILE: dir_new.ezt ---
[include "include/dir_header.ezt"]

<table cellspacing="1" cellpadding="2" class="fixed">
<thead>
<tr>
  <th style="width: 200px" class="vc_header[is sortby "file"]_sort[end]">
    [if-any sortby_file_href]<a href="[sortby_file_href]#dirlist">File</a>[else]File[end]
    [is sortby "file"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  </th>
  <th style="width: 96px" class="vc_header"></th>
  [if-any sortby_rev_href]
  <th class="vc_header[is sortby "rev"]_sort[end]">
    <a href="[sortby_rev_href]#dirlist">Last Change</a>
    [is sortby "rev"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  [else]
  <th class="vc_header[is sortby "date"]_sort[end]">
    [if-any sortby_date_href]<a href="[sortby_date_href]#dirlist">Last Change</a>[else]Last Change[end]
    [is sortby "date"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](date)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  [end]
  </th>
</tr>
</thead>

<tbody>
[if-any up_href]
  <tr class="vc_row_odd">
    <td style="width: 200px">
      <a href="[up_href]">
      <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
      />&nbsp;Parent&nbsp;Directory</a>
    </td>
    <td style="width: 96px; font-size: 0;"></td>
    <td>&nbsp;</td>
  </tr>
 [end]
[for entries]
  <tr class="vc_row_[if-index entries even]even[else]odd[end]">
    <td style="width: 200px">
    <a name="[entries.anchor]" href="[is entries.pathtype "dir"][entries.view_href][else][if-any entries.prefer_markup][entries.view_href][else][entries.download_href][end][end]" title="[is entries.pathtype "dir"]View Directory Contents[else][if-any entries.prefer_markup]View[else]Download[end] File Contents[end]">
       <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
       [entries.name][is entries.pathtype "dir"]/[end]</a>
       [if-any entries.lockinfo]<img src="[docroot]/images/lock.png" alt="locked" class="vc_icon" title="Locked by [entries.lockinfo]" />[end]
       [is entries.state "dead"](dead)[end]
    </td>

    [if-any entries.errors]
      <td colspan="2">[for entries.errors]<em>[entries.errors]</em>[end]</td>
    [else]
      [define view_icon_link][end]
      [define graph_icon_link][end]
      [define download_icon_link][end]
      [define annotate_icon_link][end]
      [define log_icon_link][if-any entries.log_href]<a 
        href="[entries.log_href]"
        title="View Log"><img
          src="[docroot]/images/log.png"
          alt="View Log" 
          class="vc_icon" /></a>[end][end]

      [is entries.pathtype "dir"]
        [is roottype "cvs"]
          [# no point in showing icon when there's only one to choose from]
        [else]
          [define view_icon_link]<a 
            href="[entries.view_href]"
            title="View Directory Listing"><img
              src="[docroot]/images/list.png"
              alt="View Directory Listing" 
              class="vc_icon" /></a>[end]
        [end]
      [end]

      [is entries.pathtype "file"]
        [define view_icon_link][if-any entries.view_href]<a 
          href="[entries.view_href]"
          title="View File"><img
            src="[docroot]/images/view.png"
            alt="View File" 
            class="vc_icon" /></a>[end][end]

        [define graph_icon_link][if-any entries.graph_href]<a 
          href="[entries.graph_href]"
          title="View Revision Graph"><img
            src="[docroot]/images/cvsgraph_16x16.png"
            alt="View Revision Graph" 
            class="vc_icon" /></a>[end][end]

        [define download_icon_link][if-any entries.download_href]<a 
          href="[entries.download_href]"
          title="Download File"><img
            src="[docroot]/images/download.png"
            alt="Download File"
            class="vc_icon" /></a>[end][end]

        [define annotate_icon_link][if-any entries.annotate_href]<a 
          href="[entries.annotate_href]"
          title="Annotate File"><img
            src="[docroot]/images/annotate.png"
            alt="Annotate File" 
            class="vc_icon" /></a>[end][end]
      [end]

      <td style="width: 96px"
        >[# Icon column. We might want to add more icons like a tarball
          # icon for directories or a diff to previous icon for files.
          # Make sure this sucker has no whitespace in it, or the fixed
          # widthness of will suffer for large font sizes
         ][log_icon_link][view_icon_link][graph_icon_link][download_icon_link][annotate_icon_link]</td>

      <td>
        [if-any entries.rev]
          <strong>[if-any entries.revision_href]<a href="[entries.revision_href]" title="Revision [entries.rev]">[entries.rev]</a>[else][entries.rev][end]</strong>
          ([entries.ago] ago)
          by <em>[entries.author]</em>:
          [entries.log]
          [is entries.pathtype "dir"][is roottype "cvs"]
            <em>(from [entries.log_file]/[entries.log_rev])</em>
          [end][end]
        [end]
      </td>
    [end]
  </tr>
[end]
</tbody>

</table>

[include "include/dir_footer.ezt"]

--- NEW FILE: revision.ezt ---
[# setup page definitions]
  [define page_title]Revision [rev][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "revision"]

<hr />
<form method="get" action="[jump_rev_action]">
<table cellspacing="1" cellpadding="2" style="width: auto;">
  <tr align="left">
    <th>Jump to revision:</th>
    <td>
      [for jump_rev_hidden_values]<input type="hidden" name="[jump_rev_hidden_values.name]" value="[jump_rev_hidden_values.value]"/>[end]
      <input type="text" name="revision" value="[rev]" />
      <input type="submit" value="Go" />
      [if-any prev_href]
        <a href="[prev_href]" title="Previous Revision"><img src="[docroot]/images/back.png" alt="Previous" width="20" height="22" /></a>[end]
      [if-any next_href] <a href="[next_href]" title="Next Revision"><img src="[docroot]/images/forward.png" width="20" height="22" alt="Next" /></a>[end]
    </td>
  </tr>
  <tr align="left">
    <th>Author:</th>
    <td>[if-any author][author][else]<em>(unknown author)</em>[end]</td>
  </tr>
  <tr align="left">
    <th>Date:</th>
    <td>[if-any date][date][else]<em>(unknown date)</em>[end]
        [if-any ago]<em>([ago] ago)</em>[end]</td>
  </tr>
  <tr align="left">
    <th>Changed paths:</th>
    <td><strong>[num_changes]</strong>
        [if-any more_changes](showing only [limit_changes]; <a href="[more_changes_href]">show all</a>)[end][if-any first_changes](<a href="[first_changes_href]">show only first [first_changes]</a>)[end]</td>
  </tr>
  <tr align="left">
    <th>Log Message:</th>
    <td><pre class="vc_log">[log]</pre></td>
  </tr>
</table>
</form>

<hr />

<p><strong>Changed paths:</strong></p>

<table cellspacing="1" cellpadding="2">
  <thead>
  <tr align="left">
    <th class="vc_header_sort">Path</th>
    <th class="vc_header">Details</th>
  </tr>
  </thead>
  <tbody>
  [if-any changes]
   [for changes]
    <tr class="vc_row_[if-index changes even]even[else]odd[end]">
      <td>[if-any changes.view_href]<a href="[changes.view_href]" title="View [is changes.pathtype "dir"]Directory[else]File[end] Contents">[end]<img src="[docroot]/images/[is changes.pathtype "dir"]dir[else]text[end].png" class="vc_icon" alt="Directory" />[changes.path][is changes.pathtype "dir"]/[end][if-any changes.view_href]</a>[end]
      [if-any changes.is_copy]<br /><em>(Copied from [changes.copy_path], r[changes.copy_rev])</em>[end]
      </td>
      <td>[if-any changes.log_href]<a href="[changes.log_href]" title="View Log">[end][changes.action][if-any changes.log_href]</a>[end]
          [if-any changes.text_mods], [if-any changes.diff_href]<a href="[changes.diff_href]" title="View Diff">[end]text changed[if-any changes.diff_href]</a>[end][end]
          [if-any changes.prop_mods], props changed[end]
      </td>
    </tr>
   [end]
  [else]
    <tr>
    <td colspan="5">No changed paths.</td>
    </tr>
  [end]
  [if-any more_changes]
    <tr>
    <td colspan="5">[[]<a href="[more_changes_href]">...</a>]</td>
    </tr>
  [end]
  </tbody>
</table>

[include "include/footer.ezt"]

--- NEW FILE: query_results.ezt ---
[# setup page definitions]
  [define page_title]Query results on /[where][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt"]

<p><strong>[english_query]</strong></p>
[# <!-- {sql} --> ]
<p><a href="[queryform_href]">Modify query</a></p>
<p><a href="[backout_href]">Show commands which could be used to back out these changes</a></p>

<p><strong>+[plus_count]/-[minus_count]</strong> lines changed.</p>

[if-any commits]
<table cellspacing="1" cellpadding="2">
 <thead>
  <tr>
   <th class="vc_header">Revision</th>
   <th class="vc_header[is querysort "file"]_sort[end]">File</th>
[if-any show_branch]
   <th class="vc_header">Branch</th>
[end]
   <th class="vc_header">+/-</th>
   <th class="vc_header[is querysort "date"]_sort[end]">Date</th>
   <th class="vc_header[is querysort "author"]_sort[end]">Author</th>
[# uncommment, if you want a separate Description column: (also see below)
   <th class="vc_header">Description</th>
]
  </tr>
 </thead>
[for commits]
  [for commits.files]
    <tbody>
    <tr class="vc_row_[if-index commits even]even[else]odd[end]">
      <td style="vertical-align: top;">
        [define rev_href][if-any commits.files.prefer_markup][commits.files.view_href][else][if-any commits.files.download_href][commits.files.download_href][end][end][end]
	[if-any commits.files.rev][if-any rev_href]<a href="[rev_href]">[end][commits.files.rev][if-any rev_href]</a>[end][else]&nbsp;[end]
      </td>
      <td style="vertical-align: top;">
        <a href="[commits.files.dir_href]">[commits.files.dir]/</a>
        <a href="[commits.files.log_href]">[commits.files.file]</a>
      </td>
[if-any show_branch]
      <td style="vertical-align: top;">
	[if-any commits.files.branch][commits.files.branch][else]&nbsp;[end]
      </td>
[end]
      <td style="vertical-align: top;">
        [# only show a diff link for changes ]
        [is commits.files.type "Add"]<ins>[end]
        [is commits.files.type "Change"]<a href="[commits.files.diff_href]">[end]
        [is commits.files.type "Remove"]<del>[end]
          [commits.files.plus]/[commits.files.minus]
        [is commits.files.type "Add"]</ins>[end]
        [is commits.files.type "Change"]</a>[end]
        [is commits.files.type "Remove"]</del>[end]
      </td>
      <td style="vertical-align: top;">
	[if-any commits.files.date][commits.files.date][else]&nbsp;[end]
      </td>
      <td style="vertical-align: top;">
	[if-any commits.files.author][commits.files.author][else]&nbsp;[end]
      </td>
    </tr>
  [end]
  [if-any commits.limited_files]
    <tr class="vc_row_[if-index commits even]even[else]odd[end]">
      <td>&nbsp;</td>
      <td colspan="5">
        <strong><em><small>Only first [commits.num_files] files shown.
        <a href="[limit_changes_href]">Show all files</a> or
        <a href="[queryform_href]">adjust limit</a>.</small></em></strong>
    </tr>
  [end]
  <tr class="vc_row_[if-index commits even]even[else]odd[end]">
    <td>&nbsp;</td>
    <td colspan="5"><strong>Log:</strong><br />
      <pre class="vc_log">[commits.log]</pre></td>
  </tr>
  </tbody>
[end]
</table>
[end]

[include "include/footer.ezt"]

--- NEW FILE: graph.ezt ---
[# setup page definitions]
  [define page_title]Graph of /[where][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "graph"]
[include "include/file_header.ezt"]

<hr />

<div style="text-align:center;">
[imagemap]
<img usemap="#MyMapName"
  src="[imagesrc]" 
  alt="Revisions of [where]" />
</div>

[include "include/footer.ezt"]

--- NEW FILE: directory.ezt ---
[include "include/dir_header.ezt"]

<table cellspacing="1" cellpadding="2">
<thead>
<tr>
  <th class="vc_header[is sortby "file"]_sort[end]" colspan="2">
    [if-any sortby_file_href]<a href="[sortby_file_href]#dirlist">File</a>[else]File[end]
    [is sortby "file"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  </th>
  <th class="vc_header[is sortby "rev"]_sort[end]">
   [if-any sortby_rev_href]<a href="[sortby_rev_href]#dirlist">Rev.</a>[else]Rev.[end]
    [is sortby "rev"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  </th>
  <th class="vc_header[is sortby "date"]_sort[end]">
    [if-any sortby_date_href]<a href="[sortby_date_href]#dirlist">Age</a>[else]Age[end]
    [is sortby "date"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  </th>
  <th class="vc_header[is sortby "author"]_sort[end]">
    [if-any sortby_author_href]<a href="[sortby_author_href]#dirlist">Author</a>[else]Author[end]
    [is sortby "author"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  </th>
[is cfg.options.show_logs "1"]
  <th class="vc_header[is sortby "log"]_sort[end]">
    [if-any sortby_log_href]<a href="[sortby_log_href]#dirlist">Last log entry</a>[else]Last log entry[end]
    [is sortby "log"]
      <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
        width="13" height="13"
        src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
    [end]
  </th>
[end]
</tr>
</thead>

<tbody>
[if-any up_href]
  <tr class="vc_row_odd">
    <td colspan="2">
      <a href="[up_href]">
      <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
      />&nbsp;Parent&nbsp;Directory</a>
    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    [is cfg.options.show_logs "1"]
      <td>&nbsp;</td>
    [end]
  </tr>
 [end]
 [for entries]
   <tr class="vc_row_[if-index entries even]even[else]odd[end]">
     <td[if-any entries.graph_href][else] colspan="2"[end]>
       [is entries.pathtype "dir"]
       <a name="[entries.anchor]" href="[entries.view_href]" title="View directory contents">
       [else]
       <a name="[entries.anchor]" href="[entries.log_href]" title="View file revision log">
       [end]
       <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
       [entries.name][is entries.pathtype "dir"]/[end]</a>
       [is entries.state "dead"](dead)[end]
     </td>
     [if-any entries.graph_href]
       <td style="width:1%"><a href="[entries.graph_href]"
       title="View Revision Graph"><img
       src="[docroot]/images/cvsgraph_16x16.png"
       alt="View Revision Graph" class="vc_icon" />
       </a></td>
     [end]
     [if-any entries.errors]
       <td colspan=[is cfg.options.show_logs "1"]4[else]3[end]>
         [for entries.errors]<em>[entries.errors]</em>[end]
       </td>
     [else]
       [is entries.pathtype "dir"]
       <td>&nbsp;[if-any entries.rev]<a href="[entries.log_href]" title="View directory revision log"><strong>[entries.rev]</strong></a>[end]</td>
       [else]
       [define rev_href][if-any entries.prefer_markup][entries.view_href][else][if-any entries.download_href][entries.download_href][end][end][end]
       <td style="white-space: nowrap;">&nbsp;[if-any entries.rev][if-any rev_href]<a href="[rev_href]" title="[if-any entries.prefer_markup]View[else]Download[end] file contents">[end]<strong>[entries.rev]</strong>[if-any rev_href]</a>[end][end]
       [if-any entries.lockinfo]<img src="[docroot]/images/lock.png" alt="locked" class="vc_icon" title="Locked by [entries.lockinfo]" />[end]
       </td>
       [end]
       <td>&nbsp;[entries.ago]</td>
       <td>&nbsp;[entries.author]</td>
       [is cfg.options.show_logs "1"]
         [if-any entries.short_log]
           <td>&nbsp;[entries.short_log][is entries.pathtype "dir"][is roottype "cvs"]
             <em>(from [entries.log_file]/[entries.log_rev])</em>[end][end]</td>
         [else]
           <td>&nbsp;</td>
         [end]
      [end]
    [end]
  </tr>
[end]
</tbody>

</table>

[include "include/dir_footer.ezt"]