/** * Setting the toolbar */ protected function addToolBar() { $title = '<div class="lead"><span class="icon-edit"></span>  ' . JText::_('COM_BOOKPRO_PASSENGER_MANAGER') . '</div> <div class="clearfix"></div>'; $save = AHtml::addButton('JSAVE', 'save', 'btn btn-primary', 'agenttransportreport.apply', false); $saveAndClose = AHtml::addButton('COM_BOOKPRO_SAVE_AND_CLOSE', 'save', 'btn btn-primary', 'agenttransportreport.save', false); $cancel = AHtml::addButton('JCANCEL', 'cancel', 'btn btn-primary', 'agenttransportreport.cancel', false); echo '<div class="row-fluid clearfix">' . $title . $save . $saveAndClose . $cancel . '</div>'; }
function getToolbar() { $title = '<div class="lead"><span class="icon-edit"></span>  ' . JText::_('COM_BOOKPRO_PASSENGER_MANAGER') . '</div> <div class="clearfix"></div>'; $save = AHtml::addButton('JSAVE', 'save', 'btn btn-primary', 'agentpassenger.apply', false); $saveAndClose = AHtml::addButton('COM_BOOKPRO_SAVE_AND_CLOSE', 'save', 'btn btn-primary', 'agentpassenger.save', false); $cancel = AHtml::addButton('JCANCEL', 'cancel', 'btn btn-primary', 'agentpassenger.cancel', false); return $title . $save . $saveAndClose . $cancel; }
function getToolbar() { $edit = AHtml::addButton('JGLOBAL_EDIT', 'edit', 'btn', 'agentpassenger.edit', true); $delete = AHtml::addButton('JACTION_DELETE', 'delete', 'btn', 'agentpassengers.delete', true); return $edit . $delete; }