* GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ namespace Fisharebest\Webtrees; use Fisharebest\Webtrees\Controller\TimelineController; use Fisharebest\Webtrees\Functions\Functions; use Fisharebest\Webtrees\Functions\FunctionsPrint; global $WT_TREE; $basexoffset = 0; $baseyoffset = 0; define('WT_SCRIPT_NAME', 'timeline.php'); require './includes/session.php'; $controller = new TimelineController(); $controller->restrictAccess(Module::isActiveChart($WT_TREE, 'timeline_chart'))->pageHeader()->addExternalJavascript(WT_AUTOCOMPLETE_JS_URL)->addInlineJavascript('autocomplete();'); ?> <script> var internet_explorer = typeof(document.all) !== 'undefined'; // mouse handling is different in IE var ob = null; var Y = 0; var X = 0; var oldx = 0; var oldlinew = 0; var personnum = 0; var type = 0; var boxmean = 0; function ageCursorMouseDown(divbox, num) { ob = divbox; personnum = num;