diff options
| -rw-r--r-- | includes/classes/class_menubar.php | 6 | ||||
| -rw-r--r-- | includes/classes/class_treenav.php | 4 | ||||
| -rw-r--r-- | themes/cloudy/theme.php | 3 | ||||
| -rw-r--r-- | themes/colors/theme.php | 1 | ||||
| -rw-r--r-- | themes/fab/theme.php | 1 | ||||
| -rw-r--r-- | themes/minimal/theme.php | 1 | ||||
| -rw-r--r-- | themes/webtrees/theme.php | 1 | ||||
| -rw-r--r-- | themes/xenea/images/small/tree.gif | bin | 0 -> 1259 bytes | |||
| -rw-r--r-- | themes/xenea/theme.php | 1 |
9 files changed, 11 insertions, 7 deletions
diff --git a/includes/classes/class_menubar.php b/includes/classes/class_menubar.php index 329d8692da..2ca868933e 100644 --- a/includes/classes/class_menubar.php +++ b/includes/classes/class_menubar.php @@ -456,10 +456,8 @@ class MenuBar $link = "treenav.php?ged=".WT_GEDCOM; if ($rootid) $link .= "&rootid=".$rootid; $submenu = new Menu(i18n::translate('Interactive Tree'), encode_url($link)); - if (!empty($WT_IMAGES["gedcom"]["tree"])) - $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["gedcom"]["tree"]); - else if (!empty($WT_IMAGES["gedcom"]["small"])) - $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["gedcom"]["small"]); + if (!empty($WT_IMAGES["tree"]["small"])) + $submenu->addIcon($WT_IMAGE_DIR."/".$WT_IMAGES["tree"]["small"]); $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_gedcom"); $menu->addSubmenu($submenu); break; diff --git a/includes/classes/class_treenav.php b/includes/classes/class_treenav.php index 4cec953dc6..f44ebabfa6 100644 --- a/includes/classes/class_treenav.php +++ b/includes/classes/class_treenav.php @@ -308,7 +308,7 @@ class TreeNav { echo $thumbnail; } ?> <a href="<?php print $person->getLinkUrl(); ?>" onclick="if (!<?php print $this->name;?>.collapseBox) return false;"><?php print $person->getSexImage().PrintReady($name); ?></a> - <img src="<?php print $SERVER_URL.$WT_IMAGE_DIR."/".$WT_IMAGES["gedcom"]["small"];?>" border="0" width="15" onclick="<?php print $this->name;?>.newRoot('<?php print $person->getXref();?>', <?php print $this->name;?>.innerPort, '<?php print htmlentities($GEDCOM,ENT_COMPAT,'UTF-8'); ?>');" /> + <img src="<?php print $SERVER_URL.$WT_IMAGE_DIR."/".$WT_IMAGES["tree"]["small"];?>" border="0" width="15" onclick="<?php print $this->name;?>.newRoot('<?php print $person->getXref();?>', <?php print $this->name;?>.innerPort, '<?php print htmlentities($GEDCOM,ENT_COMPAT,'UTF-8'); ?>');" /> </span><br /> <div class="details1 indent"> <?php @@ -349,7 +349,7 @@ class TreeNav { } ?> <a href="<?php print $spouse->getLinkUrl(); ?>" onclick="if (!<?php print $this->name;?>.collapseBox) return false;"> <?php print $spouse->getSexImage().PrintReady($name); ?></a> - <img src="<?php print $SERVER_URL.$WT_IMAGE_DIR."/".$WT_IMAGES["gedcom"]["small"];?>" border="0" width="15" onclick="<?php print $this->name;?>.newRoot('<?php print $spouse->getXref();?>', <?php print $this->name;?>.innerPort, '<?php print htmlentities($GEDCOM,ENT_COMPAT,'UTF-8'); ?>');" /> + <img src="<?php print $SERVER_URL.$WT_IMAGE_DIR."/".$WT_IMAGES["tree"]["small"];?>" border="0" width="15" onclick="<?php print $this->name;?>.newRoot('<?php print $spouse->getXref();?>', <?php print $this->name;?>.innerPort, '<?php print htmlentities($GEDCOM,ENT_COMPAT,'UTF-8'); ?>');" /> <br /> <div class="details1 indent"> <?php diff --git a/themes/cloudy/theme.php b/themes/cloudy/theme.php index b25e7f66fe..0b835da2d6 100644 --- a/themes/cloudy/theme.php +++ b/themes/cloudy/theme.php @@ -88,6 +88,7 @@ $WT_IMAGES["edit_repo"]["small"] = "small/edit_repo.gif"; $WT_IMAGES["fambook"]["small"] = "small/fambook.gif"; $WT_IMAGES["fanchart"]["small"] = "small/fanchart.gif"; $WT_IMAGES["favorite"]["small"] = "small/fav.gif"; +$WT_IMAGES["favorites"]["small"] = "small/gedcom.gif"; $WT_IMAGES["gedcom"]["small"] = "small/gedcom.gif"; $WT_IMAGES["help"]["small"] = "small/help.gif"; $WT_IMAGES["home"]["small"] = "small/home.gif"; @@ -116,7 +117,7 @@ $WT_IMAGES["sfamily"]["small"] = "small/sfamily.gif"; $WT_IMAGES["source"]["small"] = "small/source.gif"; $WT_IMAGES["statistic"]["small"] = "small/statistic.gif"; $WT_IMAGES["timeline"]["small"] = "small/timeline.gif"; -$WT_IMAGES["favorites"]["small"] = "small/gedcom.gif"; +$WT_IMAGES["tree"]["small"] = "small/gedcom.gif"; $WT_IMAGES["wiki"]["small"] = "small/w_22.png"; //- PGV buttons for data entry pages diff --git a/themes/colors/theme.php b/themes/colors/theme.php index aa898c2207..1235ea7cb7 100644 --- a/themes/colors/theme.php +++ b/themes/colors/theme.php @@ -183,6 +183,7 @@ $WT_IMAGES["sfamily"]["small"] = "small/sfamily.gif"; $WT_IMAGES["source"]["small"] = "small/source.gif"; $WT_IMAGES["statistic"]["small"] = "small/statistic.gif"; $WT_IMAGES["timeline"]["small"] = "small/timeline.gif"; +$WT_IMAGES["tree"]["small"] = "small/gedcom.gif"; $WT_IMAGES["wiki"]["small"] = "small/w_22.png"; //- PGV buttons for data entry pages diff --git a/themes/fab/theme.php b/themes/fab/theme.php index ea91141747..22400fb74d 100644 --- a/themes/fab/theme.php +++ b/themes/fab/theme.php @@ -109,6 +109,7 @@ $WT_IMAGES["sfamily"]["small"] = "small/sfamily.gif"; $WT_IMAGES["source"]["small"] = "small/source.gif"; $WT_IMAGES["statistic"]["small"] = "small/statistic.gif"; $WT_IMAGES["timeline"]["small"] = "small/timeline.gif"; +$WT_IMAGES["tree"]["small"] = "small/gedcom.gif"; //- PGV buttons for data entry pages $WT_IMAGES["addmedia"]["button"] = "buttons/addmedia.gif"; diff --git a/themes/minimal/theme.php b/themes/minimal/theme.php index 50f7f9e7a0..fef872ec39 100644 --- a/themes/minimal/theme.php +++ b/themes/minimal/theme.php @@ -84,6 +84,7 @@ $WT_IMAGES["search"]["small"] = "small/search.gif"; $WT_IMAGES["sfamily"]["small"] = "sfamily.gif"; $WT_IMAGES["source"]["small"] = "small/source.gif"; $WT_IMAGES["timeline"]["small"] = "small/timeline.gif"; +$WT_IMAGES["tree"]["small"] = "small/gedcom.gif"; //- PGV buttons for data entry pages $WT_IMAGES["addmedia"]["button"] = "buttons/addmedia.gif"; diff --git a/themes/webtrees/theme.php b/themes/webtrees/theme.php index 3b70dd7cf1..60376786f4 100644 --- a/themes/webtrees/theme.php +++ b/themes/webtrees/theme.php @@ -110,6 +110,7 @@ $WT_IMAGES["sfamily"]["small"] = "small/sfamily.png"; $WT_IMAGES["source"]["small"] = "small/source.png";
$WT_IMAGES["statistic"]["small"] = "small/statistic.png";
$WT_IMAGES["timeline"]["small"] = "small/timeline.png";
+$WT_IMAGES["tree"]["small"] = "small/tree.png";
$WT_IMAGES["wiki"]["small"] = "small/w_22.png";
//- PGV buttons for data entry pages
diff --git a/themes/xenea/images/small/tree.gif b/themes/xenea/images/small/tree.gif Binary files differnew file mode 100644 index 0000000000..8c621f2115 --- /dev/null +++ b/themes/xenea/images/small/tree.gif diff --git a/themes/xenea/theme.php b/themes/xenea/theme.php index 2b54a6900f..eb2904e090 100644 --- a/themes/xenea/theme.php +++ b/themes/xenea/theme.php @@ -108,6 +108,7 @@ $WT_IMAGES["sfamily"]["small"] = "small/sfamily.gif"; $WT_IMAGES["source"]["small"] = "small/source.gif"; $WT_IMAGES["statistic"]["small"] = "small/statistic.gif"; $WT_IMAGES["timeline"]["small"] = "small/timeline.gif"; +$WT_IMAGES["tree"]["small"] = "small/tree.gif"; $WT_IMAGES["wiki"]["small"] = "small/w_22.png"; //- PGV buttons for data entry pages |
