<?php
defined('_JEXEC') or die('Restricted access');

class JFormFieldApi extends JFormField
{
	var $type = 'api';

	function getInput()
	{
		return '<button class="btn" onclick="window.open(\'https://www.paypal.com/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true\', \'\', \'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=540\');return false;">GET API Access</button>';
	}
}