'acym__select', 'acym-data-infinite' => '', ]; } $attribs['style'] = empty($attribs['style']) ? 'max-width:200px;' : 'max-width:200px;'.$attribs['style']; echo acym_select( [ 'binary' => 'Binary', 'quoted' => 'Quoted-printable', '7bit' => '7 Bit', '8bit' => '8 Bit', 'base64' => 'Base 64', ], $name, $selected, $attribs, '', '', 'config_encoding' ); } public function charsetField($name, $selected, $attribs = null) { $charsetType = new CharsetType(); return acym_select($charsetType->charsets, $name, $selected, $attribs, '', ''); } } function acym_errorHandlerEncoding($errno, $errstr = '') { static $error = false; if (is_string($errno) && $errno == 'result') { $currentError = $error; $error = false; return $currentError; } $error = true; return true; } function acym_error_handler_encoding($errno, $errstr = '') { return acym_errorHandlerEncoding($errno, $errstr = ''); }