diff options
| -rw-r--r-- | app/Controller/AncestryController.php | 4 | ||||
| -rw-r--r-- | app/Controller/DescendancyController.php | 6 | ||||
| -rw-r--r-- | app/Controller/FamilyBookController.php | 12 | ||||
| -rw-r--r-- | app/Controller/HourglassController.php | 4 | ||||
| -rw-r--r-- | app/Controller/TimelineController.php | 2 | ||||
| -rw-r--r-- | app/Functions/FunctionsCharts.php | 6 | ||||
| -rw-r--r-- | timeline.php | 4 |
7 files changed, 19 insertions, 19 deletions
diff --git a/app/Controller/AncestryController.php b/app/Controller/AncestryController.php index 80a519d175..2d5580c348 100644 --- a/app/Controller/AncestryController.php +++ b/app/Controller/AncestryController.php @@ -71,7 +71,7 @@ class AncestryController extends ChartController { if ($sosa === 1) { echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="3" width="', Theme::theme()->parameter('chart-descendancy-indent'), '"></td><td>'; } else { - echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="3" width="2" alt="">'; + echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="3" width="2">'; echo '<img src="', Theme::theme()->parameter('image-hline'), '" height="3" width="', Theme::theme()->parameter('chart-descendancy-indent') - 2, '"></td><td>'; } FunctionsPrint::printPedigreePerson($individual, $this->showFull()); @@ -88,7 +88,7 @@ class AncestryController extends ChartController { if ($family && $depth > 0) { // Marriage details echo '<span class="details1">'; - echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="2" width="', Theme::theme()->parameter('chart-descendancy-indent'), '" alt=""><a href="#" onclick="return expand_layer(\'sosa_', $sosa, '\');" class="top"><i id="sosa_', $sosa, '_img" class="icon-minus" title="', I18N::translate('View the family'), '"></i></a>'; + echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="2" width="', Theme::theme()->parameter('chart-descendancy-indent'), '"><a href="#" onclick="return expand_layer(\'sosa_', $sosa, '\');" class="top"><i id="sosa_', $sosa, '_img" class="icon-minus" title="', I18N::translate('View the family'), '"></i></a>'; echo ' <span class="person_box">', I18N::number($sosa * 2), '</span> ', I18N::translate('and'); echo ' <span class="person_boxF">', I18N::number($sosa * 2 + 1), '</span>'; if ($family->canShow()) { diff --git a/app/Controller/DescendancyController.php b/app/Controller/DescendancyController.php index ab28083560..18e6947065 100644 --- a/app/Controller/DescendancyController.php +++ b/app/Controller/DescendancyController.php @@ -100,8 +100,8 @@ class DescendancyController extends ChartController { if ($depth == $this->generations) { echo '<img src="' . Theme::theme()->parameter('image-spacer') . '" height="3" width="', Theme::theme()->parameter('chart-descendancy-indent'), "\" alt=\"\"></td><td>"; } else { - echo '<img src="' . Theme::theme()->parameter('image-spacer') . '" height="3" width="3" alt="">'; - echo '<img src="' . Theme::theme()->parameter('image-hline') . '" height="3" width="', Theme::theme()->parameter('chart-descendancy-indent') - 3, '" alt=""></td><td>'; + echo '<img src="' . Theme::theme()->parameter('image-spacer') . '" height="3" width="3">'; + echo '<img src="' . Theme::theme()->parameter('image-hline') . '" height="3" width="', Theme::theme()->parameter('chart-descendancy-indent') - 3, '"></td><td>'; } FunctionsPrint::printPedigreePerson($person, $this->showFull()); echo '</td>'; @@ -164,7 +164,7 @@ class DescendancyController extends ChartController { $uid = Uuid::uuid4(); // create a unique ID // print marriage info echo '<li>'; - echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="2" width="', Theme::theme()->parameter('chart-descendancy-indent') + 4, '" alt="">'; + echo '<img src="', Theme::theme()->parameter('image-spacer'), '" height="2" width="', Theme::theme()->parameter('chart-descendancy-indent') + 4, '">'; echo '<span class="details1">'; echo "<a href=\"#\" onclick=\"expand_layer('" . $uid . "'); return false;\" class=\"top\"><i id=\"" . $uid . "_img\" class=\"icon-minus\" title=\"" . I18N::translate('View the family') . "\"></i></a>"; if ($family->canShow()) { diff --git a/app/Controller/FamilyBookController.php b/app/Controller/FamilyBookController.php index 1d5672b36c..109f16014f 100644 --- a/app/Controller/FamilyBookController.php +++ b/app/Controller/FamilyBookController.php @@ -119,7 +119,7 @@ class FamilyBookController extends ChartController { $h = ($kids - 1) * 4 + $h; } echo '<td class="tdbot">', - '<img class="tvertline" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h - 1, '" alt=""></td>'; + '<img class="tvertline" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h - 1, '"></td>'; } elseif ($i === count($children) - 1) { // Adjust for the first column on left $h = round(((($this->getBoxDimensions()->height) * $kids) + 8) / 2); @@ -128,10 +128,10 @@ class FamilyBookController extends ChartController { $h = ($kids - 1) * 4 + $h; } echo '<td class="tdtop">', - '<img class="bvertline" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h + 1, '" alt=""></td>'; + '<img class="bvertline" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h + 1, '"></td>'; } else { echo '<td style="background: url(', Theme::theme()->parameter('image-vline'), ');">', - '<img class="spacer" src="', Theme::theme()->parameter('image-spacer'), '" alt=""></td>'; + '<img class="spacer" src="', Theme::theme()->parameter('image-spacer'), '"></td>'; } } echo '</tr>'; @@ -154,7 +154,7 @@ class FamilyBookController extends ChartController { if ($person) { FunctionsPrint::printPedigreePerson($person, $this->showFull()); echo '</td><td>', - '<img class="line2" src="', Theme::theme()->parameter('image-hline'), '" width="8" height="3" alt="">'; + '<img class="line2" src="', Theme::theme()->parameter('image-hline'), '" width="8" height="3">'; } else { echo '<div style="width:', $this->getBoxDimensions()->width + 19, 'px; height:', $this->getBoxDimensions()->height + 8, 'px;"></div>', '</td><td>'; @@ -253,9 +253,9 @@ class FamilyBookController extends ChartController { $lh = $savlh; } } - echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" height="', $lh - 1, '" alt=""></td>', + echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" height="', $lh - 1, '"></td>', '<td>', - '<img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3" alt=""></td>', + '<img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>', '<td>'; $lh = $savlh; // restore original line height //-- print the father box diff --git a/app/Controller/HourglassController.php b/app/Controller/HourglassController.php index 38c8dcd4ba..025fe04d7a 100644 --- a/app/Controller/HourglassController.php +++ b/app/Controller/HourglassController.php @@ -153,7 +153,7 @@ class HourglassController extends ChartController { echo '</tr><tr>', "<td style='vertical-align:top'><img class='pvline' src='" . Theme::theme()->parameter('image-vline') . "' width='3' alt=''></td>", - '<td><img class="line4" src="' . Theme::theme()->parameter('image-hline') . '" width="7" height="3" alt=""></td>', + '<td><img class="line4" src="' . Theme::theme()->parameter('image-hline') . '" width="7" height="3"></td>', '<td>'; //-- print the mother box FunctionsPrint::printPedigreePerson($family->getWife(), $this->showFull()); @@ -254,7 +254,7 @@ class HourglassController extends ChartController { echo "<td style='vertical-align:top'><img alt='' class='bvertline' id='vline_$chil' src='" . Theme::theme()->parameter('image-vline') . "' width='3'></td>"; } else { // Middle child - echo '<td style="background: url(\'' . Theme::theme()->parameter('image-vline') . '\');"><img src=\'' . Theme::theme()->parameter('image-spacer') . '\' width="3" alt=""></td>'; + echo '<td style="background: url(\'' . Theme::theme()->parameter('image-vline') . '\');"><img src=\'' . Theme::theme()->parameter('image-spacer') . '\' width="3"></td>'; } } echo '</tr>'; diff --git a/app/Controller/TimelineController.php b/app/Controller/TimelineController.php index cc4c8db7d4..21ebc634bb 100644 --- a/app/Controller/TimelineController.php +++ b/app/Controller/TimelineController.php @@ -185,7 +185,7 @@ class TimelineController extends PageController { echo "<div id=\"fact$factcount\" style=\"position:absolute; " . (I18N::direction() === 'ltr' ? 'left: ' . ($xoffset) : 'right: ' . ($xoffset)) . 'px; top:' . ($yoffset) . "px; font-size: 8pt; height: " . ($this->bheight) . "px;\" onmousedown=\"factMouseDown(this, '" . $factcount . "', " . ($yoffset - $tyoffset) . ");\">"; echo '<table cellspacing="0" cellpadding="0" border="0" style="cursor: hand;"><tr><td>'; - echo '<img src="' . Theme::theme()->parameter('image-hline') . '" name="boxline' . $factcount . '" id="boxline' . $factcount . '" height="3" width="10" alt="" style="padding-'; + echo '<img src="' . Theme::theme()->parameter('image-hline') . '" name="boxline' . $factcount . '" id="boxline' . $factcount . '" height="3" width="10" style="padding-'; if (I18N::direction() === 'ltr') { echo 'left: 3px;">'; } else { diff --git a/app/Functions/FunctionsCharts.php b/app/Functions/FunctionsCharts.php index 26eb8a9830..cbf4414cfe 100644 --- a/app/Functions/FunctionsCharts.php +++ b/app/Functions/FunctionsCharts.php @@ -368,7 +368,7 @@ class FunctionsCharts { } else { echo '<img height="' . $pbheight . 'px"'; } - echo ' width="3" src="' . Theme::theme()->parameter('image-vline') . '" alt="">'; + echo ' width="3" src="' . Theme::theme()->parameter('image-vline') . '">'; echo '</td>'; } echo '<td class="details1" style="text-align:center;">'; @@ -516,7 +516,7 @@ class FunctionsCharts { if ($kids) { echo '<table cellspacing="0" cellpadding="0" border="0" ><tr>'; if ($kids > 1) { - echo '<td rowspan="', $kids, '"><img width="3px" height="', (($bheight + 9) * ($kids - 1)), 'px" src="', Theme::theme()->parameter('image-vline'), '" alt=""></td>'; + echo '<td rowspan="', $kids, '"><img width="3px" height="', (($bheight + 9) * ($kids - 1)), 'px" src="', Theme::theme()->parameter('image-vline'), '"></td>'; } $ctkids = count($fchildren); $i = 1; @@ -531,7 +531,7 @@ class FunctionsCharts { } else { echo ' style="padding-left: 2px;"'; } - echo ' src="', Theme::theme()->parameter('image-hline'), '" alt=""></td><td>'; + echo ' src="', Theme::theme()->parameter('image-hline'), '"></td><td>'; FunctionsPrint::printPedigreePerson($fchil, $show_full); echo '</td></tr>'; if ($i < $ctkids) { diff --git a/timeline.php b/timeline.php index e10d117176..1d4e641738 100644 --- a/timeline.php +++ b/timeline.php @@ -323,7 +323,7 @@ if (count($controller->people) > 0) { <div id="timeline_chart"> <!-- print the timeline line image --> <div id="line" style="position:absolute; <?php echo I18N::direction() === 'ltr' ? 'left: ' . ($basexoffset + 22) : "right: " . ($basexoffset + 22); ?>px; top: <?php echo $baseyoffset; ?>px;"> - <img src="<?php echo Theme::theme()->parameter('image-vline'); ?>" width="3" height="<?php echo $baseyoffset + ($controller->topyear - $controller->baseyear) * $controller->scale; ?>" alt=""> + <img src="<?php echo Theme::theme()->parameter('image-vline'); ?>" width="3" height="<?php echo $baseyoffset + ($controller->topyear - $controller->baseyear) * $controller->scale; ?>"> </div> <!-- print divs for the grid --> <div id="scale<?php echo $controller->baseyear; ?>" style="position:absolute; <?php echo I18N::direction() === 'ltr' ? "left: $basexoffset" : "right: $basexoffset"; ?>px; top: <?php echo $baseyoffset - 5; ?>px; font-size: 7pt; text-align: <?php echo I18N::direction() === 'ltr' ? 'left' : 'right'; ?>;"> @@ -362,7 +362,7 @@ if (count($controller->people) > 0) { <table cellspacing="0" cellpadding="0"> <tr> <td> - <img src="<?php echo Theme::theme()->parameter('image-hline'); ?>" name="ageline<?php echo $p; ?>" id="ageline<?php echo $p; ?>" width="25" height="3" alt=""> + <img src="<?php echo Theme::theme()->parameter('image-hline'); ?>" name="ageline<?php echo $p; ?>" id="ageline<?php echo $p; ?>" width="25" height="3"> </td> <td> <?php |
