code/libraries/joomlatools/component/koowa/template/helper/actionbar.php
public function command($config = array())
    {
        if (JFactory::getApplication()->isSite())
        {
            $config = new KObjectConfigJson($config);
            $config->append(array(
                'command' => NULL
            ));

            $command = $config->command;

            $command->attribs->class->append(array('btn'));

            if ($command->id === 'new' || $command->id === 'apply') {
                $command->attribs->class->append(array('btn-success'));
            }
        }

        return parent::command($config);
    }
public function command($config = array())
    {
        if (JFactory::getApplication()->isSite())
        {
            $config = new KObjectConfigJson($config);
            $config->append(array(
                'command' => NULL
            ));

            $command = $config->command;

            $command->attribs->class->append(array('btn'));

            if ($command->id === 'new' || $command->id === 'apply') {
                $command->attribs->class->append(array('btn-success'));
            }
        }

        return parent::command($config);
    }
public function command ( $ config = array ( ) ) { if ( JFactory :: getApplication ( ) -> isSite ( ) ) { $ config = new KObjectConfigJson ( $ config ) ; $ config -> append ( array ( 'command' => NULL ) ) ; $ command = $ config -> command ; $ command -> attribs -> class -> append ( array ( 'btn' ) ) ; if ( $ command -> id === 'new' || $ command -> id === 'apply' ) { $ command -> attribs -> class -> append ( array ( 'btn-success' ) ) ; } } return parent :: command ( $ config ) ; }
Use Bootstrap 2.3.2 classes for buttons in frontend
@param array $config
@return string
Use Bootstrap 2 . 3 . 2 classes for buttons in frontend