summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editconfig_gedcom.php230
-rw-r--r--includes/functions/functions_edit.php4
-rw-r--r--includes/functions/functions_mediadb.php15
-rw-r--r--includes/functions/functions_places.php1
-rw-r--r--modules/googlemap/editconfig.php80
-rw-r--r--modules/googlemap/flags.php6
-rw-r--r--modules/lightbox/lb_editconfig.php24
-rw-r--r--modules/login_block/module.php20
8 files changed, 183 insertions, 197 deletions
diff --git a/editconfig_gedcom.php b/editconfig_gedcom.php
index 9917e79e89..2db0441173 100644
--- a/editconfig_gedcom.php
+++ b/editconfig_gedcom.php
@@ -430,19 +430,19 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('GEDCOM title'), help_link('gedcom_title'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="gedcom_title" dir="ltr" value="<?php echo htmlspecialchars(get_gedcom_setting(WT_GED_ID, 'title')); ?>" size="40" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="gedcom_title" dir="ltr" value="<?php echo htmlspecialchars(get_gedcom_setting(WT_GED_ID, 'title')); ?>" size="40" />
</td>
</tr>
<tr>
<td class="descriptionbox nowrap"><?php echo i18n::translate('Language'), help_link('LANGUAGE'); ?></td>
- <td class="optionbox width60"><?php echo edit_field_language('GEDCOMLANG', $LANGUAGE, 'dir="ltr" tabindex="'.(++$i).'"');?></td>
+ <td class="optionbox width60"><?php echo edit_field_language('GEDCOMLANG', $LANGUAGE);?></td>
</tr>
<tr>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Default person for pedigree and descendancy charts'), help_link('PEDIGREE_ROOT_ID'); ?>
</td>
<td class="optionbox width60 wrap">
- <input type="text" name="NEW_PEDIGREE_ROOT_ID" id="NEW_PEDIGREE_ROOT_ID" value="<?php print $PEDIGREE_ROOT_ID; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_PEDIGREE_ROOT_ID" id="NEW_PEDIGREE_ROOT_ID" value="<?php print $PEDIGREE_ROOT_ID; ?>" size="5" />
<?php
print_findindi_link("NEW_PEDIGREE_ROOT_ID", "");
if ($PEDIGREE_ROOT_ID) {
@@ -461,7 +461,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Calendar format'), help_link('CALENDAR_FORMAT'); ?>
</td>
<td class="optionbox width60">
- <select id="NEW_CALENDAR_FORMAT" name="NEW_CALENDAR_FORMAT" tabindex="<?php echo ++$i; ?>">
+ <select id="NEW_CALENDAR_FORMAT" name="NEW_CALENDAR_FORMAT">
<?php
foreach (array(
'none'=>i18n::translate('No calendar conversion'),
@@ -489,7 +489,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Display Hebrew thousands'), help_link('DISPLAY_JEWISH_THOUSANDS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_DISPLAY_JEWISH_THOUSANDS', get_gedcom_setting(WT_GED_ID, 'DISPLAY_JEWISH_THOUSANDS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_DISPLAY_JEWISH_THOUSANDS', get_gedcom_setting(WT_GED_ID, 'DISPLAY_JEWISH_THOUSANDS')); ?>
</td>
</tr>
<tr>
@@ -497,7 +497,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Display Hebrew gershayim'), help_link('DISPLAY_JEWISH_GERESHAYIM'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_DISPLAY_JEWISH_GERESHAYIM', get_gedcom_setting(WT_GED_ID, 'DISPLAY_JEWISH_GERESHAYIM'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_DISPLAY_JEWISH_GERESHAYIM', get_gedcom_setting(WT_GED_ID, 'DISPLAY_JEWISH_GERESHAYIM')); ?>
</td>
</tr>
<tr>
@@ -505,7 +505,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use RIN number instead of GEDCOM ID'), help_link('USE_RIN'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_USE_RIN', get_gedcom_setting(WT_GED_ID, 'USE_RIN'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_USE_RIN', get_gedcom_setting(WT_GED_ID, 'USE_RIN')); ?>
</td>
</tr>
<tr>
@@ -513,7 +513,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Automatically create globally unique IDs'), help_link('GENERATE_GUID'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GENERATE_UIDS', get_gedcom_setting(WT_GED_ID, 'GENERATE_UIDS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GENERATE_UIDS', get_gedcom_setting(WT_GED_ID, 'GENERATE_UIDS')); ?>
</td>
</tr>
<tr>
@@ -521,7 +521,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Add spaces where notes were wrapped'), help_link('WORD_WRAPPED_NOTES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_WORD_WRAPPED_NOTES', get_gedcom_setting(WT_GED_ID, 'WORD_WRAPPED_NOTES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_WORD_WRAPPED_NOTES', get_gedcom_setting(WT_GED_ID, 'WORD_WRAPPED_NOTES')); ?>
</td>
</tr>
</table>
@@ -534,30 +534,30 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Individual ID prefix'), help_link('GEDCOM_ID_PREFIX'); ?>
</td>
<td class="optionbox">
- <input type="text" name="NEW_GEDCOM_ID_PREFIX" dir="ltr" value="<?php print $GEDCOM_ID_PREFIX; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_GEDCOM_ID_PREFIX" dir="ltr" value="<?php print $GEDCOM_ID_PREFIX; ?>" size="5" />
</td>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Family ID prefix'), help_link('FAM_ID_PREFIX'); ?>
</td>
<td class="optionbox">
- <input type="text" name="NEW_FAM_ID_PREFIX" dir="ltr" value="<?php print $FAM_ID_PREFIX; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_FAM_ID_PREFIX" dir="ltr" value="<?php print $FAM_ID_PREFIX; ?>" size="5" />
</td>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Source ID prefix'), help_link('SOURCE_ID_PREFIX'); ?>
</td>
<td class="optionbox">
- <input type="text" name="NEW_SOURCE_ID_PREFIX" dir="ltr" value="<?php print $SOURCE_ID_PREFIX; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_SOURCE_ID_PREFIX" dir="ltr" value="<?php print $SOURCE_ID_PREFIX; ?>" size="5" />
</td>
</tr>
<tr>
<td class="descriptionbox nowrap"><?php echo i18n::translate('Repository ID prefix'), help_link('REPO_ID_PREFIX'); ?></td>
- <td class="optionbox"><input type="text" name="NEW_REPO_ID_PREFIX" dir="ltr" value="<?php print $REPO_ID_PREFIX; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <td class="optionbox"><input type="text" name="NEW_REPO_ID_PREFIX" dir="ltr" value="<?php print $REPO_ID_PREFIX; ?>" size="5" />
</td>
<td class="descriptionbox nowrap"><?php echo i18n::translate('Media ID prefix'), help_link('MEDIA_ID_PREFIX'); ?></td>
- <td class="optionbox"><input type="text" name="NEW_MEDIA_ID_PREFIX" dir="ltr" value="<?php print $MEDIA_ID_PREFIX; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <td class="optionbox"><input type="text" name="NEW_MEDIA_ID_PREFIX" dir="ltr" value="<?php print $MEDIA_ID_PREFIX; ?>" size="5" />
</td>
<td class="descriptionbox nowrap"><?php echo i18n::translate('Note ID prefix'), help_link('NOTE_ID_PREFIX'); ?></td>
- <td class="optionbox"><input type="text" name="NEW_NOTE_ID_PREFIX" dir="ltr" value="<?php print $NOTE_ID_PREFIX; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <td class="optionbox"><input type="text" name="NEW_NOTE_ID_PREFIX" dir="ltr" value="<?php print $NOTE_ID_PREFIX; ?>" size="5" />
</td>
</tr>
</table>
@@ -574,13 +574,13 @@ print_header(i18n::translate('GEDCOM configuration'));
<td class="descriptionbox nowrap">
<?php echo i18n::translate('webtrees reply address'), help_link('WEBTREES_EMAIL'); ?>
</td>
- <td class="optionbox width60"><input type="text" name="NEW_WEBTREES_EMAIL" value="<?php print $WEBTREES_EMAIL; ?>" size="50" dir="ltr" tabindex="<?php echo ++$i; ?>" /></td>
+ <td class="optionbox width60"><input type="text" name="NEW_WEBTREES_EMAIL" value="<?php print $WEBTREES_EMAIL; ?>" size="50" dir="ltr" /></td>
</tr>
<tr>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Genealogy contact'), help_link('CONTACT_USER_ID'); ?>
</td>
- <td class="optionbox width60"><select name="NEW_CONTACT_USER_ID" tabindex="<?php echo ++$i; ?>">
+ <td class="optionbox width60"><select name="NEW_CONTACT_USER_ID">
<?php
$CONTACT_USER_ID=get_gedcom_setting(WT_GED_ID, 'CONTACT_USER_ID');
foreach (get_all_users() as $user_id=>$user_name) {
@@ -598,7 +598,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Support contact'), help_link('WEBMASTER_USER_ID'); ?>
</td>
- <td class="optionbox width60"><select name="NEW_WEBMASTER_USER_ID" tabindex="<?php echo ++$i; ?>">
+ <td class="optionbox width60"><select name="NEW_WEBMASTER_USER_ID">
<?php
$WEBMASTER_USER_ID=get_gedcom_setting(WT_GED_ID, 'WEBMASTER_USER_ID');
foreach (get_all_users() as $user_id=>$user_name) {
@@ -619,20 +619,20 @@ print_header(i18n::translate('GEDCOM configuration'));
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Add to TITLE header tag'), help_link('META_TITLE'); ?>
</td>
- <td class="optionbox width60"><input type="text" dir="ltr" name="NEW_META_TITLE" value="<?php echo htmlspecialchars(get_gedcom_setting(WT_GED_ID, 'META_TITLE')); ?>" tabindex="<?php echo ++$i; ?>" />
+ <td class="optionbox width60"><input type="text" dir="ltr" name="NEW_META_TITLE" value="<?php echo htmlspecialchars(get_gedcom_setting(WT_GED_ID, 'META_TITLE')); ?>" />
</td>
</tr>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Description META tag'), help_link('META_DESCRIPTION'); ?>
</td>
- <td class="optionbox width60"><input type="text" dir="ltr" name="NEW_META_DESCRIPTION" value="<?php echo get_gedcom_setting(WT_GED_ID, 'META_DESCRIPTION'); ?>" tabindex="<?php echo ++$i; ?>" /><br />
+ <td class="optionbox width60"><input type="text" dir="ltr" name="NEW_META_DESCRIPTION" value="<?php echo get_gedcom_setting(WT_GED_ID, 'META_DESCRIPTION'); ?>" /><br />
<?php print i18n::translate('Leave this field empty to use the title of the currently active database.'); ?></td>
</tr>
<tr>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Robots META tag'), help_link('META_ROBOTS'); ?>
</td>
- <td class="optionbox width60"><input type="text" dir="ltr" name="NEW_META_ROBOTS" value="<?php echo get_gedcom_setting(WT_GED_ID, 'META_ROBOTS'); ?>" tabindex="<?php echo ++$i; ?>" /><br />
+ <td class="optionbox width60"><input type="text" dir="ltr" name="NEW_META_ROBOTS" value="<?php echo get_gedcom_setting(WT_GED_ID, 'META_ROBOTS'); ?>" /><br />
</td>
</tr>
</table>
@@ -692,7 +692,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show private relationships'), help_link('SHOW_PRIVATE_RELATIONSHIPS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('SHOW_PRIVATE_RELATIONSHIPS', get_gedcom_setting(WT_GED_ID, 'SHOW_PRIVATE_RELATIONSHIPS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('SHOW_PRIVATE_RELATIONSHIPS', get_gedcom_setting(WT_GED_ID, 'SHOW_PRIVATE_RELATIONSHIPS')); ?>
</td>
</tr>
<tr>
@@ -700,7 +700,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use relationship privacy'), help_link('USE_RELATIONSHIP_PRIVACY'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('USE_RELATIONSHIP_PRIVACY', get_gedcom_setting(WT_GED_ID, 'USE_RELATIONSHIP_PRIVACY'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('USE_RELATIONSHIP_PRIVACY', get_gedcom_setting(WT_GED_ID, 'USE_RELATIONSHIP_PRIVACY')); ?>
</td>
</tr>
<tr>
@@ -722,7 +722,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Check relationships by marriage'), help_link('CHECK_MARRIAGE_RELATIONS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('CHECK_MARRIAGE_RELATIONS', get_gedcom_setting(WT_GED_ID, 'CHECK_MARRIAGE_RELATIONS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('CHECK_MARRIAGE_RELATIONS', get_gedcom_setting(WT_GED_ID, 'CHECK_MARRIAGE_RELATIONS')); ?>
</td>
</tr>
<tr>
@@ -820,7 +820,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Enable multimedia features'), help_link('MULTI_MEDIA'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_MULTI_MEDIA', get_gedcom_setting(WT_GED_ID, 'MULTI_MEDIA'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_MULTI_MEDIA', get_gedcom_setting(WT_GED_ID, 'MULTI_MEDIA')); ?>
</td>
</tr>
<tr>
@@ -831,7 +831,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Keep links'), help_link('MEDIA_EXTERNAL'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_MEDIA_EXTERNAL', get_gedcom_setting(WT_GED_ID, 'MEDIA_EXTERNAL'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_MEDIA_EXTERNAL', get_gedcom_setting(WT_GED_ID, 'MEDIA_EXTERNAL')); ?>
</td>
</tr>
<tr>
@@ -839,7 +839,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Multimedia directory'), help_link('MEDIA_DIRECTORY'); ?>
</td>
<td class="optionbox width60">
- <input type="text" size="50" name="NEW_MEDIA_DIRECTORY" value="<?php print $MEDIA_DIRECTORY; ?>" dir="ltr" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" size="50" name="NEW_MEDIA_DIRECTORY" value="<?php print $MEDIA_DIRECTORY; ?>" dir="ltr" />
<?php if (preg_match("/.*[a-zA-Z]{1}:.*/", $MEDIA_DIRECTORY)>0) print "<span class=\"error\">".i18n::translate('Media path should not contain a drive letter; media may not be displayed.')."</span>\n";?>
</td>
</tr>
@@ -848,7 +848,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Multi-Media directory levels to keep'), help_link('MEDIA_DIRECTORY_LEVELS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_MEDIA_DIRECTORY_LEVELS" value="<?php print $MEDIA_DIRECTORY_LEVELS; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_MEDIA_DIRECTORY_LEVELS" value="<?php print $MEDIA_DIRECTORY_LEVELS; ?>" size="5" />
</td>
</tr>
<tr>
@@ -856,7 +856,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Width of generated thumbnails'), help_link('THUMBNAIL_WIDTH'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_THUMBNAIL_WIDTH" value="<?php print $THUMBNAIL_WIDTH; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_THUMBNAIL_WIDTH" value="<?php print $THUMBNAIL_WIDTH; ?>" size="5" />
</td>
</tr>
<tr>
@@ -864,7 +864,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Automatically generate thumbnails'), help_link('AUTO_GENERATE_THUMBS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_AUTO_GENERATE_THUMBS', get_gedcom_setting(WT_GED_ID, 'AUTO_GENERATE_THUMBS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_AUTO_GENERATE_THUMBS', get_gedcom_setting(WT_GED_ID, 'AUTO_GENERATE_THUMBS')); ?>
</td>
</tr>
<tr>
@@ -872,7 +872,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use thumbnail'), help_link('USE_THUMBS_MAIN'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_USE_THUMBS_MAIN', get_gedcom_setting(WT_GED_ID, 'USE_THUMBS_MAIN'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_USE_THUMBS_MAIN', get_gedcom_setting(WT_GED_ID, 'USE_THUMBS_MAIN')); ?>
</td>
</tr>
<tr>
@@ -880,7 +880,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use silhouettes'), help_link('USE_SILHOUETTE'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_USE_SILHOUETTE', get_gedcom_setting(WT_GED_ID, 'USE_SILHOUETTE'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_USE_SILHOUETTE', get_gedcom_setting(WT_GED_ID, 'USE_SILHOUETTE')); ?>
</td>
</tr>
<tr>
@@ -888,7 +888,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show highlight images in people boxes'), help_link('SHOW_HIGHLIGHT_IMAGES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_HIGHLIGHT_IMAGES', get_gedcom_setting(WT_GED_ID, 'SHOW_HIGHLIGHT_IMAGES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_HIGHLIGHT_IMAGES', get_gedcom_setting(WT_GED_ID, 'SHOW_HIGHLIGHT_IMAGES')); ?>
</td>
</tr>
<tr>
@@ -896,7 +896,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use media viewer'), help_link('USE_MEDIA_VIEWER'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_USE_MEDIA_VIEWER', get_gedcom_setting(WT_GED_ID, 'USE_MEDIA_VIEWER'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_USE_MEDIA_VIEWER', get_gedcom_setting(WT_GED_ID, 'USE_MEDIA_VIEWER')); ?>
</td>
</tr>
<tr>
@@ -904,7 +904,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show file name in media viewer'), help_link('SHOW_MEDIA_FILENAME'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_MEDIA_FILENAME', get_gedcom_setting(WT_GED_ID, 'SHOW_MEDIA_FILENAME'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_MEDIA_FILENAME', get_gedcom_setting(WT_GED_ID, 'SHOW_MEDIA_FILENAME')); ?>
</td>
</tr>
<tr>
@@ -912,7 +912,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show download link in media viewer'), help_link('SHOW_MEDIA_DOWNLOAD'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_MEDIA_DOWNLOAD', get_gedcom_setting(WT_GED_ID, 'SHOW_MEDIA_DOWNLOAD'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_MEDIA_DOWNLOAD', get_gedcom_setting(WT_GED_ID, 'SHOW_MEDIA_DOWNLOAD')); ?>
</td>
</tr>
<tr>
@@ -925,7 +925,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use media firewall'), help_link('USE_MEDIA_FIREWALL'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_USE_MEDIA_FIREWALL', get_gedcom_setting(WT_GED_ID, 'USE_MEDIA_FIREWALL'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_USE_MEDIA_FIREWALL', get_gedcom_setting(WT_GED_ID, 'USE_MEDIA_FIREWALL')); ?>
</td>
</tr>
<tr>
@@ -933,7 +933,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Media firewall root directory'), help_link('MEDIA_FIREWALL_ROOTDIR'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_MEDIA_FIREWALL_ROOTDIR" size="50" dir="ltr" value="<?php print ($MEDIA_FIREWALL_ROOTDIR == $INDEX_DIRECTORY) ? "" : $MEDIA_FIREWALL_ROOTDIR; ?>" tabindex="<?php echo ++$i; ?>" /><br />
+ <input type="text" name="NEW_MEDIA_FIREWALL_ROOTDIR" size="50" dir="ltr" value="<?php print ($MEDIA_FIREWALL_ROOTDIR == $INDEX_DIRECTORY) ? "" : $MEDIA_FIREWALL_ROOTDIR; ?>" /><br />
<?php echo i18n::translate('When this field is empty, the <b>%s</b> directory will be used.', $INDEX_DIRECTORY); ?>
</td>
</tr>
@@ -942,7 +942,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Protect thumbnails of protected images'), help_link('MEDIA_FIREWALL_THUMBS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_MEDIA_FIREWALL_THUMBS', get_gedcom_setting(WT_GED_ID, 'MEDIA_FIREWALL_THUMBS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_MEDIA_FIREWALL_THUMBS', get_gedcom_setting(WT_GED_ID, 'MEDIA_FIREWALL_THUMBS')); ?>
</td>
</tr>
<tr>
@@ -958,7 +958,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Add watermarks to thumbnails?'), help_link('WATERMARK_THUMB'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_WATERMARK_THUMB', get_gedcom_setting(WT_GED_ID, 'WATERMARK_THUMB'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_WATERMARK_THUMB', get_gedcom_setting(WT_GED_ID, 'WATERMARK_THUMB')); ?>
</td>
</tr>
<tr>
@@ -966,7 +966,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Store watermarked full size images on server?'), help_link('SAVE_WATERMARK_IMAGE'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SAVE_WATERMARK_IMAGE', get_gedcom_setting(WT_GED_ID, 'SAVE_WATERMARK_IMAGE'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SAVE_WATERMARK_IMAGE', get_gedcom_setting(WT_GED_ID, 'SAVE_WATERMARK_IMAGE')); ?>
</td>
</tr>
<tr>
@@ -974,7 +974,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Store watermarked thumbnails on server?'), help_link('SAVE_WATERMARK_THUMB'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SAVE_WATERMARK_THUMB', get_gedcom_setting(WT_GED_ID, 'SAVE_WATERMARK_THUMB'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SAVE_WATERMARK_THUMB', get_gedcom_setting(WT_GED_ID, 'SAVE_WATERMARK_THUMB')); ?>
</td>
</tr>
</table>
@@ -992,7 +992,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Require visitor authentication'), help_link('REQUIRE_AUTHENTICATION'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_REQUIRE_AUTHENTICATION', get_gedcom_setting(WT_GED_ID, 'REQUIRE_AUTHENTICATION'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_REQUIRE_AUTHENTICATION', get_gedcom_setting(WT_GED_ID, 'REQUIRE_AUTHENTICATION')); ?>
</td>
</tr>
<tr>
@@ -1000,7 +1000,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Page to show after login'), help_link('PAGE_AFTER_LOGIN'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_PAGE_AFTER_LOGIN" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_PAGE_AFTER_LOGIN">
<option value="welcome" <?php if ($PAGE_AFTER_LOGIN=='welcome') print " selected=\"selected\""; ?>><?php print i18n::translate('Home'); ?></option>
<option value="mypage" <?php if ($PAGE_AFTER_LOGIN=='mypage') print " selected=\"selected\""; ?>><?php print i18n::translate('My Page'); ?></option>
</select>
@@ -1010,7 +1010,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Welcome text on login page'), help_link('WELCOME_TEXT_AUTH_MODE'); ?>
</td>
- <td class="optionbox width60"><select name="NEW_WELCOME_TEXT_AUTH_MODE" tabindex="<?php echo ++$i; ?>">
+ <td class="optionbox width60"><select name="NEW_WELCOME_TEXT_AUTH_MODE">
<option value="0" <?php if ($WELCOME_TEXT_AUTH_MODE=='0') print "selected=\"selected\""; ?>><?php print i18n::translate('No predefined text'); ?></option>
<option value="1" <?php if ($WELCOME_TEXT_AUTH_MODE=='1') print "selected=\"selected\""; ?>><?php print i18n::translate('Predefined text that states all users can request a user account'); ?></option>
<option value="2" <?php if ($WELCOME_TEXT_AUTH_MODE=='2') print "selected=\"selected\""; ?>><?php print i18n::translate('Predefined text that states admin will decide on each request for a user account'); ?></option>
@@ -1024,7 +1024,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Standard header for custom welcome text'), help_link('WELCOME_TEXT_AUTH_MODE_CUST_HEAD'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_WELCOME_TEXT_CUST_HEAD', get_gedcom_setting(WT_GED_ID, 'WELCOME_TEXT_CUST_HEAD'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_WELCOME_TEXT_CUST_HEAD', get_gedcom_setting(WT_GED_ID, 'WELCOME_TEXT_CUST_HEAD')); ?>
</td>
</tr>
<tr>
@@ -1032,7 +1032,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Custom welcome text'), help_link('WELCOME_TEXT_AUTH_MODE_CUST'); ?>
</td>
<td class="optionbox width60">
- <textarea name="NEW_WELCOME_TEXT_AUTH_MODE_4" rows="5" cols="60" dir="ltr" tabindex="<?php echo ++$i; ?>"><?php echo get_gedcom_setting(WT_GED_ID, 'WELCOME_TEXT_AUTH_MODE_'.WT_LOCALE); ?></textarea>
+ <textarea name="NEW_WELCOME_TEXT_AUTH_MODE_4" rows="5" cols="60"><?php echo get_gedcom_setting(WT_GED_ID, 'WELCOME_TEXT_AUTH_MODE_'.WT_LOCALE); ?></textarea>
</td>
</tr>
<tr>
@@ -1040,7 +1040,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show acceptable use agreement on «Request new user account» page'), help_link('SHOW_REGISTER_CAUTION'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_REGISTER_CAUTION', get_gedcom_setting(WT_GED_ID, 'SHOW_REGISTER_CAUTION'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_REGISTER_CAUTION', get_gedcom_setting(WT_GED_ID, 'SHOW_REGISTER_CAUTION')); ?>
</td>
</tr>
<tr>
@@ -1053,7 +1053,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Contextual Help links'), help_link('SHOW_CONTEXT_HELP'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_CONTEXT_HELP', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), get_gedcom_setting(WT_GED_ID, 'SHOW_CONTEXT_HELP'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_CONTEXT_HELP', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), get_gedcom_setting(WT_GED_ID, 'SHOW_CONTEXT_HELP')); ?>
</td>
</tr>
<tr>
@@ -1061,7 +1061,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Theme dropdown selector for theme changes'), help_link('ALLOW_THEME_DROPDOWN'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_ALLOW_THEME_DROPDOWN', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $ALLOW_THEME_DROPDOWN, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_ALLOW_THEME_DROPDOWN', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $ALLOW_THEME_DROPDOWN); ?>
</td>
</tr>
<tr>
@@ -1069,7 +1069,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Default Theme'), help_link('THEME'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_THEME_DIR" dir="ltr" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_THEME_DIR">
<?php
foreach (get_theme_names() as $themename=>$themedir) {
print "<option value=\"".$themedir."\"";
@@ -1095,7 +1095,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Underline names in quotes'), help_link('UNDERLINE_NAME_QUOTES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_UNDERLINE_NAME_QUOTES', get_gedcom_setting(WT_GED_ID, 'UNDERLINE_NAME_QUOTES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_UNDERLINE_NAME_QUOTES', get_gedcom_setting(WT_GED_ID, 'UNDERLINE_NAME_QUOTES')); ?>
</td>
</tr>
<tr>
@@ -1103,14 +1103,14 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show married names on individual list'), help_link('SHOW_MARRIED_NAMES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_MARRIED_NAMES', get_gedcom_setting(WT_GED_ID, 'SHOW_MARRIED_NAMES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_MARRIED_NAMES', get_gedcom_setting(WT_GED_ID, 'SHOW_MARRIED_NAMES')); ?>
</td>
</tr>
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Min. no. of occurrences to be a "common surname"'), help_link('COMMON_NAMES_THRESHOLD'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_COMMON_NAMES_THRESHOLD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_THRESHOLD'); ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_COMMON_NAMES_THRESHOLD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_THRESHOLD'); ?>" size="5" />
</td>
</tr>
<tr>
@@ -1118,7 +1118,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Names to add to common surnames (comma separated)'), help_link('COMMON_NAMES_ADD'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_COMMON_NAMES_ADD" dir="ltr" value="<?php echo get_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_ADD'); ?>" size="50" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_COMMON_NAMES_ADD" dir="ltr" value="<?php echo get_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_ADD'); ?>" size="50" />
</td>
</tr>
<tr>
@@ -1126,7 +1126,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Names to remove from common surnames (comma separated)'), help_link('COMMON_NAMES_REMOVE'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_COMMON_NAMES_REMOVE" dir="ltr" value="<?php echo get_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_REMOVE'); ?>" size="50" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_COMMON_NAMES_REMOVE" dir="ltr" value="<?php echo get_gedcom_setting(WT_GED_ID, 'COMMON_NAMES_REMOVE'); ?>" size="50" />
</td>
</tr>
<tr>
@@ -1134,7 +1134,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Surname list style'), help_link('SURNAME_LIST_STYLE'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_SURNAME_LIST_STYLE" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_SURNAME_LIST_STYLE">
<option value="style1" <?php if ($SURNAME_LIST_STYLE=="style1") print "selected=\"selected\""; ?>><?php print i18n::translate('list'); ?></option>
<option value="style2" <?php if ($SURNAME_LIST_STYLE=="style2") print "selected=\"selected\""; ?>><?php print i18n::translate('table'); ?></option>
<option value="style3" <?php if ($SURNAME_LIST_STYLE=="style3") print "selected=\"selected\""; ?>><?php print i18n::translate('tag cloud'); ?></option>
@@ -1146,7 +1146,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Maximum number of surnames on individual list'), help_link('SUBLIST_TRIGGER_I'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_SUBLIST_TRIGGER_I" value="<?php print get_gedcom_setting(WT_GED_ID, 'SUBLIST_TRIGGER_I'); ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_SUBLIST_TRIGGER_I" value="<?php print get_gedcom_setting(WT_GED_ID, 'SUBLIST_TRIGGER_I'); ?>" size="5" />
</td>
</tr>
<tr>
@@ -1154,7 +1154,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Maximum number of surnames on family list'), help_link('SUBLIST_TRIGGER_F'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_SUBLIST_TRIGGER_F" value="<?php print get_gedcom_setting(WT_GED_ID, 'SUBLIST_TRIGGER_F'); ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_SUBLIST_TRIGGER_F" value="<?php print get_gedcom_setting(WT_GED_ID, 'SUBLIST_TRIGGER_F'); ?>" size="5" />
</td>
</tr>
<tr>
@@ -1167,7 +1167,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Default pedigree chart layout'), help_link('PEDIGREE_LAYOUT'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_PEDIGREE_LAYOUT" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_PEDIGREE_LAYOUT">
<option value="yes" <?php if ($PEDIGREE_LAYOUT) print "selected=\"selected\""; ?>><?php print i18n::translate('Landscape'); ?></option>
<option value="no" <?php if (!$PEDIGREE_LAYOUT) print "selected=\"selected\""; ?>><?php print i18n::translate('Portrait'); ?></option>
</select>
@@ -1178,7 +1178,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Default pedigree generations'), help_link('DEFAULT_PEDIGREE_GENERATIONS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_DEFAULT_PEDIGREE_GENERATIONS" value="<?php print $DEFAULT_PEDIGREE_GENERATIONS; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_DEFAULT_PEDIGREE_GENERATIONS" value="<?php print $DEFAULT_PEDIGREE_GENERATIONS; ?>" size="5" />
</td>
</tr>
<tr>
@@ -1186,7 +1186,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Maximum pedigree generations'), help_link('MAX_PEDIGREE_GENERATIONS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_MAX_PEDIGREE_GENERATIONS" value="<?php print $MAX_PEDIGREE_GENERATIONS; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_MAX_PEDIGREE_GENERATIONS" value="<?php print $MAX_PEDIGREE_GENERATIONS; ?>" size="5" />
</td>
</tr>
<tr>
@@ -1194,7 +1194,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Maximum descendancy generations'), help_link('MAX_DESCENDANCY_GENERATIONS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_MAX_DESCENDANCY_GENERATIONS" value="<?php print $MAX_DESCENDANCY_GENERATIONS; ?>" size="5" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_MAX_DESCENDANCY_GENERATIONS" value="<?php print $MAX_DESCENDANCY_GENERATIONS; ?>" size="5" />
</td>
</tr>
<tr>
@@ -1202,7 +1202,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Place levels to show in person boxes'), help_link('SHOW_PEDIGREE_PLACES'); ?>
</td>
<td class="optionbox width60">
- <input type="text" size="5" name="NEW_SHOW_PEDIGREE_PLACES" value="<?php print $SHOW_PEDIGREE_PLACES; ?>" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" size="5" name="NEW_SHOW_PEDIGREE_PLACES" value="<?php print $SHOW_PEDIGREE_PLACES; ?>" />
</td>
</tr>
<tr>
@@ -1210,7 +1210,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Zoom boxes on charts'), help_link('ZOOM_BOXES'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_ZOOM_BOXES" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_ZOOM_BOXES">
<option value="disabled" <?php if ($ZOOM_BOXES=='disabled') print "selected=\"selected\""; ?>><?php print i18n::translate('Disabled'); ?></option>
<option value="mouseover" <?php if ($ZOOM_BOXES=='mouseover') print "selected=\"selected\""; ?>><?php print i18n::translate('On Mouse Over'); ?></option>
<option value="mousedown" <?php if ($ZOOM_BOXES=='mousedown') print "selected=\"selected\""; ?>><?php print i18n::translate('On Mouse Down'); ?></option>
@@ -1223,7 +1223,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('PopUp links on charts'), help_link('LINK_ICONS'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_LINK_ICONS" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_LINK_ICONS">
<option value="disabled" <?php if ($LINK_ICONS=='disabled') print "selected=\"selected\""; ?>><?php print i18n::translate('Disabled'); ?></option>
<option value="mouseover" <?php if ($LINK_ICONS=='mouseover') print "selected=\"selected\""; ?>><?php print i18n::translate('On Mouse Over'); ?></option>
<option value="click" <?php if ($LINK_ICONS=='click') print "selected=\"selected\""; ?>><?php print i18n::translate('On Mouse Click'); ?></option>
@@ -1240,7 +1240,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Default tab to show on individual page'), help_link('GEDCOM_DEFAULT_TAB'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_default_tab('NEW_GEDCOM_DEFAULT_TAB', get_gedcom_setting(WT_GED_ID, 'GEDCOM_DEFAULT_TAB'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_default_tab('NEW_GEDCOM_DEFAULT_TAB', get_gedcom_setting(WT_GED_ID, 'GEDCOM_DEFAULT_TAB')); ?>
</td>
</tr>
<tr>
@@ -1248,7 +1248,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Automatically expand list of events of close relatives'), help_link('EXPAND_RELATIVES_EVENTS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_EXPAND_RELATIVES_EVENTS', get_gedcom_setting(WT_GED_ID, 'EXPAND_RELATIVES_EVENTS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_EXPAND_RELATIVES_EVENTS', get_gedcom_setting(WT_GED_ID, 'EXPAND_RELATIVES_EVENTS')); ?>
</td>
</tr>
<tr>
@@ -1310,7 +1310,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Place levels to show on lists'), help_link('SHOW_LIST_PLACES'); ?>
</td>
<td class="optionbox width60">
- <input type="text" size="5" name="NEW_SHOW_LIST_PLACES" value="<?php print $SHOW_LIST_PLACES; ?>" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" size="5" name="NEW_SHOW_LIST_PLACES" value="<?php print $SHOW_LIST_PLACES; ?>" />
</td>
</tr>
<tr>
@@ -1318,7 +1318,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Postal code position'), help_link('POSTAL_CODE'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_POSTAL_CODE" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_POSTAL_CODE">
<option value="yes" <?php if ($POSTAL_CODE) print "selected=\"selected\""; ?>><?php print ucfirst(i18n::translate('after')); ?></option>
<option value="no" <?php if (!$POSTAL_CODE) print "selected=\"selected\""; ?>><?php print ucfirst(i18n::translate('before')); ?></option>
</select>
@@ -1339,7 +1339,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Empty boxes on pedigree charts'), help_link('SHOW_EMPTY_BOXES'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_EMPTY_BOXES', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_EMPTY_BOXES, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_EMPTY_BOXES', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_EMPTY_BOXES); ?>
</td>
</tr>
<tr>
@@ -1347,7 +1347,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Abbreviate chart labels'), help_link('ABBREVIATE_CHART_LABELS'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_ABBREVIATE_CHART_LABELS', get_gedcom_setting(WT_GED_ID, 'ABBREVIATE_CHART_LABELS'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_ABBREVIATE_CHART_LABELS', get_gedcom_setting(WT_GED_ID, 'ABBREVIATE_CHART_LABELS')); ?>
</td>
</tr>
<tr>
@@ -1355,7 +1355,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Birth and death details on charts'), help_link('PEDIGREE_FULL_DETAILS'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_PEDIGREE_FULL_DETAILS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $PEDIGREE_FULL_DETAILS, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_PEDIGREE_FULL_DETAILS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $PEDIGREE_FULL_DETAILS); ?>
</td>
</tr>
<tr>
@@ -1363,7 +1363,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Gender icon on charts'), help_link('PEDIGREE_SHOW_GENDER'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_PEDIGREE_SHOW_GENDER', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $PEDIGREE_SHOW_GENDER, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_PEDIGREE_SHOW_GENDER', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $PEDIGREE_SHOW_GENDER); ?>
</td>
</tr>
<tr>
@@ -1371,7 +1371,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Age of parents next to child\'s birthdate'), help_link('SHOW_PARENTS_AGE'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_PARENTS_AGE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_PARENTS_AGE, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_PARENTS_AGE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_PARENTS_AGE); ?>
</td>
</tr>
<tr>
@@ -1379,7 +1379,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('LDS ordinance codes in chart boxes'), help_link('SHOW_LDS_AT_GLANCE'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_LDS_AT_GLANCE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_LDS_AT_GLANCE, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_LDS_AT_GLANCE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_LDS_AT_GLANCE); ?>
</td>
</tr>
<tr>
@@ -1387,7 +1387,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Other facts to show in charts'), help_link('CHART_BOX_TAGS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" size="50" id="NEW_CHART_BOX_TAGS" name="NEW_CHART_BOX_TAGS" value="<?php print $CHART_BOX_TAGS; ?>" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_CHART_BOX_TAGS", $GEDCOM); ?>
+ <input type="text" size="50" id="NEW_CHART_BOX_TAGS" name="NEW_CHART_BOX_TAGS" value="<?php print $CHART_BOX_TAGS; ?>" dir="ltr" /><?php print_findfact_link("NEW_CHART_BOX_TAGS", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1400,7 +1400,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Fact icons'), help_link('SHOW_FACT_ICONS'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_FACT_ICONS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_FACT_ICONS, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_FACT_ICONS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_FACT_ICONS); ?>
</td>
</tr>
<tr>
@@ -1408,7 +1408,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Automatically expand notes'), help_link('EXPAND_NOTES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_EXPAND_NOTES', get_gedcom_setting(WT_GED_ID, 'EXPAND_NOTES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_EXPAND_NOTES', get_gedcom_setting(WT_GED_ID, 'EXPAND_NOTES')); ?>
</td>
</tr>
<tr>
@@ -1416,7 +1416,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Automatically expand sources'), help_link('EXPAND_SOURCES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_EXPAND_SOURCES', get_gedcom_setting(WT_GED_ID, 'EXPAND_SOURCES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_EXPAND_SOURCES', get_gedcom_setting(WT_GED_ID, 'EXPAND_SOURCES')); ?>
</td>
</tr>
<tr>
@@ -1424,7 +1424,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Show all notes and source references on notes and sources tabs'), help_link('SHOW_LEVEL2_NOTES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_LEVEL2_NOTES', get_gedcom_setting(WT_GED_ID, 'SHOW_LEVEL2_NOTES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_LEVEL2_NOTES', get_gedcom_setting(WT_GED_ID, 'SHOW_LEVEL2_NOTES')); ?>
</td>
</tr>
<tr>
@@ -1432,7 +1432,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Date differences'), help_link('SHOW_AGE_DIFF'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_AGE_DIFF', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_AGE_DIFF, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_AGE_DIFF', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_AGE_DIFF); ?>
</td>
</tr>
<tr>
@@ -1440,7 +1440,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Estimated dates for birth and death'), help_link('SHOW_EST_LIST_DATES'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_EST_LIST_DATES', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), get_gedcom_setting(WT_GED_ID, 'SHOW_EST_LIST_DATES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_EST_LIST_DATES', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), get_gedcom_setting(WT_GED_ID, 'SHOW_EST_LIST_DATES')); ?>
</td>
</tr>
<tr>
@@ -1453,7 +1453,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Allow users to see raw GEDCOM records'), help_link('SHOW_GEDCOM_RECORD'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SHOW_GEDCOM_RECORD', get_gedcom_setting(WT_GED_ID, 'SHOW_GEDCOM_RECORD'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SHOW_GEDCOM_RECORD', get_gedcom_setting(WT_GED_ID, 'SHOW_GEDCOM_RECORD')); ?>
</td>
</tr>
<tr>
@@ -1461,7 +1461,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('GEDCOM errors'), help_link('HIDE_GEDCOM_ERRORS'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_HIDE_GEDCOM_ERRORS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $HIDE_GEDCOM_ERRORS, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_HIDE_GEDCOM_ERRORS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $HIDE_GEDCOM_ERRORS); ?>
</td>
</tr>
<tr>
@@ -1469,7 +1469,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Hit counters'), help_link('SHOW_COUNTER'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_COUNTER', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_COUNTER, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_COUNTER', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_COUNTER); ?>
</td>
</tr>
<tr>
@@ -1477,7 +1477,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Spider tagline'), help_link('SHOW_SPIDER_TAGLINE'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_SPIDER_TAGLINE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_SPIDER_TAGLINE, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_SPIDER_TAGLINE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_SPIDER_TAGLINE); ?>
</td>
</tr>
<tr>
@@ -1485,7 +1485,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Execution statistics'), help_link('SHOW_STATS'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_STATS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_STATS, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_STATS', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_STATS); ?>
</td>
</tr>
<tr>
@@ -1493,7 +1493,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('GEDCOM record last change date on lists'), help_link('SHOW_LAST_CHANGE'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_SHOW_LAST_CHANGE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_LAST_CHANGE, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_SHOW_LAST_CHANGE', array(false=>i18n::translate('hide'),true=>i18n::translate('show')), $SHOW_LAST_CHANGE); ?>
</td>
</tr>
</table>
@@ -1505,7 +1505,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<td class="descriptionbox nowrap">
<?php echo i18n::translate('Online editing'), help_link('ALLOW_EDIT_GEDCOM'); ?>
</td>
- <td class="optionbox width60"><?php echo radio_buttons('NEW_ALLOW_EDIT_GEDCOM', array(false=>i18n::translate('disable'),true=>i18n::translate('enable')), $ALLOW_EDIT_GEDCOM, 'tabindex="'.(++$i).'"'); ?>
+ <td class="optionbox width60"><?php echo radio_buttons('NEW_ALLOW_EDIT_GEDCOM', array(false=>i18n::translate('disable'),true=>i18n::translate('enable')), $ALLOW_EDIT_GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1518,7 +1518,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('All facts'), help_link('INDI_FACTS_ADD'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_INDI_FACTS_ADD" name="NEW_INDI_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_ADD'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_INDI_FACTS_ADD", $GEDCOM); ?>
+ <input type="text" id="NEW_INDI_FACTS_ADD" name="NEW_INDI_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_ADD'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_INDI_FACTS_ADD", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1526,7 +1526,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Unique facts'), help_link('INDI_FACTS_UNIQUE'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_INDI_FACTS_UNIQUE" name="NEW_INDI_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_UNIQUE'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_INDI_FACTS_UNIQUE", $GEDCOM); ?>
+ <input type="text" id="NEW_INDI_FACTS_UNIQUE" name="NEW_INDI_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_UNIQUE'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_INDI_FACTS_UNIQUE", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1534,7 +1534,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('New entry facts'), help_link('QUICK_REQUIRED_FACTS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_QUICK_REQUIRED_FACTS" name="NEW_QUICK_REQUIRED_FACTS" value="<?php print $QUICK_REQUIRED_FACTS; ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_QUICK_REQUIRED_FACTS", $GEDCOM); ?>
+ <input type="text" id="NEW_QUICK_REQUIRED_FACTS" name="NEW_QUICK_REQUIRED_FACTS" value="<?php print $QUICK_REQUIRED_FACTS; ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_QUICK_REQUIRED_FACTS", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1542,7 +1542,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Quick facts'), help_link('INDI_FACTS_QUICK'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_INDI_FACTS_QUICK" name="NEW_INDI_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_QUICK'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_INDI_FACTS_QUICK", $GEDCOM); ?>
+ <input type="text" id="NEW_INDI_FACTS_QUICK" name="NEW_INDI_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'INDI_FACTS_QUICK'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_INDI_FACTS_QUICK", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1555,7 +1555,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('All facts'), help_link('FAM_FACTS_ADD'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_FAM_FACTS_ADD" name="NEW_FAM_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_ADD'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_FAM_FACTS_ADD", $GEDCOM); ?>
+ <input type="text" id="NEW_FAM_FACTS_ADD" name="NEW_FAM_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_ADD'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_FAM_FACTS_ADD", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1563,7 +1563,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Unique facts'), help_link('FAM_FACTS_UNIQUE'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_FAM_FACTS_UNIQUE" name="NEW_FAM_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_UNIQUE'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_FAM_FACTS_UNIQUE", $GEDCOM); ?>
+ <input type="text" id="NEW_FAM_FACTS_UNIQUE" name="NEW_FAM_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_UNIQUE'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_FAM_FACTS_UNIQUE", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1571,7 +1571,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('New entry facts'), help_link('QUICK_REQUIRED_FAMFACTS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_QUICK_REQUIRED_FAMFACTS" name="NEW_QUICK_REQUIRED_FAMFACTS" value="<?php print $QUICK_REQUIRED_FAMFACTS; ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_QUICK_REQUIRED_FAMFACTS", $GEDCOM); ?>
+ <input type="text" id="NEW_QUICK_REQUIRED_FAMFACTS" name="NEW_QUICK_REQUIRED_FAMFACTS" value="<?php print $QUICK_REQUIRED_FAMFACTS; ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_QUICK_REQUIRED_FAMFACTS", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1579,7 +1579,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Quick facts'), help_link('FAM_FACTS_QUICK'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_FAM_FACTS_QUICK" name="NEW_FAM_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_QUICK'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_FAM_FACTS_QUICK", $GEDCOM); ?>
+ <input type="text" id="NEW_FAM_FACTS_QUICK" name="NEW_FAM_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'FAM_FACTS_QUICK'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_FAM_FACTS_QUICK", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1592,7 +1592,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('All facts'), help_link('SOUR_FACTS_ADD'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_SOUR_FACTS_ADD" name="NEW_SOUR_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'SOUR_FACTS_ADD'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_SOUR_FACTS_ADD", $GEDCOM); ?>
+ <input type="text" id="NEW_SOUR_FACTS_ADD" name="NEW_SOUR_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'SOUR_FACTS_ADD'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_SOUR_FACTS_ADD", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1600,7 +1600,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Unique facts'), help_link('SOUR_FACTS_UNIQUE'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_SOUR_FACTS_UNIQUE" name="NEW_SOUR_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'SOUR_FACTS_UNIQUE'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_SOUR_FACTS_UNIQUE", $GEDCOM); ?>
+ <input type="text" id="NEW_SOUR_FACTS_UNIQUE" name="NEW_SOUR_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'SOUR_FACTS_UNIQUE'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_SOUR_FACTS_UNIQUE", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1608,7 +1608,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Quick facts'), help_link('SOUR_FACTS_QUICK'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_SOUR_FACTS_QUICK" name="NEW_SOUR_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'SOUR_FACTS_QUICK'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_SOUR_FACTS_QUICK", $GEDCOM); ?>
+ <input type="text" id="NEW_SOUR_FACTS_QUICK" name="NEW_SOUR_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'SOUR_FACTS_QUICK'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_SOUR_FACTS_QUICK", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1621,7 +1621,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('All facts'), help_link('REPO_FACTS_ADD'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_REPO_FACTS_ADD" name="NEW_REPO_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'REPO_FACTS_ADD'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_REPO_FACTS_ADD", $GEDCOM); ?>
+ <input type="text" id="NEW_REPO_FACTS_ADD" name="NEW_REPO_FACTS_ADD" value="<?php echo get_gedcom_setting(WT_GED_ID, 'REPO_FACTS_ADD'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_REPO_FACTS_ADD", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1629,7 +1629,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Unique facts'), help_link('REPO_FACTS_UNIQUE'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_REPO_FACTS_UNIQUE" name="NEW_REPO_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'REPO_FACTS_UNIQUE'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_REPO_FACTS_UNIQUE", $GEDCOM); ?>
+ <input type="text" id="NEW_REPO_FACTS_UNIQUE" name="NEW_REPO_FACTS_UNIQUE" value="<?php echo get_gedcom_setting(WT_GED_ID, 'REPO_FACTS_UNIQUE'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_REPO_FACTS_UNIQUE", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1637,7 +1637,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Quick facts'), help_link('REPO_FACTS_QUICK'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_REPO_FACTS_QUICK" name="NEW_REPO_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'REPO_FACTS_QUICK'); ?>" size="60" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_REPO_FACTS_QUICK", $GEDCOM); ?>
+ <input type="text" id="NEW_REPO_FACTS_QUICK" name="NEW_REPO_FACTS_QUICK" value="<?php echo get_gedcom_setting(WT_GED_ID, 'REPO_FACTS_QUICK'); ?>" size="60" dir="ltr" /><?php print_findfact_link("NEW_REPO_FACTS_QUICK", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1650,7 +1650,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Advanced name facts'), help_link('ADVANCED_NAME_FACTS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_ADVANCED_NAME_FACTS" name="NEW_ADVANCED_NAME_FACTS" value="<?php print $ADVANCED_NAME_FACTS; ?>" size="40" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_ADVANCED_NAME_FACTS", $GEDCOM); ?>
+ <input type="text" id="NEW_ADVANCED_NAME_FACTS" name="NEW_ADVANCED_NAME_FACTS" value="<?php print $ADVANCED_NAME_FACTS; ?>" size="40" dir="ltr" /><?php print_findfact_link("NEW_ADVANCED_NAME_FACTS", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1658,7 +1658,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Advanced place name facts'), help_link('ADVANCED_PLAC_FACTS'); ?>
</td>
<td class="optionbox width60">
- <input type="text" id="NEW_ADVANCED_PLAC_FACTS" name="NEW_ADVANCED_PLAC_FACTS" value="<?php print $ADVANCED_PLAC_FACTS; ?>" size="40" dir="ltr" tabindex="<?php echo ++$i; ?>" /><?php print_findfact_link("NEW_ADVANCED_PLAC_FACTS", $GEDCOM); ?>
+ <input type="text" id="NEW_ADVANCED_PLAC_FACTS" name="NEW_ADVANCED_PLAC_FACTS" value="<?php print $ADVANCED_PLAC_FACTS; ?>" size="40" dir="ltr" /><?php print_findfact_link("NEW_ADVANCED_PLAC_FACTS", $GEDCOM); ?>
</td>
</tr>
<tr>
@@ -1671,7 +1671,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Split places in edit mode'), help_link('SPLIT_PLACES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_SPLIT_PLACES', get_gedcom_setting(WT_GED_ID, 'SPLIT_PLACES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_SPLIT_PLACES', get_gedcom_setting(WT_GED_ID, 'SPLIT_PLACES')); ?>
</td>
</tr>
<tr>
@@ -1679,7 +1679,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Surname tradition'), help_link('SURNAME_TRADITION'); ?>
</td>
<td class="optionbox width60">
- <?php echo select_edit_control('NEW_SURNAME_TRADITION', array('paternal'=>i18n::translate_c('Surname tradition', 'paternal'), 'spanish'=>i18n::translate_c('Surname tradition', 'Spanish'), 'portuguese'=>i18n::translate_c('Surname tradition', 'Portuguese'), 'icelandic'=>i18n::translate_c('Surname tradition', 'Icelandic'), 'polish'=>i18n::translate_c('Surname tradition', 'Polish'), 'none'=>i18n::translate_c('Surname tradition', 'none')), null, get_gedcom_setting(WT_GED_ID, 'SURNAME_TRADITION'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo select_edit_control('NEW_SURNAME_TRADITION', array('paternal'=>i18n::translate_c('Surname tradition', 'paternal'), 'spanish'=>i18n::translate_c('Surname tradition', 'Spanish'), 'portuguese'=>i18n::translate_c('Surname tradition', 'Portuguese'), 'icelandic'=>i18n::translate_c('Surname tradition', 'Icelandic'), 'polish'=>i18n::translate_c('Surname tradition', 'Polish'), 'none'=>i18n::translate_c('Surname tradition', 'none')), null, get_gedcom_setting(WT_GED_ID, 'SURNAME_TRADITION')); ?>
</td>
</tr>
<tr>
@@ -1687,7 +1687,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use full source citations'), help_link('FULL_SOURCES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_FULL_SOURCES', get_gedcom_setting(WT_GED_ID, 'FULL_SOURCES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_FULL_SOURCES', get_gedcom_setting(WT_GED_ID, 'FULL_SOURCES')); ?>
</td>
</tr>
<tr>
@@ -1695,7 +1695,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Source type'), help_link('PREFER_LEVEL2_SOURCES'); ?>
</td>
<td class="optionbox width60">
- <?php echo select_edit_control('NEW_PREFER_LEVEL2_SOURCES', array(0=>i18n::translate('none'), 1=>i18n::translate('facts'), 2=>i18n::translate('records')), null, get_gedcom_setting(WT_GED_ID, 'PREFER_LEVEL2_SOURCES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo select_edit_control('NEW_PREFER_LEVEL2_SOURCES', array(0=>i18n::translate('none'), 1=>i18n::translate('facts'), 2=>i18n::translate('records')), null, get_gedcom_setting(WT_GED_ID, 'PREFER_LEVEL2_SOURCES')); ?>
</td>
</tr>
<tr>
@@ -1703,7 +1703,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Autocomplete'), help_link('ENABLE_AUTOCOMPLETE'); ?>
</td>
<td class="optionbox width60">
- <?php echo radio_buttons('NEW_ENABLE_AUTOCOMPLETE', array(false=>i18n::translate('disable'),true=>i18n::translate('enable')), get_gedcom_setting(WT_GED_ID, 'ENABLE_AUTOCOMPLETE'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo radio_buttons('NEW_ENABLE_AUTOCOMPLETE', array(false=>i18n::translate('disable'),true=>i18n::translate('enable')), get_gedcom_setting(WT_GED_ID, 'ENABLE_AUTOCOMPLETE')); ?>
</td>
</tr>
<tr>
@@ -1711,7 +1711,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Use GeoNames database for autocomplete on places'), help_link('USE_GEONAMES'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_USE_GEONAMES', get_gedcom_setting(WT_GED_ID, 'USE_GEONAMES'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_USE_GEONAMES', get_gedcom_setting(WT_GED_ID, 'USE_GEONAMES')); ?>
</td>
</tr>
<tr>
@@ -1719,7 +1719,7 @@ print_header(i18n::translate('GEDCOM configuration'));
<?php echo i18n::translate('Do not update the CHAN (Last Change) record'), help_link('no_update_CHAN'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_NO_UPDATE_CHAN', get_gedcom_setting(WT_GED_ID, 'NO_UPDATE_CHAN'), 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_NO_UPDATE_CHAN', get_gedcom_setting(WT_GED_ID, 'NO_UPDATE_CHAN')); ?>
</td>
</tr>
</table>
@@ -1731,9 +1731,9 @@ print_header(i18n::translate('GEDCOM configuration'));
<table class="facts_table" border="0">
<tr>
<td style="padding: 5px" class="topbottombar">
- <input type="submit" tabindex="<?php echo ++$i; ?>" value="<?php print i18n::translate('Save configuration'); ?>" />
+ <input type="submit" value="<?php print i18n::translate('Save configuration'); ?>" />
&nbsp;&nbsp;
- <input type="reset" tabindex="<?php echo ++$i; ?>" value="<?php print i18n::translate('Reset'); ?>" />
+ <input type="reset" value="<?php print i18n::translate('Reset'); ?>" />
</td>
</tr>
</table>
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php
index f20456bf6e..838335b3fe 100644
--- a/includes/functions/functions_edit.php
+++ b/includes/functions/functions_edit.php
@@ -45,7 +45,7 @@ require_once WT_ROOT.'includes/functions/functions_import.php';
// $empty - if not null, then add an entry ""=>$empty
// $selected - the currently selected item (if any)
// $extra - extra markup for field (e.g. tab key sequence)
-function select_edit_control($name, $values, $empty, $selected, $extra) {
+function select_edit_control($name, $values, $empty, $selected, $extra='') {
if (is_null($empty)) {
$html='';
} else {
@@ -74,7 +74,7 @@ function select_edit_control($name, $values, $empty, $selected, $extra) {
// $values - array of value=>display items
// $selected - the currently selected item (if any)
// $extra - extra markup for field (e.g. tab key sequence)
-function radio_buttons($name, $values, $selected, $extra) {
+function radio_buttons($name, $values, $selected, $extra='') {
$html='';
foreach ($values as $key=>$value) {
$uniqueID = $name.floor(microtime() * 1000000);
diff --git a/includes/functions/functions_mediadb.php b/includes/functions/functions_mediadb.php
index e73293d2b7..ddd611dec7 100644
--- a/includes/functions/functions_mediadb.php
+++ b/includes/functions/functions_mediadb.php
@@ -1035,10 +1035,9 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
echo '<tr><td class="topbottombar" colspan="2">';
echo i18n::translate('Upload media files'), '<br />', i18n::translate('Maximum upload size: '), $filesize;
echo '</td></tr>';
- $tab = 1;
// Print the Submit button for uploading the media
echo '<tr><td class="topbottombar" colspan="2">';
- echo '<input type="submit" value="', i18n::translate('Upload'), '" tabindex="', $tab++, '" />';
+ echo '<input type="submit" value="', i18n::translate('Upload'), '" />';
echo '</td></tr>';
// Print 5 forms for uploading images
@@ -1047,7 +1046,7 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
echo i18n::translate('Media file to upload'), help_link('upload_media_file');
echo '</td>';
echo '<td class="optionbox ', $TEXT_DIRECTION, ' wrap">';
- echo '<input name="mediafile', $i, '" type="file" size="40" tabindex="', $tab++, '" />';
+ echo '<input name="mediafile', $i, '" type="file" size="40" />';
if ($i==1) echo '<br /><sub>', i18n::translate('Use the &laquo;Browse&raquo; button to search your local computer for the desired file.'), '</sub>';
echo '</td></tr>';
@@ -1055,7 +1054,7 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
echo '<tr><td class="descriptionbox ', $TEXT_DIRECTION, ' wrap width25">';
echo i18n::translate('Automatic thumbnail'), help_link('generate_thumb');
echo '</td><td class="optionbox ', $TEXT_DIRECTION, ' wrap">';
- echo '<input type="checkbox" name="genthumb', $i, '" value="yes" checked="checked" tabindex="', $tab++, '" />';
+ echo '<input type="checkbox" name="genthumb', $i, '" value="yes" checked="checked" />';
echo '&nbsp;&nbsp;&nbsp;', i18n::translate('Generate thumbnail automatically from '), $thumbSupport;
echo '</td></tr>';
}
@@ -1064,7 +1063,7 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
echo i18n::translate('Thumbnail to upload'), help_link('upload_thumbnail_file');
echo '</td>';
echo '<td class="optionbox ', $TEXT_DIRECTION, ' wrap">';
- echo '<input name="thumbnail', $i, '" type="file" tabindex="', $tab++, '" size="40" />';
+ echo '<input name="thumbnail', $i, '" type="file" size="40" />';
if ($i==1) echo '<br /><sub>', i18n::translate('Use the &laquo;Browse&raquo; button to search your local computer for the desired file.'), '</sub>';
echo '</td></tr>';
@@ -1073,7 +1072,7 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
echo i18n::translate('File name on server'), help_link('upload_server_file');
echo '</td>';
echo '<td class="optionbox ', $TEXT_DIRECTION, ' wrap">';
- echo '<input name="filename', $i, '" type="text" tabindex="', $tab++, '" size="40" />';
+ echo '<input name="filename', $i, '" type="text" size="40" />';
if ($i==1) echo "<br /><sub>", i18n::translate('Do not change to keep original file name.'), "</sub>";
echo '</td></tr>';
} else {
@@ -1101,7 +1100,7 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
}
print "</select></span>\n";
if (WT_USER_IS_ADMIN) {
- echo '<br /><span dir="ltr"><input name="folder', $i, '" type="text" size="40" value="" tabindex="', $tab++, '" onblur="checkpath(this)" /></span>';
+ echo '<br /><span dir="ltr"><input name="folder', $i, '" type="text" size="40" value="" onblur="checkpath(this)" /></span>';
if ($i==1) echo '<br /><sub>', i18n::translate('You can enter up to %s folder names to follow the default &laquo;%s&raquo;.<br />Do not enter the &laquo;%s&raquo; part of the destination folder name.', $MEDIA_DIRECTORY_LEVELS, $MEDIA_DIRECTORY, $MEDIA_DIRECTORY), '</sub>';
} else echo '<input name="folder', $i, '" type="hidden" value="" />';
echo '</td></tr>';
@@ -1116,7 +1115,7 @@ function show_mediaUpload_form($URL='media.php', $showthumb=false) {
// Print the Submit button for uploading the media
echo '<tr><td class="topbottombar" colspan="2">';
- echo '<input type="submit" value="', i18n::translate('Upload'), '" tabindex="', $tab++, '" />';
+ echo '<input type="submit" value="', i18n::translate('Upload'), '" />';
echo '</td></tr>';
echo '</table></form>';
diff --git a/includes/functions/functions_places.php b/includes/functions/functions_places.php
index f1e88d7887..c0549388d6 100644
--- a/includes/functions/functions_places.php
+++ b/includes/functions/functions_places.php
@@ -323,7 +323,6 @@ function print_place_subfields($element_id) {
}
print "</small><br />";
print "<input type=\"text\" id=\"".$subtagid."\" name=\"".$subtagname."\" value=\"\" size=\"".$cols."\"";
- print " tabindex=\"".($i+1)."\" ";
print " onblur=\"updatewholeplace('".$element_id."'); splitplace('".$element_id."');\" ";
print " onchange=\"updatewholeplace('".$element_id."'); splitplace('".$element_id."');\" ";
print " onmouseout=\"updatewholeplace('".$element_id."'); splitplace('".$element_id."');\" ";
diff --git a/modules/googlemap/editconfig.php b/modules/googlemap/editconfig.php
index 8a760320c4..817cc8db63 100644
--- a/modules/googlemap/editconfig.php
+++ b/modules/googlemap/editconfig.php
@@ -39,7 +39,7 @@ require WT_ROOT.'includes/functions/functions_edit.php';
$action=safe_REQUEST($_REQUEST, 'action');
-function print_level_config_table($level, $i) {
+function print_level_config_table($level) {
global $GM_MARKER_COLOR, $GM_MARKER_SIZE, $GM_PREFIX;
global $GM_POSTFIX, $GM_PRE_POST_MODE, $GM_MAX_NOF_LEVELS;
?>
@@ -55,7 +55,7 @@ function print_level_config_table($level, $i) {
<?php echo i18n::translate('Prefix'), help_link('GM_NAME_PREFIX','googlemap'); ?>
</td>
<td>
- <input type="text" name="NEW_GM_PREFIX_<?php echo $level;?>" value="<?php echo $GM_PREFIX[$level];?>" size="20" tabindex="<?php echo $i; ?>" />
+ <input type="text" name="NEW_GM_PREFIX_<?php echo $level;?>" value="<?php echo $GM_PREFIX[$level];?>" size="20" />
</td>
</tr>
<tr>
@@ -63,7 +63,7 @@ function print_level_config_table($level, $i) {
<?php echo i18n::translate('Postfix'), help_link('GM_NAME_POSTFIX','googlemap'); ?>
</td>
<td>
- <input type="text" name="NEW_GM_POSTFIX_<?php echo $level;?>" value="<?php echo $GM_POSTFIX[$level];?>" size="20" tabindex="<?php echo $i; ?>" />
+ <input type="text" name="NEW_GM_POSTFIX_<?php echo $level;?>" value="<?php echo $GM_POSTFIX[$level];?>" size="20" />
</td>
</tr>
<tr>
@@ -71,7 +71,7 @@ function print_level_config_table($level, $i) {
<?php echo i18n::translate('Prefix / Postfix order'), help_link('GM_NAME_PRE_POST','googlemap'); ?>
</td>
<td>
- <select name="NEW_GM_PRE_POST_MODE_<?php echo $level;?>" dir="ltr" tabindex="<?php echo $i; ?>" onchange="showSelectedLevels()">
+ <select name="NEW_GM_PRE_POST_MODE_<?php echo $level;?>" dir="ltr" onchange="showSelectedLevels()">
<option value="0"<?php if ($GM_PRE_POST_MODE[$level] == 0) echo ' selected="selected"';?>><?php echo i18n::translate('No pre/postfix');?></option>
<option value="1"<?php if ($GM_PRE_POST_MODE[$level] == 1) echo ' selected="selected"';?>><?php echo i18n::translate('Normal, prefix, postfix, both');?></option>
<option value="2"<?php if ($GM_PRE_POST_MODE[$level] == 2) echo ' selected="selected"';?>><?php echo i18n::translate('Normal, postfix, prefix, both');?></option>
@@ -137,8 +137,6 @@ if ($action=="update" && !isset($security_user)) {
require WT_ROOT.'modules/googlemap/defaultconfig.php';
}
-$i = 0;
-
?>
<script language="JavaScript" type="text/javascript">
<!--
@@ -202,7 +200,7 @@ $i = 0;
<?php echo i18n::translate('Enable GoogleMap'), help_link('GOOGLEMAP_ENABLE','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_ENABLE', $GOOGLEMAP_ENABLED, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_ENABLE', $GOOGLEMAP_ENABLED); ?>
</td>
</tr>
<tr>
@@ -210,7 +208,7 @@ $i = 0;
<?php echo i18n::translate('GoogleMap API key'), help_link('GOOGLEMAP_API_KEY','googlemap'); ?>
</td>
<td class="optionbox width60">
- <input type="text" name="NEW_GM_API_KEY" value="<?php echo $GOOGLEMAP_API_KEY;?>" size="60" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_GM_API_KEY" value="<?php echo $GOOGLEMAP_API_KEY;?>" size="60" />
</td>
</tr>
<tr>
@@ -218,7 +216,7 @@ $i = 0;
<?php echo i18n::translate('Default map type'), help_link('GOOGLEMAP_MAP_TYPE','googlemap'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_GM_MAP_TYPE" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_GM_MAP_TYPE">
<option value="G_NORMAL_MAP" <?php if ($GOOGLEMAP_MAP_TYPE=="G_NORMAL_MAP") echo "selected=\"selected\""; ?>><?php echo i18n::translate('Map');?></option>
<option value="G_SATELLITE_MAP" <?php if ($GOOGLEMAP_MAP_TYPE=="G_SATELLITE_MAP") echo "selected=\"selected\""; ?>><?php echo i18n::translate('Satellite');?></option>
<option value="G_HYBRID_MAP" <?php if ($GOOGLEMAP_MAP_TYPE=="G_HYBRID_MAP") echo "selected=\"selected\""; ?>><?php echo i18n::translate('Hybrid');?></option>
@@ -232,9 +230,9 @@ $i = 0;
</td>
<td class="optionbox width60">
<?php echo i18n::translate('Width'); ?>
- <input type="text" name="NEW_GM_XSIZE" value="<?php echo $GOOGLEMAP_XSIZE;?>" size="10" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_GM_XSIZE" value="<?php echo $GOOGLEMAP_XSIZE;?>" size="10" />
<?php echo i18n::translate('Height'); ?>
- <input type="text" name="NEW_GM_YSIZE" value="<?php echo $GOOGLEMAP_YSIZE;?>" size="10" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_GM_YSIZE" value="<?php echo $GOOGLEMAP_YSIZE;?>" size="10" />
</td>
</tr>
<tr>
@@ -242,7 +240,7 @@ $i = 0;
<?php echo i18n::translate('Use Googlemap for Place Hierarchy'), help_link('GOOGLEMAP_PH','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_PLACE_HIERARCHY', $GOOGLEMAP_PLACE_HIERARCHY, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_PLACE_HIERARCHY', $GOOGLEMAP_PLACE_HIERARCHY); ?>
</td>
</tr>
<tr>
@@ -251,9 +249,9 @@ $i = 0;
</td>
<td class="optionbox width60">
<?php echo i18n::translate('Width'); ?>
- <input type="text" name="NEW_GM_PH_XSIZE" value="<?php echo $GOOGLEMAP_PH_XSIZE;?>" size="10" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_GM_PH_XSIZE" value="<?php echo $GOOGLEMAP_PH_XSIZE;?>" size="10" />
<?php echo i18n::translate('Height'); ?>
- <input type="text" name="NEW_GM_PH_YSIZE" value="<?php echo $GOOGLEMAP_PH_YSIZE;?>" size="10" tabindex="<?php echo ++$i; ?>" />
+ <input type="text" name="NEW_GM_PH_YSIZE" value="<?php echo $GOOGLEMAP_PH_YSIZE;?>" size="10" />
</td>
</tr>
<tr>
@@ -261,7 +259,7 @@ $i = 0;
<?php echo i18n::translate('Type of place markers in Place Hierarchy'), help_link('GOOGLEMAP_PH_MARKER','googlemap'); ?>
</td>
<td class="optionbox width60">
- <select name="NEW_GM_PH_MARKER" tabindex="<?php echo ++$i; ?>">
+ <select name="NEW_GM_PH_MARKER">
<option value="G_DEFAULT_ICON" <?php if ($GOOGLEMAP_PH_MARKER=="G_DEFAULT_ICON") echo "selected=\"selected\""; ?>><?php echo i18n::translate('Standard');?></option>
<option value="G_FLAG" <?php if ($GOOGLEMAP_PH_MARKER=="G_FLAG") echo "selected=\"selected\""; ?>><?php echo i18n::translate('Flag');?></option>
</select>
@@ -272,7 +270,7 @@ $i = 0;
<?php echo i18n::translate('Display short placenames'), help_link('GM_DISP_SHORT_PLACE','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_DISP_SHORT_PLACE', $GM_DISP_SHORT_PLACE, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_DISP_SHORT_PLACE', $GM_DISP_SHORT_PLACE); ?>
</td>
</tr>
<tr>
@@ -280,7 +278,7 @@ $i = 0;
<?php echo i18n::translate('Display indis and families count'), help_link('GM_DISP_COUNT','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_DISP_COUNT', $GM_DISP_COUNT, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_DISP_COUNT', $GM_DISP_COUNT); ?>
</td>
</tr>
<tr>
@@ -288,7 +286,7 @@ $i = 0;
<?php echo i18n::translate('Use mouse wheel for zoom'), help_link('GOOGLEMAP_PH_WHEEL','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_PH_WHEEL', $GOOGLEMAP_PH_WHEEL, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_PH_WHEEL', $GOOGLEMAP_PH_WHEEL); ?>
</td>
</tr>
<tr>
@@ -296,7 +294,7 @@ $i = 0;
<?php echo i18n::translate('Hide map controls'), help_link('GOOGLEMAP_PH_CONTROLS','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_PH_CONTROLS', $GOOGLEMAP_PH_CONTROLS, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_PH_CONTROLS', $GOOGLEMAP_PH_CONTROLS); ?>
</td>
</tr>
<tr>
@@ -304,7 +302,7 @@ $i = 0;
<?php echo i18n::translate('Display Map Co-ordinates'), help_link('GOOGLEMAP_COORD','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo edit_field_yes_no('NEW_GM_COORD', $GOOGLEMAP_COORD, 'tabindex="'.(++$i).'"'); ?>
+ <?php echo edit_field_yes_no('NEW_GM_COORD', $GOOGLEMAP_COORD); ?>
</td>
</tr>
<tr>
@@ -312,12 +310,12 @@ $i = 0;
<?php echo i18n::translate('Zoom factor of map'), help_link('GOOGLEMAP_MAP_ZOOM','googlemap'); ?>
</td>
<td class="optionbox width60">
- <?php echo i18n::translate('minimum');?>: <select name="NEW_GM_MIN_ZOOM" tabindex="<?php echo ++$i; ?>">
+ <?php echo i18n::translate('minimum');?>: <select name="NEW_GM_MIN_ZOOM">
<?php for ($j=1; $j < 15; $j++) { ?>
<option value="<?php echo $j, "\""; if ($GOOGLEMAP_MIN_ZOOM==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
</select>
- <?php echo i18n::translate('maximum');?>: <select name="NEW_GM_MAX_ZOOM" tabindex="<?php echo ++$i; ?>">
+ <?php echo i18n::translate('maximum');?>: <select name="NEW_GM_MAX_ZOOM">
<?php for ($j=1; $j < 15; $j++) { ?>
<option value="<?php echo $j, "\""; if ($GOOGLEMAP_MAX_ZOOM==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -332,7 +330,7 @@ $i = 0;
<table>
<tr>
<td><?php echo i18n::translate('Country');?>&nbsp;&nbsp;</td>
- <td><select name="NEW_GM_PRECISION_0" tabindex="<?php echo ++$i; ?>">
+ <td><select name="NEW_GM_PRECISION_0">
<?php for ($j=0; $j < 10; $j++) { ?>
<option value="<?php echo $j;?>"<?php if ($GOOGLEMAP_PRECISION_0==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -341,7 +339,7 @@ $i = 0;
</tr>
<tr>
<td><?php echo i18n::translate('State');?>&nbsp;&nbsp;</td>
- <td><select name="NEW_GM_PRECISION_1" tabindex="<?php echo ++$i; ?>">
+ <td><select name="NEW_GM_PRECISION_1">
<?php for ($j=0; $j < 10; $j++) { ?>
<option value="<?php echo $j;?>"<?php if ($GOOGLEMAP_PRECISION_1==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -350,7 +348,7 @@ $i = 0;
</tr>
<tr>
<td><?php echo i18n::translate('City');?>&nbsp;&nbsp;</td>
- <td><select name="NEW_GM_PRECISION_2" tabindex="<?php echo ++$i; ?>">
+ <td><select name="NEW_GM_PRECISION_2">
<?php for ($j=0; $j < 10; $j++) { ?>
<option value="<?php echo $j;?>"<?php if ($GOOGLEMAP_PRECISION_2==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -358,7 +356,7 @@ $i = 0;
</td>
</tr>
<tr><td><?php echo i18n::translate('Neighborhood');?>&nbsp;&nbsp;</td>
- <td><select name="NEW_GM_PRECISION_3" tabindex="<?php echo ++$i; ?>">
+ <td><select name="NEW_GM_PRECISION_3">
<?php for ($j=0; $j < 10; $j++) { ?>
<option value="<?php echo $j;?>"<?php if ($GOOGLEMAP_PRECISION_3==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -366,7 +364,7 @@ $i = 0;
</td>
</tr>
<tr><td><?php echo i18n::translate('House');?>&nbsp;&nbsp;</td>
- <td><select name="NEW_GM_PRECISION_4" tabindex="<?php echo ++$i; ?>">
+ <td><select name="NEW_GM_PRECISION_4">
<?php for ($j=0; $j < 10; $j++) { ?>
<option value="<?php echo $j;?>"<?php if ($GOOGLEMAP_PRECISION_4==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -374,7 +372,7 @@ $i = 0;
</td>
</tr>
<tr><td><?php echo i18n::translate('Max');?>&nbsp;&nbsp;</td>
- <td><select name="NEW_GM_PRECISION_5" tabindex="<?php echo ++$i; ?>">
+ <td><select name="NEW_GM_PRECISION_5">
<?php for ($j=0; $j < 10; $j++) { ?>
<option value="<?php echo $j;?>"<?php if ($GOOGLEMAP_PRECISION_5==$j) echo " selected=\"selected\""; echo ">", $j;?></option>
<?php } ?>
@@ -386,12 +384,12 @@ $i = 0;
</tr>
<tr>
<td class="descriptionbox nowrap"><?php echo i18n::translate('Default top level value'), help_link('GM_DEFAULT_LEVEL_0','googlemap'); ?></td>
- <td class="optionbox width60"><input type="text" name="NEW_GM_DEFAULT_TOP_LEVEL" value="<?php echo $GM_DEFAULT_TOP_VALUE;?>" size="20" tabindex="<?php echo ++$i; ?>" /></td>
+ <td class="optionbox width60"><input type="text" name="NEW_GM_DEFAULT_TOP_LEVEL" value="<?php echo $GM_DEFAULT_TOP_VALUE;?>" size="20" /></td>
</tr>
<tr>
<td class="descriptionbox nowrap"><?php echo i18n::translate('Number of levels'), help_link('GM_NOF_LEVELS','googlemap'); ?></td>
<td class="optionbox width60">
- <select name="NEW_GM_LEVEL_COUNT" dir="ltr" tabindex="<?php echo ++$i; ?>" onchange="showSelectedLevels()">
+ <select name="NEW_GM_LEVEL_COUNT" dir="ltr" onchange="showSelectedLevels()">
<option value="1"<?php if ($GM_MAX_NOF_LEVELS == 1) echo " selected=\"selected\"";?>>1</option>
<option value="2"<?php if ($GM_MAX_NOF_LEVELS == 2) echo " selected=\"selected\"";?>>2</option>
<option value="3"<?php if ($GM_MAX_NOF_LEVELS == 3) echo " selected=\"selected\"";?>>3</option>
@@ -410,15 +408,15 @@ $i = 0;
</td>
<td class="optionbox width60">
<?php
- print_level_config_table(1, ++$i);
- print_level_config_table(2, ++$i);
- print_level_config_table(3, ++$i);
- print_level_config_table(4, ++$i);
- print_level_config_table(5, ++$i);
- print_level_config_table(6, ++$i);
- print_level_config_table(7, ++$i);
- print_level_config_table(8, ++$i);
- print_level_config_table(9, ++$i);
+ print_level_config_table(1);
+ print_level_config_table(2);
+ print_level_config_table(3);
+ print_level_config_table(4);
+ print_level_config_table(5);
+ print_level_config_table(6);
+ print_level_config_table(7);
+ print_level_config_table(8);
+ print_level_config_table(9);
?>
</td>
</tr>
@@ -430,9 +428,9 @@ $i = 0;
</td>
<tr>
<td class="descriptionbox" colspan="2" align="center">
- <input type="submit" tabindex="<?php echo ++$i; ?>" value="<?php echo i18n::translate('Save configuration');?>" onclick="closeHelp();" />
+ <input type="submit" value="<?php echo i18n::translate('Save configuration');?>" onclick="closeHelp();" />
&nbsp;&nbsp;
- <input type="reset" tabindex="<?php echo ++$i; ?>" value="<?php echo i18n::translate('Reset');?>" />
+ <input type="reset" value="<?php echo i18n::translate('Reset');?>" />
</td>
</tr>
</table>
diff --git a/modules/googlemap/flags.php b/modules/googlemap/flags.php
index 7e994a0da3..6b4e19dd7c 100644
--- a/modules/googlemap/flags.php
+++ b/modules/googlemap/flags.php
@@ -156,7 +156,7 @@ else {
<tr>
<td class="optionbox" colspan="4">
<?php echo help_link('PLE_FLAGS','googlemap'); ?>
- <select name="COUNTRYSELECT" dir="ltr" tabindex="0" onchange="selectCountry()">
+ <select name="COUNTRYSELECT" dir="ltr" onchange="selectCountry()">
<option value="Countries"><?php echo i18n::translate('Countries'); ?></option>
<?php foreach ($countryList as $country_key=>$country_name) {
echo "<option value=\"", $country_key, "\"";
@@ -171,13 +171,13 @@ else {
$j = 1;
for ($i = 0; $i < count($flags); $i++) {
if ($countrySelected == "Countries") {
- $tempstr = "<td><input type=\"radio\" dir=\"ltr\" tabindex=\"".($i+1)."\" name=\"FLAGS\" value=\"".$i."\" onchange=\"enableButtons();\"><img src=\"places/flags/".$flags[$i].".gif\" alt=\"".$flags[$i]."\" title=\"";
+ $tempstr = "<td><input type=\"radio\" dir=\"ltr\" name=\"FLAGS\" value=\"".$i."\" onchange=\"enableButtons();\"><img src=\"places/flags/".$flags[$i].".gif\" alt=\"".$flags[$i]."\" title=\"";
if ($flags[$i]!='blank') $tempstr.=i18n::translate($countries[$flags[$i]]);
else $tempstr.=i18n::translate($countries['???']);
echo $tempstr, "\">&nbsp;&nbsp;", $flags[$i], "</input></td>\n";
}
else {
- echo "<td><input type=\"radio\" dir=\"ltr\" tabindex=\"", ($i+1), "\" name=\"FLAGS\" value=\"", $i, "\" onchange=\"enableButtons();\"><img src=\"places/", $countrySelected, "/flags/", $flags[$i], ".gif\">&nbsp;&nbsp;", $flags[$i], "</input></td>\n";
+ echo "<td><input type=\"radio\" dir=\"ltr\" name=\"FLAGS\" value=\"", $i, "\" onchange=\"enableButtons();\"><img src=\"places/", $countrySelected, "/flags/", $flags[$i], ".gif\">&nbsp;&nbsp;", $flags[$i], "</input></td>\n";
}
if ($j == 4) {
echo "</tr><tr>\n";
diff --git a/modules/lightbox/lb_editconfig.php b/modules/lightbox/lb_editconfig.php
index 98528820d6..065eec409c 100644
--- a/modules/lightbox/lb_editconfig.php
+++ b/modules/lightbox/lb_editconfig.php
@@ -73,8 +73,6 @@ if ($action=='update' && !isset($security_user)) {
require WT_ROOT.'modules/lightbox/lb_defaultconfig.php';
}
-$i = 0;
-
?>
<form method="post" name="configform" action="<?php print encode_url("module.php?mod=lightbox&mod_action=lb_editconfig&pid={$pid}"); ?>">
<input type="hidden" name="action" value="update" />
@@ -84,7 +82,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Individual Page - Album Tab Header');?></b><?php echo help_link('lb_al_head_links', $this->getName()); ?><br />&nbsp;&nbsp;&nbsp;&nbsp;<?php print i18n::translate('Link appearance');?></td>
<td class="optionbox">
- <select name="NEW_LB_AL_HEAD_LINKS" tabindex="<?php $i++; print $i?>">
+ <select name="NEW_LB_AL_HEAD_LINKS">
<option value="icon" <?php if ($LB_AL_HEAD_LINKS=="icon") print "selected=\"selected\""; ?>><?php print i18n::translate('Icon');?></option>
<option value="text" <?php if ($LB_AL_HEAD_LINKS=="text") print "selected=\"selected\""; ?>><?php print i18n::translate('Text');?></option>
<option value="both" <?php if ($LB_AL_HEAD_LINKS=="both") print "selected=\"selected\""; ?>><?php print i18n::translate('Both');?></option>
@@ -98,7 +96,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Individual Page - Album Tab Thumbnail - Notes Tooltip');?></b><?php echo help_link('lb_tt_balloon', $this->getName()); ?><br />&nbsp;&nbsp;&nbsp;&nbsp;<?php print i18n::translate('Notes - Tooltip appearance');?></td>
- <td class="optionbox"><select name="NEW_LB_TT_BALLOON" tabindex="<?php $i++; print $i?>">
+ <td class="optionbox"><select name="NEW_LB_TT_BALLOON">
<option value="true" <?php if ($LB_TT_BALLOON=="true") print "selected=\"selected\""; ?>><?php print i18n::translate('Balloon');?></option>
<option value="false" <?php if ($LB_TT_BALLOON=="false") print "selected=\"selected\""; ?>><?php print i18n::translate('Normal');?></option>
</select>
@@ -111,7 +109,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Individual Page - Album Tab Thumbnails');?></b><?php echo help_link('lb_al_thumb_links', $this->getName()); ?><br />&nbsp;&nbsp;&nbsp;&nbsp;<?php print i18n::translate('Link appearance');?></td>
- <td class="optionbox"><select name="NEW_LB_AL_THUMB_LINKS" tabindex="<?php $i++; print $i?>">
+ <td class="optionbox"><select name="NEW_LB_AL_THUMB_LINKS">
<option value="icon" <?php if ($LB_AL_THUMB_LINKS=="icon") print "selected=\"selected\""; ?>><?php print i18n::translate('Icon');?></option>
<option value="text" <?php if ($LB_AL_THUMB_LINKS=="text") print "selected=\"selected\""; ?>><?php print i18n::translate('Text');?></option>
</select>
@@ -124,7 +122,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Slide Show speed');?></b><?php echo help_link('lb_ss_speed', $this->getName()); ?></td>
- <td class="optionbox"><select name="NEW_LB_SS_SPEED" tabindex="<?php $i++; print $i?>">
+ <td class="optionbox"><select name="NEW_LB_SS_SPEED">
<option value= "2" <?php if ($LB_SS_SPEED == 2) print "selected=\"selected\""; ?>><?php print "2";?></option>
<option value= "3" <?php if ($LB_SS_SPEED == 3) print "selected=\"selected\""; ?>><?php print "3";?></option>
<option value= "4" <?php if ($LB_SS_SPEED == 4) print "selected=\"selected\""; ?>><?php print "4";?></option>
@@ -148,7 +146,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Slideshow sound track'); ?></b><?php echo help_link('lb_music_file', $this->getName()); ?><br />&nbsp;&nbsp;&nbsp;&nbsp;<?php print i18n::translate('(mp3 only)'); ?></td>
<td class="optionbox">
- <input type="text" name="NEW_LB_MUSIC_FILE" value="<?php print $LB_MUSIC_FILE;?>" size="60" tabindex="<?php $i++; print $i?>" /><br />
+ <input type="text" name="NEW_LB_MUSIC_FILE" value="<?php print $LB_MUSIC_FILE;?>" size="60" /><br />
<?php print i18n::translate('Location of sound track file (Leave blank for no sound track)');?>
</td>
</tr>
@@ -157,7 +155,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Image Transition speed');?></b><?php echo help_link('lb_transition', $this->getName()); ?></td>
- <td class="optionbox"><select name="NEW_LB_TRANSITION" tabindex="<?php $i++; print $i?>">
+ <td class="optionbox"><select name="NEW_LB_TRANSITION">
<option value="none" <?php if ($LB_TRANSITION=="none") print "selected=\"selected\""; ?>><?php print i18n::translate('None');?></option>
<option value="normal" <?php if ($LB_TRANSITION=="normal") print "selected=\"selected\""; ?>><?php print i18n::translate('Normal');?></option>
<option value="double" <?php if ($LB_TRANSITION=="double") print "selected=\"selected\""; ?>><?php print i18n::translate('Double');?></option>
@@ -172,10 +170,10 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('URL Window dimensions');?><b><?php echo help_link('lb_url_dimensions', $this->getName()); ?></td>
<td class="optionbox">
- <input type="text" name="NEW_LB_URL_WIDTH" value="<?php print $LB_URL_WIDTH;?>" size="4" tabindex="<?php $i++; print $i?>" />
+ <input type="text" name="NEW_LB_URL_WIDTH" value="<?php print $LB_URL_WIDTH;?>" size="4" />
<?php print i18n::translate('Width');?>
&nbsp;&nbsp;&nbsp;
- <input type="text" name="NEW_LB_URL_HEIGHT" value="<?php print $LB_URL_HEIGHT;?>" size="4" tabindex="<?php $i++; print $i?>" />
+ <input type="text" name="NEW_LB_URL_HEIGHT" value="<?php print $LB_URL_HEIGHT;?>" size="4" />
<?php print i18n::translate('Height');?><br />
<?php print i18n::translate('Width and height of URL window in pixels');?>
</td>
@@ -188,7 +186,7 @@ $i = 0;
<tr>
<td class="descriptionbox"><b><?php print i18n::translate('Multimedia Page - Thumbnails');?></b><?php echo help_link('lb_ml_thumb_links', $this->getName()); ?><br />&nbsp;&nbsp;&nbsp;&nbsp;<?php print i18n::translate('Link appearance');?></td>
<td class="optionbox">
- <select name="NEW_LB_ML_THUMB_LINKS" tabindex="<?php $i++; print $i?>">
+ <select name="NEW_LB_ML_THUMB_LINKS">
<option value= "none" <?php if ($LB_ML_THUMB_LINKS == "none") print "selected=\"selected\""; ?>><?php print i18n::translate('None');?></option>
<option value= "text" <?php if ($LB_ML_THUMB_LINKS == "text") print "selected=\"selected\""; ?>><?php print i18n::translate('Text');?></option>
<option value= "icon" <?php if ($LB_ML_THUMB_LINKS == "icon") print "selected=\"selected\""; ?>><?php print i18n::translate('Icon');?></option>
@@ -210,9 +208,9 @@ $i = 0;
<tr>
<td class="descriptionbox" colspan="2" align="center">
- <input type="submit" tabindex="<?php $i++; print $i?>" value="<?php print i18n::translate('Save configuration');?>" onclick="closeHelp();" />
+ <input type="submit" value="<?php print i18n::translate('Save configuration');?>" onclick="closeHelp();" />
&nbsp;&nbsp;
- <input type="reset" tabindex="<?php $i++; print $i?>" value="<?php print i18n::translate('Reset');?>" />
+ <input type="reset" value="<?php print i18n::translate('Reset');?>" />
&nbsp;&nbsp;
<?php if ($pid){ ?>
<INPUT TYPE="button" VALUE="<?php print i18n::translate('Return to Album page');?>" onclick="javascript:window.location='individual.php?pid=<?php echo $pid;?>&gedcom=<?php echo $GEDCOM;?>&tab=lightbox'" />
diff --git a/modules/login_block/module.php b/modules/login_block/module.php
index b8a0fa0e82..ffbecea9a6 100644
--- a/modules/login_block/module.php
+++ b/modules/login_block/module.php
@@ -51,17 +51,14 @@ class login_block_WT_Module extends WT_Module implements WT_Module_Block {
if (WT_USER_ID) {
$title = i18n::translate('Logout');
- $i = 0; // Initialize tab index
$content = '<div class="center"><form method="post" action="index.php?logout=1" name="logoutform" onsubmit="return true;">';
$content .= '<br /><a href="edituser.php" class="name2">'.i18n::translate('Logged in as ').' ('.WT_USER_NAME.')</a><br /><br />';
- $i++;
- $content .= "<input type=\"submit\" tabindex=\"{$i}\" value=\"".i18n::translate('Logout')."\" />";
+ $content .= "<input type=\"submit\" value=\"".i18n::translate('Logout')."\" />";
$content .= "<br /><br /></form></div>";
} else {
- $i = 0; // Initialize tab index
$title = i18n::translate('Login');
if (get_site_setting('USE_REGISTRATION_MODULE')) {
$title.=help_link('index_login_register');
@@ -82,7 +79,6 @@ class login_block_WT_Module extends WT_Module implements WT_Module_Block {
$content .= "<table class=\"center tabs_table\">";
// Row 1: Userid
- $i++;
$content .= "<tr><td ";
$content .= write_align_with_textdir_check("right", true);
$content .= " class=\"{$TEXT_DIRECTION} wrap width50\">";
@@ -90,11 +86,10 @@ class login_block_WT_Module extends WT_Module implements WT_Module_Block {
$content .= help_link('username');
$content .= "</td><td ";
$content .= write_align_with_textdir_check("left", true);
- $content .= " class=\"{$TEXT_DIRECTION}\"><input type=\"text\" tabindex=\"{$i}\" name=\"username\" size=\"20\" class=\"formField\" />";
+ $content .= " class=\"{$TEXT_DIRECTION}\"><input type=\"text\" name=\"username\" size=\"20\" class=\"formField\" />";
$content .= "</td></tr>";
// Row 2: Password
- $i++;
$content .= "<tr><td ";
$content .= write_align_with_textdir_check("right", true);
$content .= " class=\"{$TEXT_DIRECTION} wrap width50\">";
@@ -102,19 +97,17 @@ class login_block_WT_Module extends WT_Module implements WT_Module_Block {
$content .= help_link('password');
$content .= "</td><td ";
$content .= write_align_with_textdir_check("left", true);
- $content .= " class=\"{$TEXT_DIRECTION}\"><input type=\"password\" tabindex=\"{$i}\" name=\"password\" size=\"20\" class=\"formField\" />";
+ $content .= " class=\"{$TEXT_DIRECTION}\"><input type=\"password\" name=\"password\" size=\"20\" class=\"formField\" />";
$content .= "</td></tr>";
// Row 3: "Login" link
- $i++;
$content .= "<tr><td colspan=\"2\" class=\"center\">";
- $content .= "<input type=\"submit\" tabindex=\"{$i}\" value=\"".i18n::translate('Login')."\" />&nbsp;";
+ $content .= "<input type=\"submit\" value=\"".i18n::translate('Login')."\" />&nbsp;";
$content .= "</td></tr>";
if (get_site_setting('USE_REGISTRATION_MODULE')) {
// Row 4: "Request Account" link
- $i++;
$content .= "<tr><td ";
$content .= write_align_with_textdir_check("right", true);
$content .= " class=\"{$TEXT_DIRECTION} wrap width50\"><br />";
@@ -123,13 +116,12 @@ class login_block_WT_Module extends WT_Module implements WT_Module_Block {
$content .= "</td><td ";
$content .= write_align_with_textdir_check("left", true);
$content .= " class=\"{$TEXT_DIRECTION}\"><br />";
- $content .= "<a href=\"login_register.php?action=register\" tabindex=\"{$i}\">";
+ $content .= "<a href=\"login_register.php?action=register\">";
$content .= i18n::translate('Request new user account');
$content .= "</a>";
$content .= "</td></tr>";
// Row 5: "Lost Password" link
- $i++;
$content .= "<tr><td ";
$content .= write_align_with_textdir_check("right", true);
$content .= " class=\"{$TEXT_DIRECTION} wrap width50\">";
@@ -138,7 +130,7 @@ class login_block_WT_Module extends WT_Module implements WT_Module_Block {
$content .= "</td><td ";
$content .= write_align_with_textdir_check("left", true);
$content .= " class=\"{$TEXT_DIRECTION}\">";
- $content .= "<a href=\"login_register.php?action=pwlost\" tabindex=\"{$i}\">";
+ $content .= "<a href=\"login_register.php?action=pwlost\">";
$content .= i18n::translate('Request new password');
$content .= "</a>";
$content .= "</td></tr>";