-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New plugin added: Graftombe (http://www.graftombe.nl)
- Loading branch information
1 parent
29c7238
commit ad7e068
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
if (!defined('WT_WEBTREES')) { | ||
header('HTTP/1.0 403 Forbidden'); | ||
exit; | ||
} | ||
|
||
class graftombe_plugin extends research_base_plugin { | ||
static function getName() { | ||
return 'Graftombe'; | ||
} | ||
|
||
static function create_link($fullname, $givn, $first, $middle, $prefix, $surn, $surname) { | ||
return $link = 'http://www.graftombe.nl/names/search?forename='.str_replace(" ", "+", $givn).'&surname='.str_replace(" ", "+", $surname).'&submit=Zoeken&r=names-search'; | ||
} | ||
|
||
static function create_sublink($fullname, $givn, $first, $middle, $prefix, $surn, $surname) { | ||
return false; | ||
} | ||
} |