%(%)
%( used for jquery. old updmenu.txt is in updmenu1.txt %)
%define;jq1()
%if;has_birth_date; %slash_birth_date;
%elseif;has_baptism_date; %slash_baptism_date;
%end;
- %nn;
%if;has_death_date;%slash_death_date;
%elseif;has_burial_date;%slash_burial_date;
%elseif;has_cremation_date;%slash_cremation_date;
%end;
%if;(first_name = "?" or surname = "?")%index;%else;%occ;%end;
%first_name;
%surname;
%index;
%sex;
%end;
%define;jq1a(z1,z2)
%let;lbp;
%if;z1.has_birth_place;%z1.birth_place;
%elseif;z1.has_baptism_place;%z1.baptism_place;
%end;
%in;
%let;ldp;
%if;z1.is_dead;
%if;z1.has_death_place;%z1.death_place;
%elseif;z1.has_burial_place;%z1.burial_place;
%elseif;z1.has_cremation_place;%z1.cremation_place;
%end;
%end;
%in;
%if;z1.has_birth_date; %z1.slash_birth_date;
%elseif;z1.has_baptism_date; %z1.slash_baptism_date;
%end;
· %lbp;%nn;
%if;z1.is_dead;
%if;z1.has_death_date; %z1.slash_death_date;
%elseif;z1.has_burial_date; %z1.slash_burial_date;
%elseif;z1.has_cremation_date; %z1.slash_cremation_date;
%end;
· %ldp;%nn;
%end;
%z1.occupation;
%lbp;
%ldp;
%if;(z1.first_name = "?" or z1.surname = "?")%z1.index;%else;%z1.occ;%end;
%z1.first_name;
%z1.surname;
%z1.sex;
%end;
%define;jq1b()
%apply;jq1a("self","pa1")
%if;has_families;
%foreach;family()
%if;(family.index = evar.ifam)
%apply;jq1a("spouse","pa2")
%if;has_children;
%foreach;child;
%let;l1;ch%child_cnt;%in;
%apply;jq1a("child",l1)
%end;
%end;
%end;
%end;
%end;
%end;
%if;(evar.jq1 = "on")
%apply;jq1()
%elseif(evar.jq1a = "on")
%apply;jq1a("self","")
%elseif(evar.jq1b = "on")
%apply;jq1b()
%elseif(evar.upddag = "on")
%include;upddag
%else;
%include;updmenu1
%end;