FamilyTreeInfo

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

* serializing in platform independent way

NEW IN VERSION 2.3.10:
* bug fixes

NEW IN VERSION 2.3.9:
* language Russian added

NEW IN VERSION 2.3.8:
* no zoom-out button if there are no more generations
* border color of the image depends on the existence of the member (black for dead relative). See class dead and alive in style sheet
* gender-dependent picture for unknown persons
* proper UTF-8 and excel encoding (big endian) handling
* bug fixes (e.g. in language switching)
* config file change (see option encoding for csv format)

NEW IN VERSION 2.3.7:
* language Romanian is added
* cleaner code

NEW IN VERSION 2.3.6:

README  view on Meta::CPAN

    
      1. Full name.
       Middle names can be included in this field.
       If more than one person share the same name, a number can be appended (not shown in the displayed output). For example, "Bart Simpson2".
      2. Father (optional - leave blank if not known). No middle names.
      3. Mother (optional)
      4. email address (optional)
      5. web page (optional)
      6. Dates, birth-death (both optional).
      Examples: "17/10/49-24/11/83", "10/69-"
       Note that the year of birth is not displayed for people who are still alive.
      7. Gender (0 for male, 1 for female)
      8. title: like: Dr., Prof.
      9. prefix: like: sir
      10. suffix: like: VIII
      11. is living?: 0 for live 1 for dead
      12. place of birth: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
      13. place of death: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
      14. cemetery: the format is: "country" "city" "cemetery", like: "USA" "Washington D.C." "Arlington National Cemetery"
      15. schools: use comma as separator, like: Harward,MIT
      16. jobs: use comma as separator

cgi-bin/css/bodon_default.css  view on Meta::CPAN

.woman {
	background-color : #DAA3AC;
}
.unknown {
	background-color : #ffffff;
}

.dead {
	border-color: #000000;
}
.alive {
	border-color: #ffffff;
}

PRE {
	margin-left : 40px;
	margin-right : 40px;
}
.picture{
	margin-top : 50px;
	margin-bottom : 50px;

cgi-bin/readme.txt  view on Meta::CPAN


1. Full name.
   Middle names can be included in this field.
   If more than one person share the same name, a number can be appended (not shown in the displayed output). For example, "Bart Simpson2". 
2. Father (optional - leave blank if not known). No middle names. 
3. Mother (optional) 
4. email address (optional) 
5. web page (optional) 
6. Dates, birth-death (both optional).
   Examples: "17/10/49-24/11/83", "10/69-"
   Note that the year of birth is not displayed for people who are still alive. 
7. Gender (0 for male, 1 for female)
8. title: like: Dr., Prof.
9. prefix: like: sir
10. suffix: like: VIII
11. is living?: 0 for live 1 for dead
12. place of birth: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
13. place of death: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
14. cemetery: the format is: "country" "city" "cemetery", like: "USA" "Washington D.C." "Arlington National Cemetery"
15. schools: use comma as separator, like: Harward,MIT
16. jobs: use comma as separator

lib/Ftree/FamilyTreeBase.pm  view on Meta::CPAN

            ? $person->get_gender() == 0
                  ? '/nophoto_m.jpg'
                  : '/nophoto_f.jpg'
            : '/nophoto.gif'
          );

        return $self->{cgi}->img(
            {
                -border => $self->{imgwidth} / 15,
                -src    => $picture_file,
                -class  => $person->get_is_living() ? 'alive' : 'dead',
                -alt    => ( defined $person->get_name() )
                ? $person->get_name()->get_full_name()
                : 'UNKNOWN',
                -width  => $self->{imgwidth},
                -height => $self->{imgheight}
            }
        );
    }
}

lib/Ftree/FamilyTreeInfo.pm  view on Meta::CPAN


  1. Full name.
   Middle names can be included in this field.
   If more than one person share the same name, a number can be appended (not shown in the displayed output). For example, "Bart Simpson2".
  2. Father (optional - leave blank if not known). No middle names.
  3. Mother (optional)
  4. email address (optional)
  5. web page (optional)
  6. Dates, birth-death (both optional).
  Examples: "17/10/49-24/11/83", "10/69-"
   Note that the year of birth is not displayed for people who are still alive.
  7. Gender (0 for male, 1 for female)
  8. title: like: Dr., Prof.
  9. prefix: like: sir
  10. suffix: like: VIII
  11. is living?: 0 for live 1 for dead
  12. place of birth: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
  13. place of death: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
  14. cemetery: the format is: "country" "city" "cemetery", like: "USA" "Washington D.C." "Arlington National Cemetery"
  15. schools: use comma as separator, like: Harward,MIT
  16. jobs: use comma as separator

lib/Ftree/Name.pm  view on Meta::CPAN


  1. Full name.
   Middle names can be included in this field.
   If more than one person share the same name, a number can be appended (not shown in the displayed output). For example, "Bart Simpson2".
  2. Father (optional - leave blank if not known). No middle names.
  3. Mother (optional)
  4. email address (optional)
  5. web page (optional)
  6. Dates, birth-death (both optional).
  Examples: "17/10/49-24/11/83", "10/69-"
   Note that the year of birth is not displayed for people who are still alive.
  7. Gender (0 for male, 1 for female)
  8. title: like: Dr., Prof.
  9. prefix: like: sir
  10. suffix: like: VIII
  11. is living?: 0 for live 1 for dead
  12. place of birth: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
  13. place of death: the format is: "country" "city". The city part may be omitted. Quotation marks are mandatory.
  14. cemetery: the format is: "country" "city" "cemetery", like: "USA" "Washington D.C." "Arlington National Cemetery"
  15. schools: use comma as separator, like: Harward,MIT
  16. jobs: use comma as separator

lib/Ftree/TextGenerators/EnglishTextGenerator.pm  view on Meta::CPAN

    Total_with_email => "Total number of people with email address: ",
    Total_with_homepage => "Total number of people with home page: ",
    Total_with_photo => "Total number of people with photo: ",
    months_array => [ "January", "February", "March", "April", "May", "June",
      "July",    "August",   "September", "October", "November", "December"],
    Invalid_option => "Invalid type parameter",
    Valid_options => "Valid options are <none>, snames, faces, emails, hpages, bdays.",
    ZoomIn => "Zoom in",
    ZoomOut => "Zoom out",
    CheckAnotherMonth => "Check another month",
    DonationSentence => "The family tree software is absolutely free. Nevertheless to keep it alive donations are needed.",
    Go => "Go",
    Unknown => "Unknown",
    name => "name",
    photo => "photo",
    man => "man",
    woman => "woman",
    unknown => "unknown",

    hungarian => "hungarian",
    polish => "polish",   

t/002_plack/css/bodon_default.css  view on Meta::CPAN

.woman {
	background-color : #DAA3AC;
}
.unknown {
	background-color : #ffffff;
}

.dead {
	border-color: #000000;
}
.alive {
	border-color: #ffffff;
}

PRE {
	margin-left : 40px;
	margin-right : 40px;
}
.picture{
	margin-top : 50px;
	margin-bottom : 50px;



( run in 0.610 second using v1.01-cache-2.11-cpan-483215c6ad5 )