$oneset->input = $this->CreateInputCheckbox($id, 'isactive', 1, $row['isactive']); } else { $oneset->input = $row['isactive'] ? $this->Lang('yes') : $this->Lang('no'); } //$oneset->help = $this->Lang(''); $settings[] = $oneset; $oneset = new stdClass(); $oneset->title = $this->Lang('title_defaultlong'); if ($pmod) { $oneset->input = $this->CreateInputCheckbox($id, 'isdefault', 1, $row['isdefault']); } else { $oneset->input = $row['isdefault'] ? $this->Lang('yes') : $this->Lang('no'); } //$oneset->help = $this->Lang(''); $settings[] = $oneset; $choices = StripeGate\Utils::GetSupportedCurrencies(); $oneset = new stdClass(); $oneset->title = $this->Lang('title_currency'); if ($pmod) { $oneset->input = $this->CreateInputDropdown($id, 'currency', $choices, -1, $row['currency']); } else { $oneset->input = array_search($row['currency'], $choices); } //$oneset->help = $this->Lang(''); $settings[] = $oneset; $oneset = new stdClass(); $oneset->title = $this->Lang('title_amountformat'); if ($pmod) { $oneset->input = $this->CreateInputText($id, 'amountformat', $row['amountformat'], 8, 8); } elseif ($row['amountformat']) { $oneset->input = $row['amountformat'];