function getEditorExtra() { $res = ""; if (Get::accessibilty() === false) { $ht = Get::sett('hteditor'); } else { $ht = 'accesseditor'; } switch ($ht) { case "xstandard": // ---------------------------------- xstandard --------- $res = "onsubmit=\"xstandardEventHandler();\""; break; } return $res; }