%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"%/>
  <style type="text/css">
    html { background:url('%image_prefix;/gwback.jpg') }
    .highlight { color: %highlight;; font-weight: bold }
    hr { border: 0; border-bottom: 1px solid }
    a.date { text-decoration: none; color: black }
  </style>
%base_header;
</head>
<body%body_prop;>
%message_to_wizard;

<h1 style="text-align:center" class="highlight">[*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.jpg"%wid_hei;left.jpg; alt="&lt;&lt;"%/></a>
    %end;
    <a href="%prefix;"><img%sp;
    src="%image_prefix;/up.jpg"%wid_hei;up.jpg; alt="^^"%/></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="90%%">
<tr>
  <td align="%right;">
    <label>
      [*long display]
      <input type="checkbox" name="long" value="on"%/>
    </label>
  </td>
  <td align="%right;">
    <label>
      [*image/images]1
      <input type="checkbox" name="image" value="on"%/>
    </label>
  </td>
</tr>
<tr>
  <td align="%right;">
    <label>
      [*include spouses]
      <input type="checkbox" name="spouse" value="on"%/>
    </label>
  </td>
  <td align="%right;">
    <label>
      [*cancel GeneWeb links]
      <input type="checkbox" name="cgl" value="on"%/>
    </label>
  </td>
</tr>
<tr>
  <td align="%right;">
    <label>
      [*border]
      <input name="bd" size="1" maxlength="2" value="0"%/>
    </label>
  </td>
  <td align="%right;">
    <table><tr><td>[*color]</td>
    <td>
      <input type="radio" name="color" value="" checked="checked"%/>
    </td>
    <td style="background:#FFC0C0">
      <input type="radio" name="color" value="#FFC0C0"%/>
    </td>
    <td style="background:#FFFFC0">
      <input type="radio" name="color" value="#FFFFC0"%/>
    </td>
    <td style="background:#C0FFC0">
      <input type="radio" name="color" value="#C0FFC0"%/>
    </td>
    <td style="background:#C0FFFF">
      <input type="radio" name="color" value="#C0FFFF"%/>
    </td>
    <td style="background:#C0C0FF">
      <input type="radio" name="color" value="#C0C0FF"%/>
    </td>
    <td style="background:#FFC0FF">
      <input type="radio" name="color" value="#FFC0FF"%/>
    </td>
    </tr></table>
  </td>
</tr>
<tr>
  <td align="%right;">&nbsp;</td>
  <td align="%right;">&nbsp;</td>
</tr>
<tr align="%left;">
  <td align="center" colspan="2">
    <table border="%border;" cellspacing="0" cellpadding="0"><tr>
      <td align="%left;">
        <label>
          <input type="radio" name="et" value="A" checked="checked"%/>
          [*ancestors]
        </label>
      </td></tr><tr><td align="%left;">
        <label>
          <input type="radio" name="et" value="M"%/>
          [*relationships by marriage]
        </label>
      </td></tr><tr><td align="%left;">
        <label>
          <input type="radio" name="et" value="S"%/>
          [*shortest path]
        </label>
      </td>
    </tr></table>
  </td>
</tr>
<tr align="%left;">
  <td align="center" colspan="2">
    <input type="submit" value="Ok"%/>
  </td>
</tr>
</table>
</form>
<div>
<a href="%prefix;"><img src="%image_prefix;/gwlogo.png"
 alt="..." width="64" height="72" style="border:0;float:%right;"%/></a>
<br%/>
</div>
%copyright;
%base_trailer;
</body>
</html>
