diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-04-07 22:08:56 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-04-07 22:08:56 +0000 |
| commit | c367585e6d0545ecc6aba24ae40105991a2a4427 (patch) | |
| tree | c6b36728c46cda0cd908179861045072022b2f84 /modules | |
| parent | a65dc307fd70f5357f90bca2a86c18e58257b3db (diff) | |
| download | webtrees-c367585e6d0545ecc6aba24ae40105991a2a4427.tar.gz webtrees-c367585e6d0545ecc6aba24ae40105991a2a4427.tar.bz2 webtrees-c367585e6d0545ecc6aba24ae40105991a2a4427.zip | |
Remove the "static tab". The sidebar has taken its place.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/family_nav/pgv_module.php | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/modules/family_nav/pgv_module.php b/modules/family_nav/pgv_module.php index 50fc9b6974..f1197b8833 100644 --- a/modules/family_nav/pgv_module.php +++ b/modules/family_nav/pgv_module.php @@ -36,7 +36,7 @@ require_once WT_ROOT.'includes/classes/class_module.php'; require_once WT_ROOT.'includes/functions/functions_charts.php';
require_once WT_ROOT.'includes/controllers/individual_ctrl.php';
-class family_nav_WT_Module extends WT_Module implements WT_Module_Sidebar, WT_Module_Tab {
+class family_nav_WT_Module extends WT_Module implements WT_Module_Sidebar {
// Extend WT_Module
public function getTitle() {
return i18n::translate('Family Navigator');
@@ -90,21 +90,15 @@ class family_nav_WT_Module extends WT_Module implements WT_Module_Sidebar, WT_Mo return "";
}
- // Implement WT_Module_Tab
- public function defaultTabOrder() {
- return 0;
- }
-
public function getLinkUrl(&$person) {
}
- // Implement WT_Module_Tab
+ // TODO: These functions aren't really part of the WT_Module_Tab interface, as
+ // this module no longer provides a tab.
public function hasTabContent() {
return true;
}
-
- // Implement WT_Module_Tab
public function getTabContent() {
$out = '';
ob_start();
@@ -590,26 +584,6 @@ class family_nav_WT_Module extends WT_Module implements WT_Module_Sidebar, WT_Mo } // End public function getTabContent()
- // Implement WT_Module_Tab
- public function canLoadAjax() {
- return true;
- }
-
- // Implement WT_Module_Tab
- public function getPreLoadContent() {
- return '';
- }
-
- // Implement WT_Module_Tab
- public function getJSCallbackAllTabs() {
- return '';
- }
-
- // Implement WT_Module_Tab
- public function getJSCallback() {
- return '';
- }
-
function print_pedigree_person_nav($pid, $style=1, $show_famlink=true, $count=0, $personcount="1") {
global $HIDE_LIVE_PEOPLE, $SHOW_LIVING_NAMES, $ZOOM_BOXES, $LINK_ICONS, $SCRIPT_NAME, $GEDCOM;
global $MULTI_MEDIA, $SHOW_HIGHLIGHT_IMAGES, $bwidth, $bheight, $PEDIGREE_FULL_DETAILS, $SHOW_ID_NUMBERS, $SHOW_PEDIGREE_PLACES;
|
