17 if (!defined(
"PSF_ENTRY_POINT"))
18 die(
"Not a valid psf entry point");
20 require_once (dirname(__FILE__) .
"/element.php");
24 public $Repository =
"benapetr/psf";
26 public function __construct($repo =
"", $_parent = NULL)
28 parent::__construct($_parent);
29 if (strlen($repo) > 0)
30 $this->Repository = $repo;
33 public function ToHtml()
35 return '<a href="https://github.com/' . $this->Repository .
'"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>';