pageHeader()
->addExternalJavascript(WT_STATIC_URL . 'js/autocomplete.js')
->addInlineJavascript('autocomplete();');
?>
px; top: px;">

" width="3" height="topyear-$controller->baseyear)*$controller->scale)); ?>" alt="">
px; top: px; font-size: 7pt; text-align: ;">
baseyear . '—'; ?>
scale;
if ($mod < 1) {
$mod = 1;
}
for ($i = $controller->baseyear + 1; $i < $controller->topyear; $i++) {
if ($i % $mod == 0) {
echo "
baseyear) * $controller->scale) - $controller->scale / 2) . "px; font-size: 7pt; text-align:" . ($TEXT_DIRECTION === "ltr" ? "left" : "right") . ";\">";
echo $i . '—';
echo '
';
}
}
echo "
topyear}\" style=\"position:absolute; " . ($TEXT_DIRECTION == "ltr" ? "left: $basexoffset" : "right: $basexoffset") . "px; top:" . ($baseyoffset + (($controller->topyear - $controller->baseyear) * $controller->scale)) . "px; font-size: 7pt; text-align:" . ($TEXT_DIRECTION == "ltr" ? "left" : "right") . ";\">";
echo $controller->topyear . '—';
echo '
';
sort_facts($controller->indifacts);
$factcount = 0;
foreach ($controller->indifacts as $fact) {
$controller->print_time_fact($fact);
$factcount++;
}
// print the age boxes
foreach ($controller->people as $p => $indi) {
$pid = $indi->getXref();
$ageyoffset = $baseyoffset + ($controller->bheight * $p);
$col = $p % 6;
?>
px; top:px; height:bheight; ?>px; display:none;" onmousedown="ageCursorMouseDown(this, );">
" name="ageline" id="ageline" align="left" width="25" height="3" alt="">
|
bheight / 2)) / $controller->scale) + $controller->baseyear;
if (!empty($controller->birthyears[$pid])) {
$tage = $tyear - $controller->birthyears[$pid];
?>
|