%doctype;
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <!-- $Id: relmenu.txt,v 5.6 2007-07-25 15:01:02 ddr Exp $ -->
  <!-- Copyright (c) 1998-2007 INRIA -->
  <title>[*link between]%sp;
    %if;(public_name != "")%public_name;
    %else;%first_name; %surname;%end; [and]0...%nn;
  </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;

<h1>[*link between]%sp;
  %if;(public_name != "")%public_name;%else;%first_name;%end;
  %if;(qualifier != "") <em>%qualifier;</em>%end;
  %sp;%surname;
  %if;(alias != "") <em>(%alias;)</em>%end;
  %sp;[and]0...%nn;
</h1>

%define;relative_sosa(sosa_link)
  [<em>Sosa number</em> relative to %t:::sosa_link]
%end;

%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>
%end;

<form method="get" action="%action;">
<p>
%hidden;
<input type="hidden" name="em" value="R"%/>
%if;access_by_key;
  <input type="hidden" name="ep" value="%first_name_key_val;"%/>
  <input type="hidden" name="en" value="%surname_key_val;"%/>
  %if;(occ != "0")
    <input type="hidden" name="eoc" value="%occ;"%/>
  %end;
%else
  <input type="hidden" name="ei" value="%index;"%/>
%end;
</p>
<ul>
<li>
  <input type="hidden" name="m" value="NG"%/>
  <input type="radio" name="select" value="input" checked="checked"%/>
  <input name="n" size="40" maxlength="200"%/>
  <ul>
  <li>
    <label>
      <input type="radio" name="t" value="PN" checked="checked"%/>
      <em>[first name/first names]0 [surname/surnames]0</em>
      [or] <em>[public name]</em>
      [or] <em>[alias]</em>
      %if;browsing_with_sosa_ref;[or]
        %apply;relative_sosa%with
          <a href="%prefix;%sosa_ref.access;">%sosa_ref;</a>
        %end;
      %end;
    </label>
  </li>
  <li>
    <label>
      <input type="radio" name="t" value="P"%/>
      <em>[first name/first names]0</em>
    </label>
  </li>
  <li>
    <label>
      <input type="radio" name="t" value="N"%/>
      <em>[surname/surnames]0</em>
    </label>
  </li>
  </ul>
</li>
%foreach;family;
  %if;(spouse != "? ?")
    <li>
      <label>
        <input type="radio" name="select" value="%spouse.index;"%/>
        %spouse;
        %if;spouse.has_nobility_titles;,%sp;
        <em>%spouse.nobility_title;</em>%end;%nl;
      </label>
    </li>
  %end;
%end;
%foreach;relation;
  %if;has_relation_him;
  <li>
    <label>
      <input type="radio" name="select" value="%relation_him.index;"%/>
      (%relation_him.type;)%nl;%relation_him;
      %if;relation_him.has_nobility_titles;,%sp;
      <em>%relation_him.nobility_title;</em>%end;%nl;
    </label>
  </li>
  %end;
  %if;has_relation_her;
  <li>
    <label>
      <input type="radio" name="select" value="%relation_her.index;"%/>
      (%relation_her.type;)%nl;%relation_her;
      %if;relation_her.has_nobility_titles;,%sp;
      <em>%relation_her.nobility_title;</em>%end;%nl;
    </label>
  </li>
  %end;
%end;
%foreach;related;
<li>
  <label>
    <input type="radio" name="select" value="%related.index;"%/>
    (%related.type;)%nl;%related;
    %if;related.has_nobility_titles;,%sp;
    <em>%related.nobility_title;</em>%end;%nl;
  </label>
</li>
%end;
%foreach;family;
  %foreach;witness;
  <li>
    <label>
      <input type="radio" name="select" value="%witness.index;"%/>
      ([witness/witnesses]0)%nl;%witness;%nl;
    </label>
  </li>
  %end;
%end;
</ul>

<table border="%border;" width="100%%"><tr><td align="center">
<table border="%border;">
<tr>
  <td align="%left;">
    <label>
      [*long display]
      <input type="checkbox" name="long" value="on"%/>
    </label>
  </td>
  <td align="%left;">
    <label>
      [*image/images]1
      <input type="checkbox" name="image" value="on"%/>
    </label>
  </td>
  <td align="%left;">
    <label>
      <input type="radio" name="et" value="A" checked="checked"%/>
      [*ancestors]
    </label>
  </td>
</tr>
<tr>
  <td align="%left;">
    <label>
      [*include spouses]
      <input type="checkbox" name="spouse" value="on"%/>
    </label>
  </td>
  <td align="%left;">
    <label>
      [*cancel GeneWeb links]
      <input type="checkbox" name="cgl" value="on"%/>
    </label>
  </td>
  <td align="%left;">
    <label>
      <input type="radio" name="et" value="M"%/>
      [*relationships by marriage]
    </label>
  </td>
</tr>
<tr>
  <td align="%left;">
    <label>
      [*border]
      <input name="bd" size="1" maxlength="2" value="0"%/>
    </label>
  </td>
  <td align="%left;">
    <table><tr><td>[*color]</td>
    <td>
      <input type="radio" name="color" value="" checked="checked"%/>
    </td>
    <td class="bg1">
      <input type="radio" name="color" value="bg1"%/>
    </td>
    <td class="bg2">
      <input type="radio" name="color" value="bg2"%/>
    </td>
    <td class="bg3">
      <input type="radio" name="color" value="bg3"%/>
    </td>
    <td class="bg4">
      <input type="radio" name="color" value="bg4"%/>
    </td>
    <td class="bg5">
      <input type="radio" name="color" value="bg5"%/>
    </td>
    <td class="bg6">
      <input type="radio" name="color" value="bg6"%/>
    </td>
    </tr></table>
  </td>
  <td align="%left;">
    <label>
      <input type="radio" name="et" value="S"%/>
      [*shortest path]
    </label>
  </td>
</tr>
</table>

<tr align="%left;">
  <td align="center" colspan="2">
    <input type="submit" value="Ok"%/>
  </td>
</td></tr></table>
</form>


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