summaryrefslogtreecommitdiff
path: root/themes/minimal/templates
diff options
context:
space:
mode:
authorRob Peters <makitso@gmail.com>2011-12-30 14:45:46 +0000
committerRob Peters <makitso@gmail.com>2011-12-30 14:45:46 +0000
commitc9d0fe205e1f65a0f659140d6cb541b83a6b0d3b (patch)
tree92f8f5a0050d55a689f846303c16dc98bbbfcd8c /themes/minimal/templates
parente3ca111fe8c7b4cce4da343f8a23ec7c84dd1e9a (diff)
downloadwebtrees-c9d0fe205e1f65a0f659140d6cb541b83a6b0d3b.tar.gz
webtrees-c9d0fe205e1f65a0f659140d6cb541b83a6b0d3b.tar.bz2
webtrees-c9d0fe205e1f65a0f659140d6cb541b83a6b0d3b.zip
Remove icon code for non-detailed person box.
Diffstat (limited to 'themes/minimal/templates')
-rw-r--r--themes/minimal/templates/personbox_template.php12
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; ?>&amp;ged=<?php echo rawurlencode($GEDCOM); ?>">
<span id="namedef-<?php echo $boxID; ?>" class="name<?php echo $style; ?> <?php echo $classfacts; ?>">
<?php echo $name.$addname; ?>