diff options
Diffstat (limited to 'themes/minimal/templates')
| -rw-r--r-- | themes/minimal/templates/personbox_template.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/themes/minimal/templates/personbox_template.php b/themes/minimal/templates/personbox_template.php index d30e974a61..10fa2f612e 100644 --- a/themes/minimal/templates/personbox_template.php +++ b/themes/minimal/templates/personbox_template.php @@ -35,10 +35,14 @@ if (!defined('WT_WEBTREES')) { <div id="out-<?php echo $boxID; ?>" <?php echo $outBoxAdd; ?>> <!-- table helps to maintain spacing --> <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"> - <div class="noprint" id="icons-<?php echo $boxID; ?>" - style="<?php echo $iconsStyleAdd; ?> width: 25px; height: 50px;"><?php echo $icons; ?> - </div> - <?php echo $thumbnail; ?> +<?php + if ($show_full) { + echo '<div class="noprint" id="icons-',$boxID,'"'; + echo 'style="',$iconsStyleAdd,' width: 25px; height: 50px">'; + echo $icons; + echo '</div>'; + } + echo $thumbnail; ?> <a onclick="event.cancelBubble = true;" href="individual.php?pid=<?php echo $pid; ?>&ged=<?php echo rawurlencode($GEDCOM); ?>"> <span id="namedef-<?php echo $boxID; ?>" class="name<?php echo $style; ?> <?php echo $classfacts; ?>"> <?php echo $name.$addname; ?> |
