diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-27 12:07:18 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-27 12:07:18 +0000 |
| commit | 1b7263c42f9bc10255ba7cc1f5086b3176491835 (patch) | |
| tree | c40918779a597fc702340311545470bff2b6ea0c | |
| parent | 27f4023ace0cbc822fb212b8750d5210370eaf99 (diff) | |
| download | webtrees-1b7263c42f9bc10255ba7cc1f5086b3176491835.tar.gz webtrees-1b7263c42f9bc10255ba7cc1f5086b3176491835.tar.bz2 webtrees-1b7263c42f9bc10255ba7cc1f5086b3176491835.zip | |
Remove menu/zoom icons when printing
| -rw-r--r-- | includes/functions/functions_print.php | 5 | ||||
| -rw-r--r-- | themes/clouds/templates/personbox_template.php | 2 | ||||
| -rw-r--r-- | themes/colors/templates/personbox_template.php | 2 | ||||
| -rw-r--r-- | themes/fab/templates/personbox_template.php | 2 | ||||
| -rw-r--r-- | themes/minimal/templates/personbox_template.php | 2 | ||||
| -rw-r--r-- | themes/webtrees/templates/personbox_template.php | 2 | ||||
| -rw-r--r-- | themes/xenea/templates/personbox_template.php | 2 |
7 files changed, 6 insertions, 11 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 3f549ef67d..85d07e38b1 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -197,11 +197,6 @@ function print_pedigree_person($pid, $style=1, $show_famlink=true, $count=0, $pe if ($ZOOM_BOXES=="mousedown") $outBoxAdd .= $mouseAction3; if (($ZOOM_BOXES=="click")&&($view!="preview")) $outBoxAdd .= $mouseAction4; } - //-- links and zoom icons - // NOTE: Start div icons-$personcount.$pid.$count - if ($show_full) $iconsStyleAdd .= " display: block;"; - else $iconsStyleAdd .= " display: none;"; - //echo "\">"; // NOTE: Zoom if (($ZOOM_BOXES!="disabled")&&($show_full)) { $icons .= "<a href=\"javascript:;\""; diff --git a/themes/clouds/templates/personbox_template.php b/themes/clouds/templates/personbox_template.php index 93c9223087..3d9c1586c4 100644 --- a/themes/clouds/templates/personbox_template.php +++ b/themes/clouds/templates/personbox_template.php @@ -43,7 +43,7 @@ if (!defined('WT_WEBTREES')) { <div id="out-<?php print $boxID; ?>" <?php print $outBoxAdd; ?>> <!-- table helps to maintain spacing --> <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"> - <div id="icons-<?php print $boxID; ?>" + <div class="noprint" id="icons-<?php print $boxID; ?>" style="<?php print $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php print $icons; ?> </div> <?php print $thumbnail; ?> diff --git a/themes/colors/templates/personbox_template.php b/themes/colors/templates/personbox_template.php index a0420ad242..723e1053f2 100644 --- a/themes/colors/templates/personbox_template.php +++ b/themes/colors/templates/personbox_template.php @@ -43,7 +43,7 @@ if (!defined('WT_WEBTREES')) { <div id="out-<?php print $boxID; ?>" <?php print $outBoxAdd; ?>> <!-- table helps to maintain spacing --> <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"> - <div id="icons-<?php print $boxID; ?>" + <div class="noprint" id="icons-<?php print $boxID; ?>" style="<?php print $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php print $icons; ?> </div> <?php print $thumbnail; ?> diff --git a/themes/fab/templates/personbox_template.php b/themes/fab/templates/personbox_template.php index 5958e82529..dd2f4727e0 100644 --- a/themes/fab/templates/personbox_template.php +++ b/themes/fab/templates/personbox_template.php @@ -34,7 +34,7 @@ if (!defined('WT_WEBTREES')) { echo '<div id="I', $boxID, 'links" style="position:absolute;left:0px;top:0px;width:', $lbwidth, 'px;visibility:hidden;z-index:100;">', $personlinks, '</div>', '<div id="out-', $boxID, '" ', $outBoxAdd, '>', - '<div id="icons-', $boxID, '" style="', $iconsStyleAdd, 'width:25px;height:50px;">', $icons, '</div>', + '<div class="noprint" id="icons-', $boxID, '" style="', $iconsStyleAdd, 'width:25px;height:50px;">', $icons, '</div>', $thumbnail, '<a class="name', $style, ' ', $classfacts, '" onclick="event.cancelBubble=true;" href="individual.php?pid=', $pid, '&ged=', WT_GEDCOM, '">', $name.$addname, '</a>', '<div id="inout2-', $boxID, '" class="details', $style, '" style="display:block;">', $BirthDeath, '</div>', diff --git a/themes/minimal/templates/personbox_template.php b/themes/minimal/templates/personbox_template.php index 4108acac70..924a42b179 100644 --- a/themes/minimal/templates/personbox_template.php +++ b/themes/minimal/templates/personbox_template.php @@ -43,7 +43,7 @@ if (!defined('WT_WEBTREES')) { <div id="out-<?php print $boxID; ?>" <?php print $outBoxAdd; ?>> <!-- table helps to maintain spacing --> <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"> - <div id="icons-<?php print $boxID; ?>" + <div class="noprint" id="icons-<?php print $boxID; ?>" style="<?php print $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php print $icons; ?> </div> <?php print $thumbnail; ?> diff --git a/themes/webtrees/templates/personbox_template.php b/themes/webtrees/templates/personbox_template.php index 3640b98b6c..4018684e1d 100644 --- a/themes/webtrees/templates/personbox_template.php +++ b/themes/webtrees/templates/personbox_template.php @@ -43,7 +43,7 @@ if (!defined('WT_WEBTREES')) { <div id="out-<?php print $boxID; ?>" <?php print $outBoxAdd; ?>>
<!-- table helps to maintain spacing -->
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top">
- <div id="icons-<?php print $boxID; ?>"
+ <div class="noprint" id="icons-<?php print $boxID; ?>"
style="<?php print $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php print $icons; ?>
</div>
<?php print $thumbnail; ?>
diff --git a/themes/xenea/templates/personbox_template.php b/themes/xenea/templates/personbox_template.php index 4108acac70..924a42b179 100644 --- a/themes/xenea/templates/personbox_template.php +++ b/themes/xenea/templates/personbox_template.php @@ -43,7 +43,7 @@ if (!defined('WT_WEBTREES')) { <div id="out-<?php print $boxID; ?>" <?php print $outBoxAdd; ?>> <!-- table helps to maintain spacing --> <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"> - <div id="icons-<?php print $boxID; ?>" + <div class="noprint" id="icons-<?php print $boxID; ?>" style="<?php print $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php print $icons; ?> </div> <?php print $thumbnail; ?> |
