summaryrefslogtreecommitdiff
path: root/fanchart.php
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2013-06-20 05:18:10 +0000
committerNigel Osborne <kiwi3685@me.com>2013-06-20 05:18:10 +0000
commit0d6425df5148099b6146bdb30001afe82c556dac (patch)
tree099e4aab85cd6135a427c6eea84a1a7a30313d49 /fanchart.php
parent68d6a6912fdb9cd9750c5b30c7711fa756981b0e (diff)
downloadwebtrees-0d6425df5148099b6146bdb30001afe82c556dac.tar.gz
webtrees-0d6425df5148099b6146bdb30001afe82c556dac.tar.bz2
webtrees-0d6425df5148099b6146bdb30001afe82c556dac.zip
Bug #1192732 - Inconsistent markup in charts headers - ancestry chart
Diffstat (limited to 'fanchart.php')
-rw-r--r--fanchart.php83
1 files changed, 39 insertions, 44 deletions
diff --git a/fanchart.php b/fanchart.php
index a5f0803ea8..409b00c55c 100644
--- a/fanchart.php
+++ b/fanchart.php
@@ -42,46 +42,43 @@ $controller
?>
<div id="page-fan">
- <h2><?php echo $controller->getPageTitle(); ?></h2>
- <form name="people" method="get" action="#">
- <table class="list_table">
- <tr>
- <td class="descriptionbox">
- <?php echo WT_I18N::translate('Individual'); ?>
- </td>
- <td class="optionbox">
- <input class="pedigree_form" type="text" name="rootid" id="rootid" size="3" value="<?php echo $controller->rootid; ?>">
- <?php echo print_findindi_link('rootid'); ?>
- </td>
- <td class="descriptionbox">
- <?php echo WT_I18N::translate('Layout'); ?>
- </td>
- <td class="optionbox">
- <?php echo select_edit_control('fan_style', $controller->getFanStyles(), null, $controller->fan_style); ?>
- </td>
- <td rowspan="2" class="topbottombar vmiddle">
- <input type="submit" value="<?php echo WT_I18N::translate('View'); ?>">
- </td>
- </tr>
- <tr>
- <td class="descriptionbox">
- <?php echo WT_I18N::translate('Generations'); ?>
- </td>
- <td class="optionbox">
- <?php echo edit_field_integers('generations', $controller->generations, 2, 9); ?>
- </td>
- <td class="descriptionbox">
- <?php echo WT_I18N::translate('Width'), help_link('fan_width'); ?>
- </td>
- <td class="optionbox">
- <input type="text" size="3" name="fan_width" value="<?php echo $controller->fan_width; ?>"> %
- </td>
- </tr>
- </table>
- </form>
- </tr>
-</table>
-
+ <h2><?php echo $controller->getPageTitle(); ?></h2>
+ <form name="people" method="get" action="#">
+ <table class="list_table">
+ <tr>
+ <td class="descriptionbox">
+ <?php echo WT_I18N::translate('Individual'); ?>
+ </td>
+ <td class="optionbox">
+ <input class="pedigree_form" type="text" name="rootid" id="rootid" size="3" value="<?php echo $controller->rootid; ?>">
+ <?php echo print_findindi_link('rootid'); ?>
+ </td>
+ <td class="descriptionbox">
+ <?php echo WT_I18N::translate('Layout'); ?>
+ </td>
+ <td class="optionbox">
+ <?php echo select_edit_control('fan_style', $controller->getFanStyles(), null, $controller->fan_style); ?>
+ </td>
+ <td rowspan="2" class="topbottombar vmiddle">
+ <input type="submit" value="<?php echo WT_I18N::translate('View'); ?>">
+ </td>
+ </tr>
+ <tr>
+ <td class="descriptionbox">
+ <?php echo WT_I18N::translate('Generations'); ?>
+ </td>
+ <td class="optionbox">
+ <?php echo edit_field_integers('generations', $controller->generations, 2, 9); ?>
+ </td>
+ <td class="descriptionbox">
+ <?php echo WT_I18N::translate('Width'), help_link('fan_width'); ?>
+ </td>
+ <td class="optionbox">
+ <input type="text" size="3" name="fan_width" value="<?php echo $controller->fan_width; ?>"> %
+ </td>
+ </tr>
+ </table>
+ </form>
<?php
if ($controller->error_message) {
@@ -90,8 +87,6 @@ if ($controller->error_message) {
}
if ($controller->root) {
- echo '<div id="fan_chart">',
- $controller->generate_fan_chart('html'),
- '</div>';
+ echo '<div id="fan_chart">', $controller->generate_fan_chart('html'), '</div>';
}
-echo '</div'; // close #page-chart \ No newline at end of file
+echo '</div>'; // close #page-chart \ No newline at end of file