<!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"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="layout.html" />
  <head>
    <title>${_('Prepare Diff')}</title>
    <script type="text/javascript">
      jQuery(document).ready(function($) {
        $("#anydiff input[name$='_path']").suggest();
      });
    </script>
  </head>

  <body>
    <div id="content" class="changeset">
      <div id="title">
        <h1>${_('Prepare Diff')}</h1>
      </div>

      <div id="anydiff">
        <form action="${href.changeset()}" method="get">
          <fieldset>
            <legend>${_('Select the base and the target for the diff')}:</legend>
            <table>
              <tr>
                <th><label for="old_path">From:</label></th>  <!--! FIXME: splited_phrase -->
                <td>
                  <input type="text" id="old_path" name="old_path"
                         value="$old_path" size="44" />
                  <label>${_('at revision')}:
                    <input type="text" name="old" value="$old_rev" size="4" />
                  </label>
                </td>
              </tr>
              <tr>
                <th><label for="new_path">To:</label></th>  <!--! FIXME: splited_phrase -->
                <td>
                  <input type="text" id="new_path" name="new_path"
                         value="$new_path" size="44" />
                  <label>${_('at revision')}:
                    <input type="text" name="new" value="$new_rev" size="4" />
                  </label>
                </td>
              </tr>
            </table>
            <p class="hint">
              ${_('For either path, you can start typing the path and will be ' 
                  'presented a list of existing directories and files to select '
                  'from. Select an entry by clicking on it, or by using the '
                  'up/down cursor keys and hitting tab.')}
            </p>
          </fieldset>
          <div class="buttons">
            <input type="submit" value="${_('View changes')}" />
          </div>
        </form>
      </div>
      <div id="help">
        <!--! FIXME: message_contains_tag --> 
        <strong>Note:</strong> diff についてのヘルプは、 
        <a href="${href.wiki('TracChangeset')}#ExaminingDifferencesBetweenBranches">TracChangeset</a>
        を参照してください。 
      </div>
    </div>
  </body>
</html>

