Skip to content

Commit

Permalink
New plugin added: Graftombe (http://www.graftombe.nl)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCarmen committed Mar 13, 2014
1 parent 29c7238 commit ad7e068
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions plugins/graftombe.php
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;
}
}

0 comments on commit ad7e068

Please sign in to comment.