summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--admin_media.php56
-rw-r--r--admin_media_upload.php52
-rw-r--r--admin_site_ipaddress.php57
-rw-r--r--admin_site_merge.php56
-rw-r--r--admin_trees_config.php50
-rw-r--r--admin_users_add.php54
-rw-r--r--compact.php52
-rw-r--r--editnews.php51
-rw-r--r--edituser.php54
-rw-r--r--family.php56
-rw-r--r--familybook.php52
-rw-r--r--imageview.php52
-rw-r--r--includes/functions/functions_mediadb.php55
-rw-r--r--includes/functions/functions_places.php52
-rw-r--r--includes/functions/functions_print.php58
-rw-r--r--index_edit.php58
-rw-r--r--individual.php56
-rw-r--r--inverselink.php58
-rw-r--r--library/WT/Controller/Hourglass.php2
-rw-r--r--lifespan.php60
-rw-r--r--login.php54
-rw-r--r--login_register.php64
-rw-r--r--media.php56
-rw-r--r--mediaviewer.php57
-rw-r--r--message.php52
-rw-r--r--modules/GEDFact_assistant/_CENS/census_1_ctrl.php56
-rw-r--r--modules/GEDFact_assistant/_CENS/census_asst_help.php4
-rw-r--r--modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php58
-rw-r--r--modules/GEDFact_assistant/_MEDIA/media_query_3a.php60
-rw-r--r--modules/clippings/index.php57
-rw-r--r--modules/gedcom_favorites/module.php4
-rw-r--r--modules/googlemap/admin_editconfig.php54
-rw-r--r--modules/googlemap/admin_placecheck.php56
-rw-r--r--modules/googlemap/admin_places.php57
-rw-r--r--modules/googlemap/module.php4
-rw-r--r--modules/googlemap/pedigree_map.php64
-rw-r--r--modules/lightbox/functions/lb_horiz_sort.php57
-rw-r--r--modules/lightbox/functions/lb_link.php57
-rw-r--r--modules/notes/module.php4
-rw-r--r--modules/random_media/module.php4
-rw-r--r--modules/sources_tab/module.php4
-rw-r--r--modules/stories/module.php4
-rw-r--r--modules/user_favorites/module.php4
-rw-r--r--pedigree.php62
-rw-r--r--relationship.php58
-rw-r--r--search.php55
-rw-r--r--search_advanced.php53
-rw-r--r--statistics.php60
-rw-r--r--timeline.php62
-rw-r--r--useradmin.php56
50 files changed, 1062 insertions, 1276 deletions
diff --git a/admin_media.php b/admin_media.php
index 9cd0071afc..93e4ae036d 100644
--- a/admin_media.php
+++ b/admin_media.php
@@ -1,33 +1,27 @@
<?php
-/**
- * Popup window that will allow a user to search for a media
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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 Display
- * @version $Id$
- */
+// Popup window that will allow a user to search for a media
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
/* TODO:
* Add check for missing index.php files when creating a directory
@@ -261,7 +255,7 @@ if (WT_USER_IS_ADMIN) {
// echo the header of the page
print_header(WT_I18N::translate('Manage multimedia'));
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function pasteid(id) {
window.opener.paste_id(id);
@@ -305,7 +299,7 @@ function showchanges() {
//-->
</script>
-<script src="js/webtrees.js" language="JavaScript" type="text/javascript"></script>
+<script src="js/webtrees.js" type="text/javascript"></script>
<?php
if (check_media_structure()) {
echo "<div id=\"uploadmedia\" style=\"display:none\">";
diff --git a/admin_media_upload.php b/admin_media_upload.php
index f510dbf5f4..c69f818ddc 100644
--- a/admin_media_upload.php
+++ b/admin_media_upload.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Allow admin users to upload media files using a web interface.
- *
- * 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 Media
- * @version $Id$
- */
+// Allow admin users to upload media files using a web interface.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'admin_media_upload.php');
require './includes/session.php';
@@ -54,7 +50,7 @@ if (!WT_USER_CAN_EDIT) {
print_header(WT_I18N::translate('Upload media files'));
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function checkpath(folder) {
value = folder.value;
diff --git a/admin_site_ipaddress.php b/admin_site_ipaddress.php
index 7f0eb75de5..1f998220e3 100644
--- a/admin_site_ipaddress.php
+++ b/admin_site_ipaddress.php
@@ -1,36 +1,29 @@
<?php
-/**
-* Manage Servers Page
-*
-* Allow a user the ability to manage servers i.e. allowing, banning, deleting
-*
-* 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.
-*
-* Modifications Copyright (c) 2010 Greg Roach
-*
-* 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 Admin
-* @version $Id$
-* @author rbennett
-*/
+// Manage Servers Page
+//
+// Allow a user the ability to manage servers i.e. allowing, banning, deleting
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'admin_site_ipaddress.php');
diff --git a/admin_site_merge.php b/admin_site_merge.php
index 645cc2124a..a25008ca16 100644
--- a/admin_site_merge.php
+++ b/admin_site_merge.php
@@ -1,33 +1,29 @@
<?php
-/**
-* Merge Two Gedcom Records
-*
-* This page will allow you to merge 2 gedcom records
-*
-* webtrees: Web based Family History software
- * Copyright (C) 2011 webtrees development team.
- *
- * Derived from PhpGedView
-* Copyright (C) 2002 to 2010 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 Edit
-* @version $Id$
-*/
+// Merge Two Gedcom Records
+//
+// This page will allow you to merge 2 gedcom records
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'admin_site_merge.php');
require './includes/session.php';
@@ -245,7 +241,7 @@ if ($action!="choose") {
}
if ($action=="choose") {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var pasteto;
function iopen_find(textbox, gedselect) {
diff --git a/admin_trees_config.php b/admin_trees_config.php
index 72e708e870..b471dff4fd 100644
--- a/admin_trees_config.php
+++ b/admin_trees_config.php
@@ -1,29 +1,27 @@
<?php
-/**
- * UI for online updating of the GEDCOM config file.
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2011 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2010 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
- *
- * @version $Id$
- */
+// UI for online updating of the GEDCOM config file.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'admin_trees_config.php');
@@ -388,7 +386,7 @@ print_header(WT_I18N::translate('Family tree configuration'));
});
//]]>
</script>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
diff --git a/admin_users_add.php b/admin_users_add.php
index 7b69bf3156..094223de49 100644
--- a/admin_users_add.php
+++ b/admin_users_add.php
@@ -1,33 +1,27 @@
<?php
-/**
- * Administrative User Interface.
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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 Admin
- * @version $Id$
-*/
+// Administrative User Interface.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'admin_users_add.php');
@@ -202,7 +196,7 @@ if ($action=='createuser') {
if ($action == "createform") {
init_calendar_popup();
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function checkform(frm) {
if (frm.username.value=="") {
diff --git a/compact.php b/compact.php
index c1059e36e3..0835a0b418 100644
--- a/compact.php
+++ b/compact.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Compact pedigree tree
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2010 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 Charts
- * @version $Id$
- */
+// Compact pedigree tree
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'compact.php');
require './includes/session.php';
@@ -64,7 +60,7 @@ echo "</h2>";
// -- print the form
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
diff --git a/editnews.php b/editnews.php
index b19d7d28a8..d63ea66562 100644
--- a/editnews.php
+++ b/editnews.php
@@ -1,30 +1,27 @@
<?php
-/**
- * Popup window for Editing news items
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2005 PGV 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
- *
- * @version $Id$
- * @package webtrees
- */
+// Popup window for Editing news items
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2005 PGV 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'editnews.php');
require './includes/session.php';
@@ -49,7 +46,7 @@ if (empty($username)) $username=$GEDCOM;
if ($action=="compose") {
echo '<span class="subheaders">'.WT_I18N::translate('Add/edit journal/news entry').'</span>';
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
function checkForm(frm) {
if (frm.title.value=="") {
alert('<?php echo WT_I18N::translate('Please enter a title.'); ?>');
diff --git a/edituser.php b/edituser.php
index f44caa4e9e..6f1997bdd5 100644
--- a/edituser.php
+++ b/edituser.php
@@ -1,33 +1,27 @@
<?php
-/**
- * User Account Edit Interface.
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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 Admin
- * @version $Id$
- */
+// User Account Edit Interface.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'edituser.php');
require './includes/session.php';
@@ -105,7 +99,7 @@ if ($form_action=='update') {
// Form validation
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function checkform(frm) {
if (frm.form_username.value=="") {
diff --git a/family.php b/family.php
index 6338a7fc1c..dc86fdc597 100644
--- a/family.php
+++ b/family.php
@@ -1,33 +1,29 @@
<?php
-/**
- * Parses gedcom file and displays information about a family.
- *
- * You must supply a $famid value with the identifier for the family.
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2010 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 Charts
- * @version $Id$
- */
+// Parses gedcom file and displays information about a family.
+//
+// You must supply a $famid value with the identifier for the family.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'family.php');
require './includes/session.php';
@@ -60,7 +56,7 @@ $show_full = "1";
?>
<?php if ($controller->family->isMarkedDeleted()) echo "<span class=\"error\">".WT_I18N::translate('This record has been marked for deletion upon admin approval.')."</span>"; ?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function show_gedcom_record(shownew) {
fromfile="";
diff --git a/familybook.php b/familybook.php
index b0b7a8c2e3..11228a274b 100644
--- a/familybook.php
+++ b/familybook.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Display an family book chart
- *
- * 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 Charts
- * @version $Id$
- */
+// Display an family book chart
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'familybook.php');
require './includes/session.php';
@@ -228,7 +224,7 @@ echo '<table><tr><td valign="top">';
echo '<h2>'.WT_I18N::translate('Family book chart'), help_link('family_book_chart'), '<br />', PrintReady($name), '</h2>';
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var pastefield;
function open_find(textbox) {
diff --git a/imageview.php b/imageview.php
index a6d969e691..83f8b950a1 100644
--- a/imageview.php
+++ b/imageview.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Popup window for viewing images
- *
- * 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
- *
- * @version $Id$
- * @package webtrees
- * @subpackage Media
- */
+// Popup window for viewing images
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'imageview.php');
require './includes/session.php';
@@ -35,7 +31,7 @@ $filename=safe_GET('filename');
print_simple_header(WT_I18N::translate('Image viewer'));
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var zoom = 100;
function zoomin() {
diff --git a/includes/functions/functions_mediadb.php b/includes/functions/functions_mediadb.php
index 870a0b7c18..814084e960 100644
--- a/includes/functions/functions_mediadb.php
+++ b/includes/functions/functions_mediadb.php
@@ -1,34 +1,27 @@
<?php
-
-/**
-* Various functions used by the media DB interface
-*
-* 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.
-*
-* Modifications Copyright (c) 2010 Greg Roach
-*
-* 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 MediaDB
-* @version $Id$
-*/
+// Various functions used by the media DB interface
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -1543,7 +1536,7 @@ function show_media_form($pid, $action = "newentry", $filename = "", $linktoid =
}
echo "</table>";
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
var formid = '<?php echo $formid; ?>';
function updateFormat(filename) {
var extsearch=/\.([a-zA-Z]{3,4})$/;
diff --git a/includes/functions/functions_places.php b/includes/functions/functions_places.php
index 609b592599..cf88578327 100644
--- a/includes/functions/functions_places.php
+++ b/includes/functions/functions_places.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Functions for places selection (clickable maps, autocompletion...)
- *
- * 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 Edit
- * @version $Id$
- */
+// Functions for places selection (clickable maps, autocompletion...)
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -59,7 +55,7 @@ function setup_place_subfields($element_id) {
$plac_label = get_plac_label();
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
include_css('places/dropdown.css');
-->
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index d810adc212..1cf7e26504 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -1,35 +1,29 @@
<?php
-/**
-* Function for printing
-*
-* Various printing functions used by all scripts and included by the functions.php file.
-*
-* webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
-* Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
-*
-* Modifications Copyright (c) 2010 Greg Roach
-*
-* 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 Display
-* @version $Id$
-*/
+// Function for printing
+//
+// Various printing functions used by all scripts and included by the functions.php file.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -456,7 +450,7 @@ function print_header($title) {
var whichhelp = \'help_'.WT_SCRIPT_NAME.'&action='.$action.'\';
//-->
- '.WT_JS_END.'<script src="js/webtrees.js" language="JavaScript" type="text/javascript"></script>';
+ '.WT_JS_END.'<script src="js/webtrees.js" type="text/javascript"></script>';
require WT_ROOT.$headerfile;
// Allow the browser to format the header/menus while we generate the page
diff --git a/index_edit.php b/index_edit.php
index a59c406f62..164e08eb6c 100644
--- a/index_edit.php
+++ b/index_edit.php
@@ -1,34 +1,28 @@
<?php
-/**
- * My Page page allows a logged in user the abilty
- * to keep bookmarks, see a list of upcoming events, etc.
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 13 August 2005
- *
- * @package webtrees
- * @subpackage Display
- * @version $Id$
- */
+// My Page page allows a logged in user the abilty
+// to keep bookmarks, see a list of upcoming events, etc.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'index_edit.php');
require './includes/session.php';
@@ -155,7 +149,7 @@ if ($action=="configure") {
echo "</td></tr>";
echo "</table>";
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
@@ -176,7 +170,7 @@ if ($action=="configure") {
echo "</form>";
} else {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
/**
* Move Up Block JavaScript function
diff --git a/individual.php b/individual.php
index 347f446d0f..3db3268c3a 100644
--- a/individual.php
+++ b/individual.php
@@ -1,33 +1,29 @@
<?php
-/**
-* Individual Page
-*
-* Display all of the information about an individual
-*
-* webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
-* Copyright (C) 2002 to 2010 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 Charts
-* @version $Id$
-*/
+// Individual Page
+//
+// Display all of the information about an individual
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'individual.php');
require './includes/session.php';
@@ -64,7 +60,7 @@ $linkToID=$controller->pid; // -- Tell addmedia.php what to link to
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
// <![CDATA[
// javascript function to open a window with the raw gedcom in it
function show_gedcom_record(shownew) {
diff --git a/inverselink.php b/inverselink.php
index 62b650c298..8e6a4cf75a 100644
--- a/inverselink.php
+++ b/inverselink.php
@@ -1,33 +1,29 @@
<?php
-/**
- * Link media items to indi, sour and fam records
- *
- * This is the page that does the work of linking items.
- *
- * 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 MediaDB
- * @version $Id$
- */
+// Link media items to indi, sour and fam records
+//
+// This is the page that does the work of linking items.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'inverselink.php');
require './includes/session.php';
@@ -77,7 +73,7 @@ if (WT_USER_IS_ADMIN && $linkto=='manage' && file_exists(WT_ROOT.'modules/GEDFac
if ($action == "choose" && $paramok) {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var pastefield;
var language_filter, magnify;
@@ -100,7 +96,7 @@ if (WT_USER_IS_ADMIN && $linkto=='manage' && file_exists(WT_ROOT.'modules/GEDFac
}
//-->
</script>
- <script src="js/webtrees.js" language="JavaScript" type="text/javascript"></script>
+ <script src="js/webtrees.js" type="text/javascript"></script>
<?php
echo '<form name="link" method="get" action="inverselink.php">';
diff --git a/library/WT/Controller/Hourglass.php b/library/WT/Controller/Hourglass.php
index 0d40642d0f..37e0212d21 100644
--- a/library/WT/Controller/Hourglass.php
+++ b/library/WT/Controller/Hourglass.php
@@ -474,7 +474,7 @@ class WT_Controller_Hourglass extends WT_Controller_Base {
function setupJavascript() {
global $bhalfheight;
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
diff --git a/lifespan.php b/lifespan.php
index 344ae2de1f..76fa86bbf6 100644
--- a/lifespan.php
+++ b/lifespan.php
@@ -1,35 +1,29 @@
<?php
-/**
- * Display a timeline chart for a group of individuals
- *
- * Use the $pids array to set which individuals to show on the chart
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 08 August 2005
- *
- * @package webtrees
- * @subpackage Charts
- * @version $Id$
- */
+// Display a timeline chart for a group of individuals
+//
+// Use the $pids array to set which individuals to show on the chart
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// @version $Id$
define('WT_SCRIPT_NAME', 'lifespan.php');
require './includes/session.php';
@@ -48,7 +42,7 @@ print_header(WT_I18N::translate('Lifespan chart'));
if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
@@ -358,7 +352,7 @@ var oldMx = 0;
</div>
<!-- Floating div controls END-->
</div>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var maxY = 80-<?php echo $maxY; ?>; // Sets the boundaries for how far the timeline can move in the up direction
var maxX = <?php if (!isset($maxX)) $maxX = 0; echo $maxX; ?>; // Sets the boundaries for how far the timeline can move in the left direction
diff --git a/login.php b/login.php
index 1dbfd85ee3..8b87f9d45e 100644
--- a/login.php
+++ b/login.php
@@ -1,33 +1,27 @@
<?php
-/**
- * Login Page.
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 29 August 2005
- *
- * @package webtrees
- * @subpackage Display
- * @version $Id$
- */
+// Login Page.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// @version $Id$
define('WT_SCRIPT_NAME', 'login.php');
require './includes/session.php';
@@ -206,7 +200,7 @@ if (get_site_setting('USE_REGISTRATION_MODULE')) { ?>
}
echo "</div><br /><br />";
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
document.loginform.username.focus();
</script>
<?php
diff --git a/login_register.php b/login_register.php
index 19dec01c56..08910f95f3 100644
--- a/login_register.php
+++ b/login_register.php
@@ -1,35 +1,27 @@
<?php
-/**
- * Register as a new User or request new password if it is lost
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 29 August 2005
- *
- * @package webtrees
- * @subpackage Admin
- * @version $Id$
- */
+// Register as a new User or request new password if it is lost
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// @version $Id$
define('WT_SCRIPT_NAME', 'login_register.php');
require './includes/session.php';
@@ -60,7 +52,7 @@ switch ($action) {
case "pwlost" :
print_header(WT_I18N::translate('Lost password request'));
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function checkform(frm) {
/*
@@ -86,7 +78,7 @@ switch ($action) {
</table>
</form>
</div>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
document.requestpwform.user_name.focus();
</script>
<?php
@@ -203,7 +195,7 @@ switch ($action) {
$user = array();
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function checkform(frm) {
if (frm.user_name.value == "") {
@@ -293,7 +285,7 @@ switch ($action) {
</table>
</form>
</div>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
document.registerform.user_realname.focus();
</script>
<?php
@@ -458,7 +450,7 @@ switch ($action) {
</table>
</form>
</div>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
document.verifyform.user_password.focus();
</script>
<?php
diff --git a/media.php b/media.php
index cc742a0b75..8b637eb2c9 100644
--- a/media.php
+++ b/media.php
@@ -1,33 +1,27 @@
<?php
-/**
- * Popup window that will allow a user to search for a media
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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 Display
- * @version $Id$
- */
+// Popup window that will allow a user to search for a media
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// @version $Id$
/* TODO:
* Add check for missing index.php files when creating a directory
@@ -255,7 +249,7 @@ if (WT_USER_IS_ADMIN) {
// echo the header of the page
print_header(WT_I18N::translate('Manage multimedia'));
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function pasteid(id) {
window.opener.paste_id(id);
@@ -299,7 +293,7 @@ function showchanges() {
//-->
</script>
-<script src="js/webtrees.js" language="JavaScript" type="text/javascript"></script>
+<script src="js/webtrees.js" type="text/javascript"></script>
<?php
if (check_media_structure()) {
echo "<div id=\"uploadmedia\" style=\"display:none\">";
diff --git a/mediaviewer.php b/mediaviewer.php
index d97bae07bf..f6d1f85632 100644
--- a/mediaviewer.php
+++ b/mediaviewer.php
@@ -1,34 +1,29 @@
<?php
-/**
- * Media View Page
- *
- * This page displays all information about media that is selected in PHPGedView.
- *
- * 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 Display
- * @version $Id$
- * @TODO use more theme specific CSS, allow a more fluid layout to take advantage of the page width
- */
+// Media View Page
+//
+// This page displays all information about media that is selected in PHPGedView.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'mediaviewer.php');
require './includes/session.php';
@@ -169,7 +164,7 @@ if (WT_USE_LIGHTBOX) {
// These JavaScript functions are needed for the code to work properly with the menu.
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
// javascript function to open the lightbox view
diff --git a/message.php b/message.php
index e5ad909f0d..cfdb830b61 100644
--- a/message.php
+++ b/message.php
@@ -1,31 +1,27 @@
<?php
-/**
- * Send a message to a user in the system
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2007 John Finlay and Others
- *
- * 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 Admin
- * @version $Id$
- */
+// Send a message to a user in the system
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2007 John Finlay and Others
+//
+// 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
+//
+// @version $Id$
define('WT_SCRIPT_NAME', 'message.php');
require './includes/session.php';
@@ -153,7 +149,7 @@ if ($action=="compose") {
echo '<span class="subheaders">'.WT_I18N::translate('Send Message').'</span>';
$_SESSION["good_to_send"] = true;
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
function validateEmail(email) {
if (email.value.search("(.*)@(.*)")==-1) {
alert('<?php echo WT_I18N::translate('Please enter a valid email address.'); ?>');
diff --git a/modules/GEDFact_assistant/_CENS/census_1_ctrl.php b/modules/GEDFact_assistant/_CENS/census_1_ctrl.php
index 85dc91ace6..7f1788431b 100644
--- a/modules/GEDFact_assistant/_CENS/census_1_ctrl.php
+++ b/modules/GEDFact_assistant/_CENS/census_1_ctrl.php
@@ -1,33 +1,29 @@
<?php
-/**
- * Census Assistant Control module for phpGedView
- *
- * Census information about an individual
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2010 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 Census Assistant
- * @version $Id$
- */
+// Census Assistant Control module for phpGedView
+//
+// Census information about an individual
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -123,6 +119,6 @@ $currpid=$pid;
</script>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
window.onLoad = initDynamicOptionLists();
</script>
diff --git a/modules/GEDFact_assistant/_CENS/census_asst_help.php b/modules/GEDFact_assistant/_CENS/census_asst_help.php
index ebf79a7830..fb6f03564c 100644
--- a/modules/GEDFact_assistant/_CENS/census_asst_help.php
+++ b/modules/GEDFact_assistant/_CENS/census_asst_help.php
@@ -2,7 +2,7 @@
<html <?php echo WT_I18N::html_markup(); ?>>
<head>
<title>Help window</title>
-<script language="JavaScript">
+<script type="text/javascript">
/*
<!--
function printToPage()
@@ -26,7 +26,7 @@
<br /><br />
Here will be the help for the Census Assistant window:
<p>
-<script language="JavaScript">
+<script type="text/javascript">
<!--
document.write(printToPage());
//-->
diff --git a/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php b/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php
index e793afb601..5d022cfa9e 100644
--- a/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php
+++ b/modules/GEDFact_assistant/_MEDIA/media_0_inverselink.php
@@ -1,33 +1,29 @@
<?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$
-*/
+// Media Link Assistant Control module for phpGedView
+//
+// Media Link information about an individual
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
// GEDFact Media assistant replacement code for inverselink.php: ===========================
@@ -72,7 +68,7 @@ if (!empty($linktoid)) $paramok = canDisplayRecord(WT_GED_ID, find_gedcom_record
if ($action == "choose" && $paramok) {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
// Javascript variables
var id_empty = "<?php echo WT_I18N::translate('When adding a Link, the ID field cannot be empty.'); ?>";
@@ -110,7 +106,7 @@ if ($action == "choose" && $paramok) {
var GEDFact_assist = "installed";
//-->
</script>
- <script src="webtrees.js" language="JavaScript" type="text/javascript"></script>
+ <script src="webtrees.js" type="text/javascript"></script>
<link href ="modules/GEDFact_assistant/css/media_0_inverselink.css" rel="stylesheet" type="text/css" media="screen" />
<?php
diff --git a/modules/GEDFact_assistant/_MEDIA/media_query_3a.php b/modules/GEDFact_assistant/_MEDIA/media_query_3a.php
index 6d4569b251..9204fa233e 100644
--- a/modules/GEDFact_assistant/_MEDIA/media_query_3a.php
+++ b/modules/GEDFact_assistant/_MEDIA/media_query_3a.php
@@ -1,33 +1,29 @@
<?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 2008 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 Census Assistant
- * @version $Id$
- */
+// Media Link Assistant Control module for phpGedView
+//
+// Media Link information about an individual
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2008 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'modules/GEDFact_assistant/_MEDIA/media_query_3a.php');
require '../../../includes/session.php';
@@ -48,7 +44,7 @@ if ($record) {
}
}
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
function insertId() {
if (window.opener.document.getElementById('addlinkQueue')) {
// alert('Please move this alert window and examine the contents of the pop-up window, then click OK')
@@ -61,7 +57,7 @@ if ($record) {
} else {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
function insertId() {
window.opener.alert('<?php echo strtoupper($iid2); ?> - <?php echo WT_I18N::translate('Not a valid Individual, Family or Source ID'); ?>');
window.close();
@@ -71,6 +67,6 @@ if ($record) {
}
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
window.onLoad = insertId();
</script>
diff --git a/modules/clippings/index.php b/modules/clippings/index.php
index a7513acddd..c4e10f8843 100644
--- a/modules/clippings/index.php
+++ b/modules/clippings/index.php
@@ -1,34 +1,29 @@
<?php
-/**
- * Family Tree Clippings Cart
- *
- * Uses the $_SESSION["cart"] to store the ids of clippings to download
- * @TODO print a message if people are not included due to privacy
- *
- * 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 Charts
- * @version $Id$
- */
+// Family Tree Clippings Cart
+//
+// Uses the $_SESSION["cart"] to store the ids of clippings to download
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
global $ENABLE_AUTOCOMPLETE, $cart, $MAX_PEDIGREE_GENERATIONS, $TEXT_DIRECTION, $GEDCOM, $WT_IMAGES;
@@ -229,7 +224,7 @@ if ($ct==0) {
</table>
<br />
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var pastefield;
function paste_id(value)
diff --git a/modules/gedcom_favorites/module.php b/modules/gedcom_favorites/module.php
index bfbf855fa1..6454346102 100644
--- a/modules/gedcom_favorites/module.php
+++ b/modules/gedcom_favorites/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -208,7 +208,7 @@ class gedcom_favorites_WT_Module extends WT_Module implements WT_Module_Block {
}
if (WT_USER_GEDCOM_ADMIN) {
$content .= '
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
diff --git a/modules/googlemap/admin_editconfig.php b/modules/googlemap/admin_editconfig.php
index a06bf35b92..4ebcf7a619 100644
--- a/modules/googlemap/admin_editconfig.php
+++ b/modules/googlemap/admin_editconfig.php
@@ -1,33 +1,27 @@
<?php
-/**
-* Online UI for editing site configuration variables
-*
-* 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
-*
-* This Page Is Valid XHTML 1.0 Transitional! > 17 September 2005
-*
-* @package webtrees
-* @subpackage GoogleMap
-* @version $Id$
-*/
+// Online UI for editing site configuration variables
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// @version $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -145,7 +139,7 @@ if ($action=="update" && !isset($security_user)) {
}
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function showSelectedLevels() {
if (document.configform.NEW_GM_LEVEL_COUNT.value >= 1) {
diff --git a/modules/googlemap/admin_placecheck.php b/modules/googlemap/admin_placecheck.php
index d8a7cd032e..8724f3073c 100644
--- a/modules/googlemap/admin_placecheck.php
+++ b/modules/googlemap/admin_placecheck.php
@@ -1,34 +1,28 @@
<?php
-/**
- * Check a GEDCOM file for compliance with the 5.5.1 specification
- * and other common errors.
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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 discretion, 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
- *
- * @author Nigel Osborne 26 Mar 2007
- * @package webtrees
- * $Id$
- */
+// Check a GEDCOM file for compliance with the 5.5.1 specification
+// and other common errors.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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 discretion, 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -193,7 +187,7 @@ case 'go':
//scripts for edit, add and refresh
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function edit_place_location(placeid) {
window.open('module.php?mod=googlemap&mod_action=places_edit&action=update&placeid='+placeid+"&"+sessionname+"="+sessionid, '_blank', 'top=50, left=50, width=680, height=550, resizable=1, scrollbars=1');
diff --git a/modules/googlemap/admin_places.php b/modules/googlemap/admin_places.php
index 8ab6afc0ae..606d9c6065 100644
--- a/modules/googlemap/admin_places.php
+++ b/modules/googlemap/admin_places.php
@@ -1,36 +1,27 @@
<?php
-/**
- * Online UI for editing config.php site configuration variables
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 17 September 2005
- *
- * @package webtrees
- * @subpackage GoogleMap
- * @see config.php
- * $Id$
- */
+// Online UI for editing config.php site configuration variables
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -519,7 +510,7 @@ if ($action=="DeleteRecord") {
}
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function showchanges() {
window.location = '<?php echo basename($_SERVER["REQUEST_URI"]); ?>&show_changes=yes';
diff --git a/modules/googlemap/module.php b/modules/googlemap/module.php
index 1b2cebfe5a..d4b83e7160 100644
--- a/modules/googlemap/module.php
+++ b/modules/googlemap/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -106,7 +106,7 @@ class googlemap_WT_Module extends WT_Module implements WT_Module_Config, WT_Modu
echo "</tr>";
}
echo "</table><br />";
- ?> <script language="JavaScript" type="text/javascript">
+ ?> <script type="text/javascript">
<!--
function ResizeMap () {}
function SetMarkersAndBounds () {}
diff --git a/modules/googlemap/pedigree_map.php b/modules/googlemap/pedigree_map.php
index 84b0fab5d4..93b1c8b5b8 100644
--- a/modules/googlemap/pedigree_map.php
+++ b/modules/googlemap/pedigree_map.php
@@ -1,38 +1,32 @@
<?php
-/**
- * Print pedigree map using Googlemaps.
- * It requires that your place coordinates are stored on the Google Map
- * 'place_locations' table. It will NOT find coordinates stored only as tags in
- * your GEDCOM file. As in the Google Maps module, it can only display place
- * markers where the location exists with identical spelling in both your
- * GEDCOM '2 PLAC' tag (within the '1 BIRT' event) and the place_locations table.
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2010 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 discretion, 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
- *
- * @author Nigel Osborne
- * @Developed for the 'Our-Families' web site (http://www.our-families.info)
- * @modified and added to PGV by Łukasz Wileński
- * @package webtrees
- * $Id$
- */
+// Print pedigree map using Googlemaps.
+// It requires that your place coordinates are stored on the Google Map
+// 'place_locations' table. It will NOT find coordinates stored only as tags in
+// your GEDCOM file. As in the Google Maps module, it can only display place
+// markers where the location exists with identical spelling in both your
+// GEDCOM '2 PLAC' tag (within the '1 BIRT' event) and the place_locations table.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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 discretion, 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -94,7 +88,7 @@ echo PrintReady($controller->getPersonName())."</h2>";
// -- print the form to change the number of displayed generations
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
diff --git a/modules/lightbox/functions/lb_horiz_sort.php b/modules/lightbox/functions/lb_horiz_sort.php
index 65ef9cec7e..c093ec76a5 100644
--- a/modules/lightbox/functions/lb_horiz_sort.php
+++ b/modules/lightbox/functions/lb_horiz_sort.php
@@ -1,34 +1,29 @@
<?php
-/**
- * Lightbox Album Include for Horizontal Album sort
- *
- * Various printing functions used to print fact records
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2008 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 Module
- * @version $Id$
- * @author Brian Holland
- */
+// Lightbox Album Include for Horizontal Album sort
+//
+// Various printing functions used to print fact records
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2008 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -40,7 +35,7 @@ if (!defined('WT_WEBTREES')) {
<script type="text/javascript" src="js/scriptaculous/scriptaculous.js"></script>
*/
?>
- <script language="JavaScript">
+ <script type="text/javascript">
function getGroupOrder() {
// var sections = document.getElementsByClassName('section');
var sections = $$('.section');
diff --git a/modules/lightbox/functions/lb_link.php b/modules/lightbox/functions/lb_link.php
index f1cde63366..18f47a246b 100644
--- a/modules/lightbox/functions/lb_link.php
+++ b/modules/lightbox/functions/lb_link.php
@@ -1,34 +1,29 @@
<?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
- */
+// Lightbox Album module for phpGedView
+//
+// Display media Items using Lightbox
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -83,7 +78,7 @@ if (!defined('WT_WEBTREES')) {
echo $menu->getMenu();
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
function ilinkitem(mediaid, type) {
window.open('inverselink.php?mediaid='+mediaid+'&linkto='+type+'&'+sessionname+'='+sessionid, '_blank', 'top=50,left=50,width=400,height=300,resizable=1,scrollbars=1');
return false;
diff --git a/modules/notes/module.php b/modules/notes/module.php
index 7cdcd5f2ad..6485ef6989 100644
--- a/modules/notes/module.php
+++ b/modules/notes/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -121,7 +121,7 @@ if (!$this->controller->indi->canDisplayDetails()) {
<?php
if (!$SHOW_LEVEL2_NOTES) {
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
toggleByClassName('TR', 'row_note2');
//-->
diff --git a/modules/random_media/module.php b/modules/random_media/module.php
index fad23bc721..94dffd1f1f 100644
--- a/modules/random_media/module.php
+++ b/modules/random_media/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -242,7 +242,7 @@ class random_media_WT_Module extends WT_Module implements WT_Module_Block {
//LBox -------- change for Lightbox Album --------------------------------------------
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function openPic(filename, width, height) {
height=height+50;
diff --git a/modules/sources_tab/module.php b/modules/sources_tab/module.php
index f1373ac8e4..6970206534 100644
--- a/modules/sources_tab/module.php
+++ b/modules/sources_tab/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -102,7 +102,7 @@ class sources_tab_WT_Module extends WT_Module implements WT_Module_Tab {
<?php
if (!$SHOW_LEVEL2_SOURCES) {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
toggleByClassName('TR', 'row_sour2');
//-->
diff --git a/modules/stories/module.php b/modules/stories/module.php
index 596f649d80..f941db9736 100644
--- a/modules/stories/module.php
+++ b/modules/stories/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -203,7 +203,7 @@ class stories_WT_Module extends WT_Module implements WT_Module_Block, WT_Module_
$xref=safe_GET('xref', WT_REGEX_XREF);
}
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
var pastefield;
function paste_id(value) {
pastefield.value=value;
diff --git a/modules/user_favorites/module.php b/modules/user_favorites/module.php
index 76a92c9e26..0ccc7ab74f 100644
--- a/modules/user_favorites/module.php
+++ b/modules/user_favorites/module.php
@@ -21,7 +21,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// @version $Id$
+// $Id$
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -205,7 +205,7 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block {
$content .= "</table>";
}
$content .= '
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
var pastefield;
function paste_id(value) {
pastefield.value=value;
diff --git a/pedigree.php b/pedigree.php
index 4221c4de27..da0ebdb4ee 100644
--- a/pedigree.php
+++ b/pedigree.php
@@ -1,36 +1,30 @@
<?php
-/**
- * Parses gedcom file and displays a pedigree tree.
- *
- * Specify a $rootid to root the pedigree tree at a certain person
- * with id = $rootid in the GEDCOM file.
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 22 August 2005
- *
- * $Id$
- * @package webtrees
- * @subpackage Charts
- */
+// Parses gedcom file and displays a pedigree tree.
+//
+// Specify a $rootid to root the pedigree tree at a certain person
+// with id = $rootid in the GEDCOM file.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'pedigree.php');
require './includes/session.php';
@@ -59,7 +53,7 @@ if ($controller->addname!="") {
echo '</h2>';
// -- echo the form to change the number of displayed generations
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var pastefield;
function paste_id(value) {
@@ -439,7 +433,7 @@ if ($controller->rootPerson->canDisplayDetails()) {
$maxyoffset+=30;
?>
</div>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
content_div = document.getElementById("content");
if (content_div) {
content_div.style.height = <?php echo $maxyoffset; ?> + "px";
diff --git a/relationship.php b/relationship.php
index 840a4aaa14..b4e2a24eaf 100644
--- a/relationship.php
+++ b/relationship.php
@@ -1,33 +1,27 @@
<?php
-/**
- * Calculates the relationship between two individuals in the gedcom
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 20 August 2005
- *
- * @package webtrees
- * @subpackage Charts
- * @version $Id$
- */
+// Calculates the relationship between two individuals in the gedcom
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'relationship.php');
require './includes/session.php';
@@ -115,7 +109,7 @@ if ($pid2) {
}
}
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
var pastefield;
function paste_id(value) {
pastefield.value=value;
@@ -267,7 +261,7 @@ function paste_id(value) {
}
if (!$followspouse) {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
document.getElementById("followspousebox").className='facts_valuered';
</script>
<?php
@@ -508,7 +502,7 @@ if ((!empty($pid1))&&(!empty($pid2))) {
$maxyoffset += 100;
?>
</div>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
relationship_chart_div = document.getElementById("relationship_chart");
if (relationship_chart_div) {
relationship_chart_div.style.height = <?php echo ($maxyoffset-50); ?> + "px";
diff --git a/search.php b/search.php
index 0ae88fdc34..72b58aed9b 100644
--- a/search.php
+++ b/search.php
@@ -1,32 +1,27 @@
<?php
-
-/**
- * Searches based on user query.
- *
- * 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 Display
- * @version $Id$
- */
+// Searches based on user query.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'search.php');
require './includes/session.php';
@@ -40,7 +35,7 @@ print_header(WT_I18N::translate('Search'));
if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function checknames(frm) {
action = "<?php echo $controller->action; ?>";
@@ -428,7 +423,7 @@ echo "<br /><br /><br />";
// set the focus on the first field unless some search results have been printed
if (!$somethingPrinted) {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
document.getElementById('firstfocus').focus();
//-->
diff --git a/search_advanced.php b/search_advanced.php
index 01ee44fafb..43316c2bfd 100644
--- a/search_advanced.php
+++ b/search_advanced.php
@@ -1,32 +1,27 @@
<?php
-
-/**
- * Searches based on user query.
- *
- * 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 Display
- * @version $Id$
- */
+// Searches based on user query.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// @version $Id$
define('WT_SCRIPT_NAME', 'search_advanced.php');
require './includes/session.php';
@@ -310,7 +305,7 @@ echo WT_JS_END;
// set the focus on the first field unless multisite or some search results have been printed
if (!$somethingPrinted ) {
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
document.getElementById('value0').focus();
//-->
diff --git a/statistics.php b/statistics.php
index 2a18b9b90d..c1db9bc514 100644
--- a/statistics.php
+++ b/statistics.php
@@ -1,36 +1,30 @@
<?php
-/**
- * Creates some statistics out of the GEDCOM information.
- * We will start with the following possibilities
- * number of persons -> periodes of 50 years from 1700-2000
- * age -> periodes of 10 years (different for 0-1,1-5,5-10,10-20 etc)
- *
- * webtrees: Web based Family History software
- * Copyright (C) 2010 webtrees development team.
- *
- * Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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
- *
- * @version $Id$
- * @package webtrees
- * @subpackage Lists
- */
+// Creates some statistics out of the GEDCOM information.
+// We will start with the following possibilities
+// number of persons -> periodes of 50 years from 1700-2000
+// age -> periodes of 10 years (different for 0-1,1-5,5-10,10-20 etc)
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 webtrees development team.
+//
+// Derived from PhpGedView
+// Copyright (C) 2002 to 2010 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'statistics.php');
require './includes/session.php';
@@ -423,7 +417,7 @@ if (isset($content) && $content==1) {
if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function statusHide(sel) {
var box = document.getElementById(sel);
diff --git a/timeline.php b/timeline.php
index 325b8ca959..f1e45a1d4b 100644
--- a/timeline.php
+++ b/timeline.php
@@ -1,35 +1,29 @@
<?php
-/**
- * Display a timeline chart for a group of individuals
- *
- * Use the $pids array to set which individuals to show on the chart
- *
- * 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
- *
- * This Page Is Valid XHTML 1.0 Transitional! > 08 August 2005
- *
- * @package webtrees
- * @subpackage Charts
- * @version $Id$
- */
+// Display a timeline chart for a group of individuals
+//
+// Use the $pids array to set which individuals to show on the chart
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'timeline.php');
require './includes/session.php';
@@ -41,7 +35,7 @@ print_header(WT_I18N::translate('Timeline'));
if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm';
?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
function showhide(divbox, checkbox) {
if (checkbox.checked) {
@@ -400,7 +394,7 @@ if (count($controller->people)>0) {
</table><br /><br /><br />
</div><br /><br /><br /><br />
<?php } ?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
var bottomy = <?php echo ($baseyoffset+(($controller->topyear-$controller->baseyear)*$controller->scale)); ?>-5;
var topy = <?php echo $baseyoffset; ?>;
@@ -423,7 +417,7 @@ if (count($controller->people)>0) {
</script>
</div>
<?php } ?>
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
timeline_chart_div = document.getElementById("timeline_chart");
if (timeline_chart_div) timeline_chart_div.style.height = '<?php echo $baseyoffset+(($controller->topyear-$controller->baseyear)*$controller->scale*1.1); ?>px';
diff --git a/useradmin.php b/useradmin.php
index 8e4da3c00a..01143e9db8 100644
--- a/useradmin.php
+++ b/useradmin.php
@@ -1,33 +1,27 @@
<?php
-/**
- * Administrative User Interface.
- *
- * 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.
- *
- * Modifications Copyright (c) 2010 Greg Roach
- *
- * 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 Admin
- * @version $Id$
-*/
+// Administrative User Interface.
+//
+// webtrees: Web based Family History software
+// Copyright (C) 2011 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
+//
+// $Id$
define('WT_SCRIPT_NAME', 'useradmin.php');
require './includes/session.php';
@@ -214,7 +208,7 @@ if ($action=="edituser") {
$user_id=get_user_id($username);
init_calendar_popup();
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function checkform(frm) {
if (frm.username.value=="") {
@@ -648,7 +642,7 @@ jQuery(document).ready(function() {
if ($action == "createform") {
init_calendar_popup();
?>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function checkform(frm) {
if (frm.username.value=="") {