%doctype;
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <!-- $Id: dag.txt,v 5.5 2007-07-25 13:15:19 ddr Exp $ -->
  <!-- Copyright (c) 1998-2007 INRIA -->
  <title>%nn;
    %if;(evar.slices = "on")
      [*display by slices/slice width/overlap/total width]0%nn;
    %else;%head_title;%end;
  </title>
  <meta name="robots" content="none"%/>
  <meta http-equiv="Content-Type" content="text/html; charset=%charset;"%/>
  <meta http-equiv="Content-Style-Type" content="text/css"%/>
  <link rel="shortcut icon" href="%image_prefix;/favicon_gwd.png"%/>
%include.css;
%base_header;
</head>
<body%body_prop;>
%message_to_wizard;

%if;not cancel_links;
  <table style="float:%right;"><tr><td>
    %if;(referer != "")
      <a href="%referer;"><img
       src="%image_prefix;/left.png"%wid_hei;left.png; 
       alt="&lt;&lt;" title="&lt;&lt;"%/></a>
    %end;
    <a href="%prefix;"><img%sp;
    src="%image_prefix;/up.png"%wid_hei;up.png; 
    alt="^^" title="^^"%/></a>
  </td></tr></table>
  <hr style="clear:both; visibility:hidden;"%/>
%end;

<a href="%prefix;" accesskey="T"></a>

%if;(evar.slices = "on")
  <h1>%nn;
    [*display by slices/slice width/overlap/total width]0%nn;
  </h1>
  <form method="GET" action="%action;">
  <p>
  %hidden;
  %foreach;env_binding;
    %if;(env.key != "slices")
      <input type="hidden" name="%env.key;" value="%env.val.decoded;"%/>
    %end;
  %end;
  </p>
  <table>
  <tr align="%left;">
    <td align="%right;">
      <label>
      [*don't group the common branches together]
      <input type="checkbox" name="nogroup" value="on"%/>
      </label>
    </td>
  </tr>
  <tr align="%left;">
    <td align="%right;">
      <label>
      [*display by slices/slice width/overlap/total width]1
      <input name="dpos" size="5" value="78"%/>
      </label>
    </td>
  </tr>
  <tr align="%left;">
    <td align="%right;">
      <label>
      [*display by slices/slice width/overlap/total width]2
      <input name="overlap" size="5" value="10"%/>
      </label>
    </td>
  </tr>
  <tr align="%left;">
    <td align="%right;">
      <label>
      [*display by slices/slice width/overlap/total width]3
      (%dag.min_wid;-%dag.max_wid;)
      <input name="width" size="5" value="%nn;
        %if;(dag.max_wid <= 78)%dag.max_wid;
        %elseif;(dag.min_wid >= 78)%dag.min_wid;
        %else;78%end;"%/>
      </label>
    </td>
  </tr>
  </table>
  <p><input type="submit" value="Ok"%/></p>
  </form>
%else;
  %if;(evar.notab != "on")
    <div style="text-align:%right;
    "><a href="%prefix;%foreach;env_binding;%env.key;=%env.val;;%end;
       notab=on;slices=on" accesskey="/"><tt>//</tt></a></div>
  %end;
  %if;(evar.notab = "on" or evar.pos2 != "")
    %let;dpos;%if;(evar.dpos != "")%evar.dpos;%else;78%end;%in;
    %let;pos1;%if;(evar.pos1 != "")%evar.pos1;%else;0%end;%in;
    %let;pos2;%if;(evar.pos2 != "")%evar.pos2;%else;%dpos;%end;%in;
    %let;overlap;%if;(evar.overlap != "")%evar.overlap;%else;10%end;%in;
    %if;(pos1 != 0 or pos2 < dag.ncol)
      <div style="text-align:right">
        %if;(pos1 = 0)&nbsp;%nn;
        %else;
          <a href="%prefix;
            %foreach;env_binding;
              %if;(env.key != "pos1" and env.key != "pos2")
                %env.key=%env.val;;%nn;
              %end;
            %end;
            pos1=%expr;(pos1 + overlap - dpos)
            ;pos2=%expr(pos1 + overlap)">&lt;&lt;</a>%nn;
        %end;%nl
        %if;(pos2 >= dag.ncol)&nbsp;%nn;
        %else;
          <a href="%prefix;
            %foreach;env_binding;
              %if;(env.key != "pos1" and env.key != "pos2")
                %env.key=%env.val;;%nn;
              %end;
            %end;
            pos1=%expr;(pos2 - overlap)
            ;pos2=%expr(pos2 - overlap + dpos)">&gt;&gt;</a>%nn;
        %end;%nl;
      </div>
    %end;
    <pre>
    %foreach;dag_line;
      %foreach;dag_line_pre;
        %foreach;dag_cell_pre;
          %dag_cell_pre;%nn;
        %end;%nl;
      %end;
    %end;
    </pre>
  %else;
    <table border="%border;" width="100%%"><tr><td align="center">
    <table border="%border;" cellspacing="0" cellpadding="0">
    %foreach;dag_line;
      <tr align="left">
      %foreach;dag_cell;
        <td colspan="%if;(dag_cell.colspan > 1)%dag_cell.colspan;%else;1%end;" align="%dag_cell.align;">%nn;
        %if;dag_cell.is_nothing;&nbsp;%nn;
        %elseif;dag_cell.is_bar;
          %if;(dag_cell.bar_link != "" and evar.cgl != "on")
            <a style="text-decoration:none" href="%dag_cell.bar_link;">|</a>%nn;
          %else;|%end;
        %elseif;(dag_cell.item != "")%dag_cell.item;
        %elseif;(dag_cell.text != "")%dag_cell.text;
        %else;
          %if;dag_cell.is_hr_left;
            <hr class="%left;"%/>%nn;
          %elseif;dag_cell.is_hr_right;
            <hr class="%right;"%/>%nn;
          %else;
            <hr class="full"%/>%nn;
          %end;
        %end;
        </td>
      %end;
      </tr>
    %end;
    </table>
    </td></tr></table>
  %end;
  %if;(link_next != "")
    <p>
    <a href="%link_next;" accesskey=">">&gt;&gt;</a>%nl;
    </p>
  %end;
%end;

%base_trailer;
%copyright;
</body>
</html>
