public function processform() { if ($_POST['form'] != 'options') { return parent::ProcessForm(); } $this->parsemap($_POST['tagsmap']); $this->script = $_POST['script']; $this->save(); }
public function processform() { if ($_POST['form'] != 'options') { return parent::ProcessForm(); } $this->data['script'] = $_POST['script']; $this->data['ignorelink'] = isset($_POST['ignorelink']); $this->save(); }