diff options
Diffstat (limited to 'hourglass.php')
| -rw-r--r-- | hourglass.php | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/hourglass.php b/hourglass.php index 48512b015a..a57ab1373e 100644 --- a/hourglass.php +++ b/hourglass.php @@ -35,15 +35,15 @@ $controller ->setupJavascript() ->addInlineJavascript('sizeLines();'); -echo '<table><tr><td valign="top">'; +echo '<div id="hourglass-page">'; echo '<h2>', WT_I18N::translate('Hourglass chart of %s', $controller->name), '</h2>'; $gencount=0; ?> <!-- // NOTE: Start form and table --> - </td><td width="50px"> </td><td><form method="get" name="people" action="?"> + <form method="get" name="people" action="?"> <input type="hidden" name="show_full" value="<?php echo $controller->show_full; ?>"> - <table><tr> + <table class="list_table"><tr> <!-- // NOTE: Root ID --> <td class="descriptionbox"> @@ -112,17 +112,18 @@ $gencount=0; <!-- // NOTE: Close table header --> </td></tr></table> -<div id="hourglass_chart" <?php echo "style=\"width:98%; z-index:1;\""; ?> > -<table cellspacing="0" cellpadding="0" border="0"><tr> -<!-- // descendancy --> -<td valign="middle"> -<?php -$controller->print_descendency(WT_Person::getInstance($controller->pid), 1); ?> -</td> -<!-- // pedigree --> -<td valign="middle"> -<?php -$controller->print_person_pedigree(WT_Person::getInstance($controller->pid), 1); ?> -</td> -</tr></table> -</div> + <div id="hourglass_chart" <?php echo "style=\"width:98%; z-index:1;\""; ?> > + <table cellspacing="0" cellpadding="0" border="0"><tr> + <!-- // descendancy --> + <td valign="middle"> + <?php + $controller->print_descendency(WT_Person::getInstance($controller->pid), 1); ?> + </td> + <!-- // pedigree --> + <td valign="middle"> + <?php + $controller->print_person_pedigree(WT_Person::getInstance($controller->pid), 1); ?> + </td> + </tr></table> + </div><!-- close #hourglass_chart --> +</div> <!-- close #hourglass-page --> |
