}
$s = new \Services_Libravatar();
+ $s->detectHttps();
return $s->url(
$email,
array(
return $logged_in;
}
+
+ public function getRepositoryEmbedCode(Repository $repo)
+ {
+ return '<script src="' . $repo->getLink('embed', null, true) . '"'
+ . ' id="phork-script-' . $repo->id . '"'
+ . ' type="text/javascript"></script>';
+ }
}
?>