diff --git a/bl-plugins/api/plugin.php b/bl-plugins/api/plugin.php index 3fa9cb42..eb2f13d9 100644 --- a/bl-plugins/api/plugin.php +++ b/bl-plugins/api/plugin.php @@ -5,17 +5,25 @@ class pluginAPI extends Plugin { public function init() { $this->dbFields = array( - 'ping'=>false + 'ping'=>false, + 'authKey'=>'' ); } public function form() { - $html = '
'; + $html = ''; + + $html .= '
'; + $html .= '

Authorization Key: '.$this->getDbField('authKey').'

'; + $html .= '
'; + + $html .= '
'; $html .= 'getDbField('ping')?'checked':'').'>'; $html .= ''; $html .= '
'; + return $html; }