diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-10-11 20:51:27 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-10-11 20:51:27 +0100 |
| commit | b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8 (patch) | |
| tree | d75767f9e5b5c73db79c132cda06c1b2b741eb53 /modules_v3 | |
| parent | c991ee678d40045c315addb33cbe518c9ef5786f (diff) | |
| download | webtrees-b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8.tar.gz webtrees-b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8.tar.bz2 webtrees-b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8.zip | |
Style prefer target ? instead of # for forms - does not change URL
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/faq/module.php | 2 | ||||
| -rw-r--r-- | modules_v3/googlemap/admin_places.php | 2 | ||||
| -rw-r--r-- | modules_v3/personal_facts/module.php | 2 | ||||
| -rw-r--r-- | modules_v3/sitemap/module.php | 2 | ||||
| -rw-r--r-- | modules_v3/stories/module.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/modules_v3/faq/module.php b/modules_v3/faq/module.php index 72ab15a60c..2a5615c3c6 100644 --- a/modules_v3/faq/module.php +++ b/modules_v3/faq/module.php @@ -157,7 +157,7 @@ class faq_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module_Block // "Help for this page" link echo '<div id="page_help">', help_link('add_faq_item', $this->getName()), '</div>'; - echo '<form name="faq" method="post" action="#">'; + echo '<form name="faq" method="post" action="?">'; echo '<input type="hidden" name="save" value="1">'; echo '<input type="hidden" name="block_id" value="', $block_id, '">'; echo '<table id="faq_module">'; diff --git a/modules_v3/googlemap/admin_places.php b/modules_v3/googlemap/admin_places.php index 1421919c62..d6441d8f1c 100644 --- a/modules_v3/googlemap/admin_places.php +++ b/modules_v3/googlemap/admin_places.php @@ -629,7 +629,7 @@ foreach ($placelist as $place) { <?php echo WT_I18N::translate('Add a new geographic location'); ?> </td> <td> - <form action="#" onsubmit="add_place_location(this.parent_id.options[this.parent_id.selectedIndex].value); return false;"> + <form action="?" onsubmit="add_place_location(this.parent_id.options[this.parent_id.selectedIndex].value); return false;"> <?php echo select_edit_control('parent_id', $where_am_i, WT_I18N::translate('Top Level'), $parent); ?> <input type="submit" value="<?php echo WT_I18N::translate('Add'); ?>"> </form> diff --git a/modules_v3/personal_facts/module.php b/modules_v3/personal_facts/module.php index 9470dd0492..0de23351c2 100644 --- a/modules_v3/personal_facts/module.php +++ b/modules_v3/personal_facts/module.php @@ -122,7 +122,7 @@ class personal_facts_WT_Module extends WT_Module implements WT_Module_Tab { echo '<tr><td colspan="2" class="facts_value">', WT_I18N::translate('There are no Facts for this individual.'), '</td></tr>'; } - echo '<tr><td colspan="2" class="descriptionbox rela"><form action="#"><input id="checkbox_rela_facts" type="checkbox"'; + echo '<tr><td colspan="2" class="descriptionbox rela"><form action="?"><input id="checkbox_rela_facts" type="checkbox"'; if ($EXPAND_RELATIVES_EVENTS) { echo ' checked="checked"'; } diff --git a/modules_v3/sitemap/module.php b/modules_v3/sitemap/module.php index e0460f31f8..cf6fe19aab 100644 --- a/modules_v3/sitemap/module.php +++ b/modules_v3/sitemap/module.php @@ -234,7 +234,7 @@ class sitemap_WT_Module extends WT_Module implements WT_Module_Config { WT_I18N::translate('Sitemaps are a way for webmasters to tell search engines about the pages on a website that are available for crawling. All major search engines support sitemaps. For more information, see <a href="http://www.sitemaps.org/">www.sitemaps.org</a>.'). '</p>', '<p>', WT_I18N::translate('Which family trees should be included in the sitemaps?'), '</p>', - '<form method="post" action="">', + '<form method="post" action="?">', '<input type="hidden" name="action" value="save">'; foreach (WT_Tree::getAll() as $tree) { echo '<p><input type="checkbox" name="include', $tree->tree_id, '"'; diff --git a/modules_v3/stories/module.php b/modules_v3/stories/module.php index cff1d265e8..5b5b86fd33 100644 --- a/modules_v3/stories/module.php +++ b/modules_v3/stories/module.php @@ -227,7 +227,7 @@ class stories_WT_Module extends WT_Module implements WT_Module_Block, WT_Module_ } // "Help for this page" link echo '<div id="page_help">', help_link('add_story', $this->getName()), '</div>'; - echo '<form name="story" method="post" action="#">'; + echo '<form name="story" method="post" action="?">'; echo '<input type="hidden" name="save" value="1">'; echo '<input type="hidden" name="block_id" value="', $block_id, '">'; echo '<input type="hidden" name="gedcom_id" value="', WT_GED_ID, '">'; |
