Skip to content

Commit

Permalink
batch permission n modal marged with joomla staging: links list in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsbd71 committed Jul 20, 2015
1 parent 5029e4b commit 4a1724b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions administrator/components/com_redirect/views/links/tmpl/default.php
Expand Up @@ -166,14 +166,26 @@
<?php endforeach; ?>
</tbody>
</table>
<?php //Load the batch processing form if user is allowed ?>
<?php if ($user->authorise('core.create', 'com_redirect')
&& $user->authorise('core.edit', 'com_redirect')
&& $user->authorise('core.edit.state', 'com_redirect')) : ?>
<?php echo JHtml::_(
'bootstrap.renderModal',
'collapseModal',
array(
'title' => JText::_('COM_REDIRECT_BATCH_OPTIONS'),
'footer' => $this->loadTemplate('batch_footer')
),
$this->loadTemplate('batch_body')
); ?>
<?php endif;?>
<?php endif; ?>

<?php if (!empty($this->items)) : ?>
<?php echo $this->loadTemplate('addform'); ?>
<?php endif; ?>

<?php echo $this->loadTemplate('batch'); ?>

<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
Expand Down

0 comments on commit 4a1724b

Please sign in to comment.