diff options
Diffstat (limited to 'modules_v3')
95 files changed, 104 insertions, 104 deletions
diff --git a/modules_v3/GEDFact_assistant/CENS_ctrl.php b/modules_v3/GEDFact_assistant/CENS_ctrl.php index c87cf2f01d..b5ae0556b4 100644 --- a/modules_v3/GEDFact_assistant/CENS_ctrl.php +++ b/modules_v3/GEDFact_assistant/CENS_ctrl.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/MEDIA_ctrl.php b/modules_v3/GEDFact_assistant/MEDIA_ctrl.php index 44cbcf67a8..117e85d21f 100644 --- a/modules_v3/GEDFact_assistant/MEDIA_ctrl.php +++ b/modules_v3/GEDFact_assistant/MEDIA_ctrl.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php b/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php index e966ec20c8..d8af0c7f42 100644 --- a/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php +++ b/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php b/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php index 017b641760..68300252ae 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php b/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php index d35b278166..ffe4be1740 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php index 9df9a17ae7..5109abf644 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -70,7 +70,7 @@ if ($action == "filter") { $myindilist = search_indis_names($filter_array, array(WT_GED_ID), 'AND'); if ($myindilist) { echo "<tr><td class=\"list_value_wrap\"><ul>"; - usort($myindilist, 'Webtrees\GedcomRecord::compare'); + usort($myindilist, __NAMESPACE__ . '\GedcomRecord::compare'); foreach ($myindilist as $indi) { $nam = $indi->getAllNames(); $wholename = rtrim($nam[0]['givn'], '*') . " " . $nam[0]['surname']; diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php b/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php index 8e7fd5c6d3..0dcddea03b 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/census_4_text.php b/modules_v3/GEDFact_assistant/_CENS/census_4_text.php index a66e0eed79..f185f208ef 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_4_text.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_4_text.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/census_5_input.php b/modules_v3/GEDFact_assistant/_CENS/census_5_input.php index be852551a9..dac4c8f842 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_5_input.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_5_input.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php b/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php index a952742ccd..a12b849191 100644 --- a/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php +++ b/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php b/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php index 4e4859c0be..c86cf54bf5 100644 --- a/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php +++ b/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php b/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php index f4aaa50874..5cb68fc073 100644 --- a/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php +++ b/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/GEDFact_assistant/module.php b/modules_v3/GEDFact_assistant/module.php index fea3f4f803..e7286336bf 100644 --- a/modules_v3/GEDFact_assistant/module.php +++ b/modules_v3/GEDFact_assistant/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -129,7 +129,7 @@ class GEDFact_assistant_WT_Module extends Module { $myindilist = search_indis_names($filter_array, array(WT_GED_ID), 'AND'); if ($myindilist) { echo "<td class=\"list_value_wrap\"><ul>"; - usort($myindilist, 'Webtrees\GedcomRecord::compare'); + usort($myindilist, __NAMESPACE__ . '\GedcomRecord::compare'); foreach ($myindilist as $indi) { $nam = Filter::escapeHtml($indi->getFullName()); echo "<li><a href=\"#\" onclick=\"pasterow( diff --git a/modules_v3/ahnentafel_report/module.php b/modules_v3/ahnentafel_report/module.php index 7d6db3fa56..e4de67f066 100644 --- a/modules_v3/ahnentafel_report/module.php +++ b/modules_v3/ahnentafel_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/BatchUpdateBasePlugin.php b/modules_v3/batch_update/BatchUpdateBasePlugin.php index 38ea114c09..a2c4fcf48c 100644 --- a/modules_v3/batch_update/BatchUpdateBasePlugin.php +++ b/modules_v3/batch_update/BatchUpdateBasePlugin.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/BatchUpdateDuplicateLinksPlugin.php b/modules_v3/batch_update/BatchUpdateDuplicateLinksPlugin.php index 9bca845a6a..16a7542c8d 100644 --- a/modules_v3/batch_update/BatchUpdateDuplicateLinksPlugin.php +++ b/modules_v3/batch_update/BatchUpdateDuplicateLinksPlugin.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/BatchUpdateMarriedNamesPlugin.php b/modules_v3/batch_update/BatchUpdateMarriedNamesPlugin.php index 6ab0ec8582..58a4453c1f 100644 --- a/modules_v3/batch_update/BatchUpdateMarriedNamesPlugin.php +++ b/modules_v3/batch_update/BatchUpdateMarriedNamesPlugin.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/BatchUpdateMissingDeathPlugin.php b/modules_v3/batch_update/BatchUpdateMissingDeathPlugin.php index 625ecbe241..50ff0a56f4 100644 --- a/modules_v3/batch_update/BatchUpdateMissingDeathPlugin.php +++ b/modules_v3/batch_update/BatchUpdateMissingDeathPlugin.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/BatchUpdateNameFormatPlugin.php b/modules_v3/batch_update/BatchUpdateNameFormatPlugin.php index 1a4bfc7271..c3728070d0 100644 --- a/modules_v3/batch_update/BatchUpdateNameFormatPlugin.php +++ b/modules_v3/batch_update/BatchUpdateNameFormatPlugin.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/BatchUpdateSearchReplacePlugin.php b/modules_v3/batch_update/BatchUpdateSearchReplacePlugin.php index 4781910adb..d0706f96f4 100644 --- a/modules_v3/batch_update/BatchUpdateSearchReplacePlugin.php +++ b/modules_v3/batch_update/BatchUpdateSearchReplacePlugin.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/batch_update/module.php b/modules_v3/batch_update/module.php index 00f06c4ada..13e9d0f8d6 100644 --- a/modules_v3/batch_update/module.php +++ b/modules_v3/batch_update/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -305,7 +305,7 @@ class batch_update_WT_Module extends Module implements ModuleConfigInterface { $dir_handle = opendir(__DIR__); while ($file = readdir($dir_handle)) { if (substr($file, -10) == 'Plugin.php' && $file !== 'BatchUpdateBasePlugin.php') { - $class = 'Webtrees\\' . basename($file, '.php'); + $class = __NAMESPACE__ . '\\' . basename($file, '.php'); $plugins[$class] = new $class; } } diff --git a/modules_v3/bdm_report/module.php b/modules_v3/bdm_report/module.php index 858ef19ba3..7f3918f836 100644 --- a/modules_v3/bdm_report/module.php +++ b/modules_v3/bdm_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/birth_report/module.php b/modules_v3/birth_report/module.php index f7245fb0d3..d33599be3d 100644 --- a/modules_v3/birth_report/module.php +++ b/modules_v3/birth_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/cemetery_report/module.php b/modules_v3/cemetery_report/module.php index 296ec6f668..ee7ddc0c12 100644 --- a/modules_v3/cemetery_report/module.php +++ b/modules_v3/cemetery_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/change_report/module.php b/modules_v3/change_report/module.php index 6be27a59fd..78a05bf210 100644 --- a/modules_v3/change_report/module.php +++ b/modules_v3/change_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/charts/module.php b/modules_v3/charts/module.php index a25a54860e..6231098397 100644 --- a/modules_v3/charts/module.php +++ b/modules_v3/charts/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/ckeditor/module.php b/modules_v3/ckeditor/module.php index 9505ecb7b9..dcc9c2cab1 100644 --- a/modules_v3/ckeditor/module.php +++ b/modules_v3/ckeditor/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/clippings/ClippingsCart.php b/modules_v3/clippings/ClippingsCart.php index e5879e3fa1..1777e4520e 100644 --- a/modules_v3/clippings/ClippingsCart.php +++ b/modules_v3/clippings/ClippingsCart.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -149,7 +149,7 @@ class ClippingsCart { $this->addFamilyDescendancy($family, $this->level3); } } - uksort($WT_SESSION->cart[WT_GED_ID], 'Webtrees\ClippingsCart::compareClippings'); + uksort($WT_SESSION->cart[WT_GED_ID], __NAMESPACE__ . '\ClippingsCart::compareClippings'); } } elseif ($this->action === 'remove') { unset ($WT_SESSION->cart[WT_GED_ID][$this->id]); diff --git a/modules_v3/clippings/module.php b/modules_v3/clippings/module.php index 60e0c50216..24ca11ae38 100644 --- a/modules_v3/clippings/module.php +++ b/modules_v3/clippings/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/death_report/module.php b/modules_v3/death_report/module.php index fa77fe8396..013c3b832e 100644 --- a/modules_v3/death_report/module.php +++ b/modules_v3/death_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/descendancy/module.php b/modules_v3/descendancy/module.php index 8b390bd641..1d730b5e48 100644 --- a/modules_v3/descendancy/module.php +++ b/modules_v3/descendancy/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/descendancy_report/module.php b/modules_v3/descendancy_report/module.php index 25483f20f3..bf4b3f9d77 100644 --- a/modules_v3/descendancy_report/module.php +++ b/modules_v3/descendancy_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/extra_info/module.php b/modules_v3/extra_info/module.php index b311d9e1dd..5199b81b99 100644 --- a/modules_v3/extra_info/module.php +++ b/modules_v3/extra_info/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/fact_sources/module.php b/modules_v3/fact_sources/module.php index f2d15a6d4d..ddc6786643 100644 --- a/modules_v3/fact_sources/module.php +++ b/modules_v3/fact_sources/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/families/module.php b/modules_v3/families/module.php index f2ddeb5f94..1d16651586 100644 --- a/modules_v3/families/module.php +++ b/modules_v3/families/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/family_group_report/module.php b/modules_v3/family_group_report/module.php index 30ee178b34..c1d4f16f9b 100644 --- a/modules_v3/family_group_report/module.php +++ b/modules_v3/family_group_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/family_nav/module.php b/modules_v3/family_nav/module.php index 7c69b58b1d..cf281aab8a 100644 --- a/modules_v3/family_nav/module.php +++ b/modules_v3/family_nav/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/faq/module.php b/modules_v3/faq/module.php index f403f3a8e2..fd652c0000 100644 --- a/modules_v3/faq/module.php +++ b/modules_v3/faq/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_block/module.php b/modules_v3/gedcom_block/module.php index 55e5a8781b..e7f1eee393 100644 --- a/modules_v3/gedcom_block/module.php +++ b/modules_v3/gedcom_block/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_favorites/db_schema/db_schema_0_1.php b/modules_v3/gedcom_favorites/db_schema/db_schema_0_1.php index aef1a17531..208bcd9e15 100644 --- a/modules_v3/gedcom_favorites/db_schema/db_schema_0_1.php +++ b/modules_v3/gedcom_favorites/db_schema/db_schema_0_1.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_favorites/db_schema/db_schema_1_2.php b/modules_v3/gedcom_favorites/db_schema/db_schema_1_2.php index 12fed353c9..d2370c13a1 100644 --- a/modules_v3/gedcom_favorites/db_schema/db_schema_1_2.php +++ b/modules_v3/gedcom_favorites/db_schema/db_schema_1_2.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_favorites/db_schema/db_schema_2_3.php b/modules_v3/gedcom_favorites/db_schema/db_schema_2_3.php index 45b2ef78b8..64effcc2b4 100644 --- a/modules_v3/gedcom_favorites/db_schema/db_schema_2_3.php +++ b/modules_v3/gedcom_favorites/db_schema/db_schema_2_3.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_favorites/db_schema/db_schema_3_4.php b/modules_v3/gedcom_favorites/db_schema/db_schema_3_4.php index b43a19228e..b89e475a56 100644 --- a/modules_v3/gedcom_favorites/db_schema/db_schema_3_4.php +++ b/modules_v3/gedcom_favorites/db_schema/db_schema_3_4.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_favorites/module.php b/modules_v3/gedcom_favorites/module.php index c0e989aa8e..25e89f0372 100644 --- a/modules_v3/gedcom_favorites/module.php +++ b/modules_v3/gedcom_favorites/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_news/db_schema/db_schema_0_1.php b/modules_v3/gedcom_news/db_schema/db_schema_0_1.php index 10182b7aa5..2f8aed065d 100644 --- a/modules_v3/gedcom_news/db_schema/db_schema_0_1.php +++ b/modules_v3/gedcom_news/db_schema/db_schema_0_1.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_news/db_schema/db_schema_1_2.php b/modules_v3/gedcom_news/db_schema/db_schema_1_2.php index f88fb77bb4..51e48b5483 100644 --- a/modules_v3/gedcom_news/db_schema/db_schema_1_2.php +++ b/modules_v3/gedcom_news/db_schema/db_schema_1_2.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_news/db_schema/db_schema_2_3.php b/modules_v3/gedcom_news/db_schema/db_schema_2_3.php index f034baa327..aed58f88d1 100644 --- a/modules_v3/gedcom_news/db_schema/db_schema_2_3.php +++ b/modules_v3/gedcom_news/db_schema/db_schema_2_3.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_news/module.php b/modules_v3/gedcom_news/module.php index cf24653cee..34655e9863 100644 --- a/modules_v3/gedcom_news/module.php +++ b/modules_v3/gedcom_news/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/gedcom_stats/module.php b/modules_v3/gedcom_stats/module.php index 9aadedef48..3a847da9b8 100644 --- a/modules_v3/gedcom_stats/module.php +++ b/modules_v3/gedcom_stats/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/googlemap/db_schema/db_schema_0_1.php b/modules_v3/googlemap/db_schema/db_schema_0_1.php index b2796fc3b5..424cc5f2a4 100644 --- a/modules_v3/googlemap/db_schema/db_schema_0_1.php +++ b/modules_v3/googlemap/db_schema/db_schema_0_1.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/googlemap/db_schema/db_schema_1_2.php b/modules_v3/googlemap/db_schema/db_schema_1_2.php index 05d84fa8e9..2c7bf53a93 100644 --- a/modules_v3/googlemap/db_schema/db_schema_1_2.php +++ b/modules_v3/googlemap/db_schema/db_schema_1_2.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/googlemap/db_schema/db_schema_2_3.php b/modules_v3/googlemap/db_schema/db_schema_2_3.php index 55b4f47a10..b684f09b8f 100644 --- a/modules_v3/googlemap/db_schema/db_schema_2_3.php +++ b/modules_v3/googlemap/db_schema/db_schema_2_3.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/googlemap/db_schema/db_schema_3_4.php b/modules_v3/googlemap/db_schema/db_schema_3_4.php index d6f7555d44..78f5a225e5 100644 --- a/modules_v3/googlemap/db_schema/db_schema_3_4.php +++ b/modules_v3/googlemap/db_schema/db_schema_3_4.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/googlemap/db_schema/db_schema_4_5.php b/modules_v3/googlemap/db_schema/db_schema_4_5.php index 29b3e7dbce..b890f5f919 100644 --- a/modules_v3/googlemap/db_schema/db_schema_4_5.php +++ b/modules_v3/googlemap/db_schema/db_schema_4_5.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/googlemap/module.php b/modules_v3/googlemap/module.php index b7b38909b2..618d308e8c 100644 --- a/modules_v3/googlemap/module.php +++ b/modules_v3/googlemap/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -1645,7 +1645,7 @@ class googlemap_WT_Module extends Module implements ModuleConfigInterface, Modul $place_list = preg_grep('/' . $filter . '/', $place_list); //sort the array, limit to unique values, and count them - usort($place_list, 'Webtrees\I18N::strcasecmp'); + usort($place_list, __NAMESPACE__ . '\I18N::strcasecmp'); $i = count($place_list); //calculate maximum no. of levels to display diff --git a/modules_v3/html/module.php b/modules_v3/html/module.php index 547e58841d..ac42e3b194 100644 --- a/modules_v3/html/module.php +++ b/modules_v3/html/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/individual_ext_report/module.php b/modules_v3/individual_ext_report/module.php index fde6caaf2e..e58a9724c8 100644 --- a/modules_v3/individual_ext_report/module.php +++ b/modules_v3/individual_ext_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/individual_report/module.php b/modules_v3/individual_report/module.php index 42b706436b..48da245673 100644 --- a/modules_v3/individual_report/module.php +++ b/modules_v3/individual_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/individuals/module.php b/modules_v3/individuals/module.php index fb661b638e..1a0561a4b8 100644 --- a/modules_v3/individuals/module.php +++ b/modules_v3/individuals/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/lightbox/module.php b/modules_v3/lightbox/module.php index 9f2e3f0280..9085ea4f69 100644 --- a/modules_v3/lightbox/module.php +++ b/modules_v3/lightbox/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/logged_in/module.php b/modules_v3/logged_in/module.php index 834c9edc34..c331cf2c5f 100644 --- a/modules_v3/logged_in/module.php +++ b/modules_v3/logged_in/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/login_block/module.php b/modules_v3/login_block/module.php index b6ef831310..b6b3d48ee4 100644 --- a/modules_v3/login_block/module.php +++ b/modules_v3/login_block/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/marriage_report/module.php b/modules_v3/marriage_report/module.php index d22dc04d1b..b854fb5077 100644 --- a/modules_v3/marriage_report/module.php +++ b/modules_v3/marriage_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/media/module.php b/modules_v3/media/module.php index 679f0b95a0..b919aa45a7 100644 --- a/modules_v3/media/module.php +++ b/modules_v3/media/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/missing_facts_report/module.php b/modules_v3/missing_facts_report/module.php index 256c03cc4a..58a65e3f75 100644 --- a/modules_v3/missing_facts_report/module.php +++ b/modules_v3/missing_facts_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/notes/module.php b/modules_v3/notes/module.php index f448800e1f..b5dd2ac970 100644 --- a/modules_v3/notes/module.php +++ b/modules_v3/notes/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/occupation_report/module.php b/modules_v3/occupation_report/module.php index 6b69287e5c..863edeb364 100644 --- a/modules_v3/occupation_report/module.php +++ b/modules_v3/occupation_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/page_menu/module.php b/modules_v3/page_menu/module.php index a34663ad81..1de4b8f858 100644 --- a/modules_v3/page_menu/module.php +++ b/modules_v3/page_menu/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/pedigree_report/module.php b/modules_v3/pedigree_report/module.php index f11dccc02e..8051d0f1d4 100644 --- a/modules_v3/pedigree_report/module.php +++ b/modules_v3/pedigree_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/personal_facts/module.php b/modules_v3/personal_facts/module.php index 1dc4bef5dd..2f3fc4bf72 100644 --- a/modules_v3/personal_facts/module.php +++ b/modules_v3/personal_facts/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/random_media/module.php b/modules_v3/random_media/module.php index 3b37f30c07..6ebe368009 100644 --- a/modules_v3/random_media/module.php +++ b/modules_v3/random_media/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/recent_changes/module.php b/modules_v3/recent_changes/module.php index 0d72ec23a3..0fceb9597d 100644 --- a/modules_v3/recent_changes/module.php +++ b/modules_v3/recent_changes/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/relative_ext_report/module.php b/modules_v3/relative_ext_report/module.php index ebe7f45751..3ebd952444 100644 --- a/modules_v3/relative_ext_report/module.php +++ b/modules_v3/relative_ext_report/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/relatives/module.php b/modules_v3/relatives/module.php index 3d9014a129..a2bc35d6c4 100644 --- a/modules_v3/relatives/module.php +++ b/modules_v3/relatives/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/review_changes/module.php b/modules_v3/review_changes/module.php index 666c0d43d1..57dbe85b93 100644 --- a/modules_v3/review_changes/module.php +++ b/modules_v3/review_changes/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/sitemap/module.php b/modules_v3/sitemap/module.php index c804cb5570..9fdb951756 100644 --- a/modules_v3/sitemap/module.php +++ b/modules_v3/sitemap/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/sources_tab/module.php b/modules_v3/sources_tab/module.php index c6bcbbfe62..7b72384f98 100644 --- a/modules_v3/sources_tab/module.php +++ b/modules_v3/sources_tab/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/stories/module.php b/modules_v3/stories/module.php index ad61976b89..40af6569b7 100644 --- a/modules_v3/stories/module.php +++ b/modules_v3/stories/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/theme_select/module.php b/modules_v3/theme_select/module.php index 490c70eb9e..a171941e41 100644 --- a/modules_v3/theme_select/module.php +++ b/modules_v3/theme_select/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/todays_events/module.php b/modules_v3/todays_events/module.php index 7ace53eb40..4e97f8d650 100644 --- a/modules_v3/todays_events/module.php +++ b/modules_v3/todays_events/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/todo/module.php b/modules_v3/todo/module.php index dcc706ee03..6a271f1050 100644 --- a/modules_v3/todo/module.php +++ b/modules_v3/todo/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/top10_givnnames/module.php b/modules_v3/top10_givnnames/module.php index f3bd06fc58..078797e5a4 100644 --- a/modules_v3/top10_givnnames/module.php +++ b/modules_v3/top10_givnnames/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/top10_pageviews/module.php b/modules_v3/top10_pageviews/module.php index fb00070db3..5676e50258 100644 --- a/modules_v3/top10_pageviews/module.php +++ b/modules_v3/top10_pageviews/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/top10_surnames/module.php b/modules_v3/top10_surnames/module.php index bd880a7d62..7ba8c37ccd 100644 --- a/modules_v3/top10_surnames/module.php +++ b/modules_v3/top10_surnames/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy @@ -89,20 +89,20 @@ class top10_surnames_WT_Module extends Module implements ModuleBlockInterface { switch ($infoStyle) { case 'tagcloud': - uksort($all_surnames, 'Webtrees\I18N::strcasecmp'); + uksort($all_surnames, __NAMESPACE__ . '\I18N::strcasecmp'); $content = format_surname_tagcloud($all_surnames, 'indilist.php', true); break; case 'list': - uasort($all_surnames, 'Webtrees\top10_surnames_WT_Module::surnameCountSort'); + uasort($all_surnames, __NAMESPACE__ . '\top10_surnames_WT_Module::surnameCountSort'); $content = format_surname_list($all_surnames, '1', true, 'indilist.php'); break; case 'array': - uasort($all_surnames, 'Webtrees\top10_surnames_WT_Module', 'surnameCountSort'); + uasort($all_surnames, __NAMESPACE__ . '\top10_surnames_WT_Module', 'surnameCountSort'); $content = format_surname_list($all_surnames, '2', true, 'indilist.php'); break; case 'table': default: - uasort($all_surnames, 'Webtrees\top10_surnames_WT_Module::surnameCountSort'); + uasort($all_surnames, __NAMESPACE__ . '\top10_surnames_WT_Module::surnameCountSort'); $content = format_surname_table($all_surnames, 'indilist.php'); break; } diff --git a/modules_v3/tree/class_treeview.php b/modules_v3/tree/class_treeview.php index 7ad1f73759..4086647fd4 100644 --- a/modules_v3/tree/class_treeview.php +++ b/modules_v3/tree/class_treeview.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/tree/module.php b/modules_v3/tree/module.php index 049c8409c9..c6adecf58c 100644 --- a/modules_v3/tree/module.php +++ b/modules_v3/tree/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/upcoming_events/module.php b/modules_v3/upcoming_events/module.php index 8e76fdf8f8..ea20be9b67 100644 --- a/modules_v3/upcoming_events/module.php +++ b/modules_v3/upcoming_events/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_blog/db_schema/db_schema_0_1.php b/modules_v3/user_blog/db_schema/db_schema_0_1.php index 47a7dc9ddc..debf9dceb1 100644 --- a/modules_v3/user_blog/db_schema/db_schema_0_1.php +++ b/modules_v3/user_blog/db_schema/db_schema_0_1.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_blog/db_schema/db_schema_1_2.php b/modules_v3/user_blog/db_schema/db_schema_1_2.php index a522f9cdc3..b522fb97aa 100644 --- a/modules_v3/user_blog/db_schema/db_schema_1_2.php +++ b/modules_v3/user_blog/db_schema/db_schema_1_2.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_blog/db_schema/db_schema_2_3.php b/modules_v3/user_blog/db_schema/db_schema_2_3.php index 47683d5eac..2ee776d170 100644 --- a/modules_v3/user_blog/db_schema/db_schema_2_3.php +++ b/modules_v3/user_blog/db_schema/db_schema_2_3.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_blog/module.php b/modules_v3/user_blog/module.php index 158c25a31d..35638763b5 100644 --- a/modules_v3/user_blog/module.php +++ b/modules_v3/user_blog/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_favorites/module.php b/modules_v3/user_favorites/module.php index 7d0b99e9ec..404ca82771 100644 --- a/modules_v3/user_favorites/module.php +++ b/modules_v3/user_favorites/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_messages/module.php b/modules_v3/user_messages/module.php index f10eee1b44..fc8012a151 100644 --- a/modules_v3/user_messages/module.php +++ b/modules_v3/user_messages/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/user_welcome/module.php b/modules_v3/user_welcome/module.php index 2523742090..378c883ace 100644 --- a/modules_v3/user_welcome/module.php +++ b/modules_v3/user_welcome/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy diff --git a/modules_v3/yahrzeit/module.php b/modules_v3/yahrzeit/module.php index 883e789917..16e8b41522 100644 --- a/modules_v3/yahrzeit/module.php +++ b/modules_v3/yahrzeit/module.php @@ -1,5 +1,5 @@ <?php -namespace Webtrees; +namespace Fisharebest\Webtrees; /** * webtrees: online genealogy |
