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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<?php
/**
* Media Link Assistant Control module for phpGedView
*
* Media Link information about an individual
*
* webtrees: Web based Family History software
* Copyright (C) 2010 webtrees development team.
*
* Derived from PhpGedView
* Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
*
* 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 GEDFact_assistant
* @version $Id$
*/
if (stristr($_SERVER["SCRIPT_NAME"], basename(__FILE__))!==false) {
print "You cannot access an include file directly.";
exit;
}
?>
<html <?php echo i18n::html_markup(); ?>>
<head>
<script language="javascript">
function addlinks(iname) {
// iid=document.getElementById('gid').value;
if (document.getElementById('gid').value == "") {
alert(id_empty);
}else{
addmedia_links(document.getElementById('gid'), document.getElementById('gid').value, iname );
return false;
}
}
function openFamNav(id) {
//id=document.getElementById('gid').value;
if (id.match("I")=="I" || id.match("i")=="i") {
id = id.toUpperCase();
winNav = window.open('edit_interface.php?action=addmedia_links¬eid=newnote&pid='+id, 'winNav', 'top=50,left=640,width=300,height=630,resizable=1,scrollbars=1');
if (window.focus) {winNav.focus();}
}else if (id.match("F")=="F") {
id = id.toUpperCase();
// TODO --- alert('Opening Navigator with family id entered will come later');
}
}
</script>
</head>
<table border="0" cellpadding="1" cellspacing="2" >
<tr>
<td width="350" class="row2">
<?php
require 'modules/GEDFact_assistant/_MEDIA/media_5_input.php';
?>
</td>
</tr>
</table>
</body>
</html>
|