diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-11-20 16:42:26 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-11-20 16:42:26 +0000 |
| commit | 8f3ea1f144c0f8611b89babd805352c2e035c850 (patch) | |
| tree | 15e5f441d24ce5f9cfae4419477d23709c016079 /includes | |
| parent | 6c7dc4230ce75c8429419ac62d9ba975c4f8baf7 (diff) | |
| download | webtrees-8f3ea1f144c0f8611b89babd805352c2e035c850.tar.gz webtrees-8f3ea1f144c0f8611b89babd805352c2e035c850.tar.bz2 webtrees-8f3ea1f144c0f8611b89babd805352c2e035c850.zip | |
Fix: some charts starting with the wrong person. Use rootid (instead of pid) consistently as the parameter name.
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_print.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 71bf6c7553..b4464504b7 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -97,13 +97,13 @@ function print_pedigree_person($person, $style=1, $count=0, $personcount="1") { if (WT_USER_GEDCOM_ID && WT_USER_GEDCOM_ID!=$pid) { $personlinks .= '<dt><a href="relationship.php?show_full='.$PEDIGREE_FULL_DETAILS.'&pid1='.WT_USER_GEDCOM_ID.'&pid2='.$pid.'&show_full='.$PEDIGREE_FULL_DETAILS.'&pretty=2&followspouse=1&ged='.WT_GEDURL.'"><b>'.WT_I18N::translate('Relationship to me').'</b></a></dt>'; } - $personlinks .= '<dt><a href="descendancy.php?pid='.$pid.'&show_full='.$PEDIGREE_FULL_DETAILS.'&generations='.$generations.'&box_width='.$box_width.'&ged='.rawurlencode($GEDCOM).'"><b>'.WT_I18N::translate('Descendants').'</b></a></dt>'; + $personlinks .= '<dt><a href="descendancy.php?rootid='.$pid.'&show_full='.$PEDIGREE_FULL_DETAILS.'&generations='.$generations.'&box_width='.$box_width.'&ged='.rawurlencode($GEDCOM).'"><b>'.WT_I18N::translate('Descendants').'</b></a></dt>'; $personlinks .= '<dt><a href="ancestry.php?rootid='.$pid.'&show_full='.$PEDIGREE_FULL_DETAILS.'&chart_style='.$chart_style.'&PEDIGREE_GENERATIONS='.$OLD_PGENS.'&box_width='.$box_width.'&ged='.rawurlencode($GEDCOM).'"><b>'.WT_I18N::translate('Ancestors').'</b></a></dt>'; $personlinks .= '<dt><a href="compact.php?rootid='.$pid.'&ged='.rawurlencode($GEDCOM).'"><b>'.WT_I18N::translate('Compact tree').'</b></a></dt>'; if (function_exists("imagettftext")) { $personlinks .= '<dt><a href="fanchart.php?rootid='.$pid.'&PEDIGREE_GENERATIONS='.$OLD_PGENS.'&ged='.rawurlencode($GEDCOM).'"><b>'.WT_I18N::translate('Fan chart').'</b></a></dt>'; } - $personlinks .= '<dt><a href="hourglass.php?pid='.$pid.'&show_full='.$PEDIGREE_FULL_DETAILS.'&chart_style='.$chart_style.'&PEDIGREE_GENERATIONS='.$OLD_PGENS.'&box_width='.$box_width.'&ged='.rawurlencode($GEDCOM).'&show_spouse='.$show_spouse.'"><b>'.WT_I18N::translate('Hourglass chart').'</b></a></dt>'; + $personlinks .= '<dt><a href="hourglass.php?rootid='.$pid.'&show_full='.$PEDIGREE_FULL_DETAILS.'&chart_style='.$chart_style.'&PEDIGREE_GENERATIONS='.$OLD_PGENS.'&box_width='.$box_width.'&ged='.rawurlencode($GEDCOM).'&show_spouse='.$show_spouse.'"><b>'.WT_I18N::translate('Hourglass chart').'</b></a></dt>'; if (array_key_exists('tree', WT_Module::getActiveModules())) { $personlinks .= '<dt><a href="module.php?mod=tree&mod_action=treeview&ged='.WT_GEDURL.'&rootid='.$pid.'"><b>'.WT_I18N::translate('Interactive tree').'</b></a></dt>'; } |
