<?php /** * @package RSForm! Pro * @copyright (c) 2009 - 2020 RSJoomla! * @link https://www.rsjoomla.com * @license GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html */ defined('_JEXEC') or die; abstract class RSFormProAdapterGrid { public static function row() { return 'row-fluid'; } public static function column($size) { return 'span' . (int) $size; } public static function sidebar() { return '<div id="j-sidebar-container" class="' . static::column(2) . '">' . JHtmlSidebar::render() . '</div>' . '<div id="j-main-container" class="' . static::column(10) . '">'; } public static function inputAppend($input, $append) { return '<div class="input-append">' . $input . '<span class="add-on">' . $append . '</span>' . '</div>'; } }