Continued formatting of JCB code
This commit is contained in:
@ -47,20 +47,20 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
}
|
||||
|
||||
// Assign data to the view
|
||||
$this->items = $this->get('Items');
|
||||
$this->pagination = $this->get('Pagination');
|
||||
$this->state = $this->get('State');
|
||||
$this->user = JFactory::getUser();
|
||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$this->saveOrder = $this->listOrder == 'ordering';
|
||||
$this->items = $this->get('Items');
|
||||
$this->pagination = $this->get('Pagination');
|
||||
$this->state = $this->get('State');
|
||||
$this->user = JFactory::getUser();
|
||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$this->saveOrder = $this->listOrder == 'ordering';
|
||||
// get global action permissions
|
||||
$this->canDo = ComponentbuilderHelper::getActions('custom_code');
|
||||
$this->canEdit = $this->canDo->get('custom_code.edit');
|
||||
$this->canState = $this->canDo->get('custom_code.edit.state');
|
||||
$this->canCreate = $this->canDo->get('custom_code.create');
|
||||
$this->canDelete = $this->canDo->get('custom_code.delete');
|
||||
$this->canBatch = $this->canDo->get('core.batch');
|
||||
$this->canDo = ComponentbuilderHelper::getActions('custom_code');
|
||||
$this->canEdit = $this->canDo->get('custom_code.edit');
|
||||
$this->canState = $this->canDo->get('custom_code.edit.state');
|
||||
$this->canCreate = $this->canDo->get('custom_code.create');
|
||||
$this->canDelete = $this->canDo->get('custom_code.delete');
|
||||
$this->canBatch = $this->canDo->get('core.batch');
|
||||
|
||||
// We don't need toolbar in the modal window.
|
||||
if ($this->getLayout() !== 'modal')
|
||||
@ -159,7 +159,7 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('custom_codes');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
Reference in New Issue
Block a user