summaryrefslogtreecommitdiff
path: root/modules/GEDFact_assistant
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-07-17 16:10:29 +0000
committerfisharebest <fisharebest@gmail.com>2010-07-17 16:10:29 +0000
commitb4da02a0df04e995a24e998d472f1052d498565b (patch)
treed66bd0f74a5b856e159efb323c2cb985f3eb0ca6 /modules/GEDFact_assistant
parent72cc34148c69d4aa6f14584d3268ea835b9ce739 (diff)
downloadwebtrees-b4da02a0df04e995a24e998d472f1052d498565b.tar.gz
webtrees-b4da02a0df04e995a24e998d472f1052d498565b.tar.bz2
webtrees-b4da02a0df04e995a24e998d472f1052d498565b.zip
Combine large and small icons - use CSS to downsize when small icons are required
Diffstat (limited to 'modules/GEDFact_assistant')
-rw-r--r--modules/GEDFact_assistant/_CENS/census_3_search_add.php6
-rw-r--r--modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php4
-rw-r--r--modules/GEDFact_assistant/_MEDIA/media_3_search_add.php6
-rw-r--r--modules/GEDFact_assistant/_MEDIA/media_query_1a.php4
4 files changed, 10 insertions, 10 deletions
diff --git a/modules/GEDFact_assistant/_CENS/census_3_search_add.php b/modules/GEDFact_assistant/_CENS/census_3_search_add.php
index 6becd6a5ab..50e7a66881 100644
--- a/modules/GEDFact_assistant/_CENS/census_3_search_add.php
+++ b/modules/GEDFact_assistant/_CENS/census_3_search_add.php
@@ -90,9 +90,9 @@ if (!defined('WT_WEBTREES')) {
<font size=1>
<?php
// Header text with "Head" button =================================================
- if (isset($WT_IMAGES["head"]["button"])) {
- $headImg = "<img class=\"headimg vmiddle\" src=\"".$WT_IMAGES["head"]["button"]."\" />";
- $headImg2 = "<img class=\"headimg2 vmiddle\" src=\"".$WT_IMAGES["head"]["button"]."\" alt=\"".i18n::translate('Click to choose person as Head of family.')."\" title=\"".i18n::translate('Click to choose person as Head of family.')."\" />";
+ if (isset($WT_IMAGES["head_button"])) {
+ $headImg = "<img class=\"headimg vmiddle\" src=\"".$WT_IMAGES["head_button"]."\" />";
+ $headImg2 = "<img class=\"headimg2 vmiddle\" src=\"".$WT_IMAGES["head_button"]."\" alt=\"".i18n::translate('Click to choose person as Head of family.')."\" title=\"".i18n::translate('Click to choose person as Head of family.')."\" />";
} else {
$headImg = "<img class=\"headimg vmiddle\" src=\"images/buttons/head.gif\" />";
$headImg2 = "<img class=\"headimg2 vmiddle\" src=\"images/buttons/head.gif\" alt=\"".i18n::translate('Click to choose person as Head of family.')."\" title=\"".i18n::translate('Click to choose person as Head of family.')."\" />";
diff --git a/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php b/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php
index cc3348ed40..57202c18d7 100644
--- a/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php
+++ b/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php
@@ -180,8 +180,8 @@ if ($action == "choose" && $paramok) {
// echo ' Enter Name or ID &nbsp; &nbsp; &nbsp; <b>OR</b> &nbsp; &nbsp; &nbsp;Search for ID ';
echo '</td><td style=" padding-bottom:2px; vertical-align:middle">';
echo '&nbsp;';
- if (isset($WT_IMAGES["add"]["other"])) {
- echo '<a href="#"><img style="border-style:none;" src="', $WT_IMAGES["add"]["other"], '" alt="', i18n::translate('Add'), ' "title="', i18n::translate('Add'), '" align="middle" name="addLink" value="" onClick="javascript:blankwin(); return false;" />';
+ if (isset($WT_IMAGES["add"])) {
+ echo '<a href="#"><img style="border-style:none;" src="', $WT_IMAGES["add"], '" alt="', i18n::translate('Add'), ' "title="', i18n::translate('Add'), '" align="middle" name="addLink" value="" onClick="javascript:blankwin(); return false;" />';
} else {
echo '<button name="addLink" value="" type="button" onClick="javascript:blankwin(); return false;">', i18n::translate('Add'), '</button>';
}
diff --git a/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php b/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php
index 449d77e033..a154e90f61 100644
--- a/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php
+++ b/modules/GEDFact_assistant/_MEDIA/media_3_search_add.php
@@ -89,9 +89,9 @@ if (!defined('WT_WEBTREES')) {
<td align="center" colspan=3 class="descriptionbox wrap font9">
<?php
// Header text with "Head" button =================================================
- if (isset($WT_IMAGES["head"]["button"])) {
- $headImg = "<img class=\"headimg vmiddle\" src=\"".$WT_IMAGES["head"]["button"]."\" />";
- $headImg2 = "<img class=\"headimg2 vmiddle\" src=\"".$WT_IMAGES["head"]["button"]."\" alt=\"".i18n::translate('Click to choose person as Head of family.')."\" title=\"".i18n::translate('Click to choose person as Head of family.')."\" />";
+ if (isset($WT_IMAGES["head_button"])) {
+ $headImg = "<img class=\"headimg vmiddle\" src=\"".$WT_IMAGES["head_button"]."\" />";
+ $headImg2 = "<img class=\"headimg2 vmiddle\" src=\"".$WT_IMAGES["head_button"]."\" alt=\"".i18n::translate('Click to choose person as Head of family.')."\" title=\"".i18n::translate('Click to choose person as Head of family.')."\" />";
} else {
$headImg = "<img class=\"headimg vmiddle\" src=\"images/buttons/head.gif\" />";
$headImg2 = "<img class=\"headimg2 vmiddle\" src=\"images/buttons/head.gif\" alt=\"".i18n::translate('Click to choose person as Head of family.')."\" title=\"".i18n::translate('Click to choose person as Head of family.')."\" />";
diff --git a/modules/GEDFact_assistant/_MEDIA/media_query_1a.php b/modules/GEDFact_assistant/_MEDIA/media_query_1a.php
index dc1e22574e..759dfd7c45 100644
--- a/modules/GEDFact_assistant/_MEDIA/media_query_1a.php
+++ b/modules/GEDFact_assistant/_MEDIA/media_query_1a.php
@@ -87,11 +87,11 @@ if (stristr($_SERVER["SCRIPT_NAME"], basename(__FILE__))!==false) {
if ($record->getType()=='INDI') {
?>
- <td align="center"><a href="#"><img style="border-style:none; margin-top:5px;" src="<?php echo $WT_IMAGES['family']['button']; ?>" alt="<?php echo i18n::translate('Open Family Navigator'); ?>" title="<?php echo i18n::translate('Open Family Navigator'); ?>" name="family_'<?php echo $link; ?>'" onclick="javascript:openFamNav('<?php echo $link; ?>');" /></a></td>
+ <td align="center"><a href="#"><img style="border-style:none; margin-top:5px;" src="<?php echo $WT_IMAGES['family_button']; ?>" alt="<?php echo i18n::translate('Open Family Navigator'); ?>" title="<?php echo i18n::translate('Open Family Navigator'); ?>" name="family_'<?php echo $link; ?>'" onclick="javascript:openFamNav('<?php echo $link; ?>');" /></a></td>
<?php
} elseif ($record->getType()=='FAM') {
?>
- <td align="center"><a href="#"><img style="border-style:none; margin-top:5px;" src="<?php echo $WT_IMAGES['family']['button']; ?>" alt="<?php echo i18n::translate('Open Family Navigator'); ?>" title="<?php echo i18n::translate('Open Family Navigator'); ?>" name="family_'<?php echo $link; ?>'" onclick="javascript:openFamNav('<?php echo $head; ?>');" /></a></td>
+ <td align="center"><a href="#"><img style="border-style:none; margin-top:5px;" src="<?php echo $WT_IMAGES['family_button']; ?>" alt="<?php echo i18n::translate('Open Family Navigator'); ?>" title="<?php echo i18n::translate('Open Family Navigator'); ?>" name="family_'<?php echo $link; ?>'" onclick="javascript:openFamNav('<?php echo $head; ?>');" /></a></td>
<?php
} else {
echo '<td></td>';