setName('inscenter'); $this->setValue(PLUGIN_EVENT_TYPESETBUTTONS_CENTER_BUTTON); } /** * @return string */ public function render() { if ($this->isLegacyMode()) { $this->addClass('serendipityPrettyButton'); $this->addClass('input_button'); if ($this->isXhtml11()) { $this->setOnClickEvent("wrapSelection(document.forms['serendipityEntry']['" . $this->getTextarea() . "'],'