Minor fixes on LOG theme

This commit is contained in:
dignajar 2016-06-02 22:37:52 -03:00
parent 15550f764d
commit 81eaf4cc06
1 changed files with 10 additions and 2 deletions

View File

@ -5,17 +5,25 @@ class pluginAPI extends Plugin {
public function init() public function init()
{ {
$this->dbFields = array( $this->dbFields = array(
'ping'=>false 'ping'=>false,
'authKey'=>''
); );
} }
public function form() public function form()
{ {
$html = '<div>'; $html = '';
$html .= '<div>';
$html .= '<p>Authorization Key: '.$this->getDbField('authKey').'</p>';
$html .= '</div>';
$html .= '<div>';
$html .= '<input name="ping" id="jsping" type="checkbox" value="true" '.($this->getDbField('ping')?'checked':'').'>'; $html .= '<input name="ping" id="jsping" type="checkbox" value="true" '.($this->getDbField('ping')?'checked':'').'>';
$html .= '<label class="forCheckbox" for="jsping">Ping Bludit.com</label>'; $html .= '<label class="forCheckbox" for="jsping">Ping Bludit.com</label>';
$html .= '</div>'; $html .= '</div>';
return $html; return $html;
} }