summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2011-11-09 22:40:28 +0000
committerNigel Osborne <kiwi3685@me.com>2011-11-09 22:40:28 +0000
commitda30a24a2610f507c8d16f3ebff6216fd5584a22 (patch)
tree225f8c63853a47ec0ccd6b9b9b0ba811908782e5 /includes
parent7eaf68952096d76b0a8d67bc2e4671d9c55d2525 (diff)
downloadwebtrees-da30a24a2610f507c8d16f3ebff6216fd5584a22.tar.gz
webtrees-da30a24a2610f507c8d16f3ebff6216fd5584a22.tar.bz2
webtrees-da30a24a2610f507c8d16f3ebff6216fd5584a22.zip
Remove showparents from small blocks
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions_print_lists.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php
index 7ba7f34bf2..8533124cc9 100644
--- a/includes/functions/functions_print_lists.php
+++ b/includes/functions/functions_print_lists.php
@@ -1438,7 +1438,7 @@ function format_surname_list($surnames, $style, $totals, $type) {
// print a list of recent changes
-function print_changes_list($change_ids, $sort, $show_parents=false) {
+function print_changes_list($change_ids, $sort) {
global $SHOW_MARRIED_NAMES;
$n = 0;
$arr=array();
@@ -1480,9 +1480,6 @@ function print_changes_list($change_ids, $sort, $show_parents=false) {
}
}
}
- if ($show_parents) {
- $return .= $value['record']->getPrimaryParentsNames('details1');
- }
}
$return .= /* I18N: [a record was] Changed on <date/time> by <user> */ WT_I18N::translate('Changed on %1$s by %2$s', $value['record']->LastChangeTimestamp(false), $value['record']->LastChangeUser());
$return .= '</div>';
@@ -1491,7 +1488,7 @@ function print_changes_list($change_ids, $sort, $show_parents=false) {
}
// print a table of recent changes
-function print_changes_table($change_ids, $sort, $show_parents=false) {
+function print_changes_table($change_ids, $sort) {
global $SHOW_MARRIED_NAMES, $TEXT_DIRECTION, $WT_IMAGES, $controller;
$return = '';
@@ -1597,9 +1594,6 @@ function print_changes_table($change_ids, $sort, $show_parents=false) {
}
}
}
- if ($show_parents) {
- $return .= $record->getPrimaryParentsNames("parents_$table_id details1");
- }
$return .= '</div>'; //class='indent'
}
$return .= "</td>";