/** _GET FORM --------------------------------------------------------------------------------------------------------------------------------------------- * Render a form to give this button custom options, inner helper method of @see form. This is the only way a form can be overloaded. * * @return string */ protected function _getForm() { return '<strong>Layout</strong>' . '<div class = "buttonselect">' . XLII_GUIFactory::radio(array('name' => $this->_field('button'), 'value' => $this->option('button'), 'options' => array('none' => '<span class = "xlii-icon twitter none"></span>', 'horizontal' => '<span class = "xlii-icon twitter horizontal"></span>', 'vertical' => '<span class = "xlii-icon twitter vertical"></span>'))) . '</div>'; }
/** _GET FORM --------------------------------------------------------------------------------------------------------------------------------------------- * Render a form to give this button custom options, inner helper method of @see form. This is the only way a form can be overloaded. * * @return string */ protected function _getForm() { return '<strong>Layout</strong>' . '<div class = "buttonselect">' . XLII_GUIFactory::radio(array('name' => $this->_field('button'), 'value' => $this->option('button'), 'options' => array('none' => '<span class = "xlii-icon google none"></span>', 'bubble' => '<span class = "xlii-icon google bubble"></span>', 'inline' => '<span class = "xlii-icon google inline"></span><span class = "icontext">... people +1\'d this.</span>'))) . '</div>'; }
/** _GET FORM --------------------------------------------------------------------------------------------------------------------------------------------- * Render a form to give this button custom options, inner helper method of @see form. This is the only way a form can be overloaded. * * @return string */ protected function _getForm() { return '<strong>Layout</strong>' . '<div class = "buttonselect">' . XLII_GUIFactory::radio(array('name' => $this->_field('button'), 'value' => $this->option('button'), 'options' => array('standard' => '<span class = "xlii-icon facebook plain"></span><span class = "icontext">... people like this. Be the first of your friends.</span>', 'button_count' => '<span class = "xlii-icon facebook horizontal"></span>', 'box_count' => '<span class = "xlii-icon facebook vertical"></span>'))) . '</div>' . XLII_GUIFactory::checkbox(array('name' => $this->_field('send'), 'value' => $this->option('send'), 'label' => __('Include send button'))); }