summaryrefslogtreecommitdiff
path: root/modules/lightbox/functions/lb_indi_doors_0.php
blob: 71b3c6254769de870ed6d8657d6919cd6fcadeb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
/**
 * Lightbox Album module for phpGedView
 *
 * Display media Items using Lightbox
 *
 * webtrees: Web based Family History software
 * Copyright (C) 2010 webtrees development team.
 *
 * Derived from PhpGedView
 * Copyright (C) 2002 to 2007  PHPGedView Development Team
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * 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, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * @package webtrees
 * @subpackage Module
 * @version $Id$
 * @author Brian Holland
 */

if (!defined('WT_WEBTREES')) {
	header('HTTP/1.0 403 Forbidden');
	exit;
}

?>
	<dd id="door1"><a href="javascript:;" onclick="tabswitch(1); return false;" ><?php echo i18n::translate('Personal Facts and Details'); ?></a></dd>
	<dd id="door2"><a href="javascript:;" onclick="tabswitch(2); return false;" ><?php echo i18n::translate('Notes'); ?></a></dd>
	<dd id="door3"><a href="javascript:;" onclick="tabswitch(3); return false;" ><?php echo i18n::translate('Sources'); ?></a></dd>
<?php
	if ($MULTI_MEDIA){
		if (!file_exists("modules/googlemap/defaultconfig.php")) { ?>
			<?php if (file_exists("modules/lightbox/album.php") ) { ?>
				<dd id="door8"><a href="javascript:;" onclick="tabswitch(8); return false;" ><?php echo i18n::translate('Album'); ?></a></dd>
			<?php }
		}elseif (file_exists("modules/googlemap/defaultconfig.php")) { ?>
			<?php if (file_exists("modules/lightbox/album.php") ) { ?>
				<dd id="door9"><a href="javascript:;" onclick="tabswitch(9); return false;" ><?php echo i18n::translate('Album'); ?></a></dd>
			<?php }
		}
	}
 ?>

	<dd id="door5"><a href="javascript:;" onclick="tabswitch(5); return false;" ><?php echo i18n::translate('Close Relatives'); ?></a></dd>
	<dd id="door6"><a href="javascript:;" onclick="tabswitch(6); return false;" ><?php echo i18n::translate('Tree'); ?></a></dd>
	<dd id="door7"><a href="javascript:;" onclick="tabswitch(7); return false;" ><?php echo i18n::translate('Research Assistant'); ?></a></dd>
	<?php if (file_exists("modules/googlemap/defaultconfig.php")) { ?>
		<dd id="door8"><a href="javascript:;" onclick="tabswitch(8); if (loadedTabs[8]) {ResizeMap(); ResizeMap();} return false;" ><?php echo i18n::translate('Map'); ?></a></dd>
	<?php } ?>
<!-- <dd id="door10"><a href="javascript:;" onclick="tabswitch(10); return false;" ><?php echo "Spare Tab"; ?></a></dd>  -->
	<dd id="door0"><a href="javascript:;" onclick="tabswitch(0); if (loadedTabs[8]) {ResizeMap(); ResizeMap();} return false;" ><?php echo i18n::translate('All'); ?></a></dd>