<!DOCTYPE html>
<html lang="%lang;">
<head>
<!-- $Id: anctree.txt v7.1 07/09/2023 04:06:52 $ -->
<!-- Copyright (c) 1998-2007 INRIA -->
%define;ttl()
  %apply;a_of_b%with;
    %if;(e.t="A")[*male line/female line]0%nn;
    %elseif;(e.t="C")[*male line/female line]1%nn;
    %else;[*ascendants tree]%end;%nn;
  %and;%self;%end; %nn;
%end;
  <title>%apply;ttl()</title>
  <meta name="robots" content="none">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="shortcut icon" href="%images_prefix;favicon_gwd.png">
%include;css
</head>
<body%body_prop;>
%include;hed
%message_to_wizard;
<div class="container-fluid pb-6">
%include;perso_utils
%if;not cancel_links;
  %include;menubar
%end;
%if;(e.t="T" and e.t1="7")
  %include;modules/arbre_7gen
%elseif;(e.t="T" and e.t1="h6")
  %include;modules/arbre_h6
%elseif;(e.t="T" and e.t1="m") %(m for compatibility with existing arbre_8gen %)
  %include;modules/arbre_8gen
%elseif;(e.t="T" and e.t1="CT") %(CT for compatibility with templm %)
  %(js loaded before because jquery.line.js needs jquery loaded before %)
  %include;js
  %include;modules/arbre_hi_tools
  %include;templm/tools
  %include;modules/arbre_hi_indexes
  %include;modules/arbre_hi
%elseif;(e.t="A" or e.t="C" or e.t="T")
  <h3 class="ml-3 text-no-wrap">%nn;
    %apply;ttl()<small class="text-muted font-weight-lighter">%apply;togena(e.v)</small>
  </h3>
  %include;modules/arbre_vertical
%else;
  This should not happen (probably a bad variable in URL: check t=/t1=)
%end;
%base_trailer;
%if;(e.t!="T" and e.t!="A" and e.t!="C" and e.t1="")
%include;copyr
%end;
</div>
%if;(not (e.t="T" and e.t1="CT"))
%include;js
%end;
</body>
</html>
