Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrammatiko committed May 20, 2015
1 parent b85a59a commit 8198572
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,20 @@
<?php endforeach; ?>
</tbody>
</table>
<?php //Load the batch processing form. ?>
<?php echo JHtml::_(
'bootstrap.renderModal',
'collapseModal',
array(
'title' => JText::_('COM_BANNERS_BATCH_OPTIONS'),
'width' => '800px',
'height' => '300px',
'footer' => $this->loadTemplate('batch_footer')
),
$this->loadTemplate('batch_body')
);
?>
<?php endif; ?>
<?php //Load the batch processing form. ?>
<?php echo $this->loadTemplate('batch'); ?>

<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_banners
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;

$published = $this->state->get('filter.published');
?>

<p><?php echo JText::_('COM_BANNERS_BATCH_TIP'); ?></p>
<div class="row-fluid">
<div class="control-group span6">
<div class="controls">
<?php echo JHtml::_('batch.language'); ?>
</div>
</div>
<div class="control-group span6">
<div class="controls">
<?php echo JHtml::_('banner.clients'); ?>
</div>
</div>
</div>
<div class="row-fluid">
<?php if ($published >= 0) : ?>
<div class="control-group span6">
<div class="controls">
<?php echo JHtml::_('batch.item', 'com_banners'); ?>
</div>
</div>
<?php endif; ?>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_banners
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;
?>
<button class="btn" type="button" onclick="document.getElementById('batch-category-id').value='';document.getElementById('batch-client-id').value='';document.getElementById('batch-language-id').value=''" data-dismiss="modal">
<?php echo JText::_('JCANCEL'); ?>
</button>
<button class="btn btn-primary" type="submit" onclick="Joomla.submitbutton('banner.batch');">
<?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?>
</button>
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ protected function addToolbar()
&& $user->authorise('core.edit', 'com_banners')
&& $user->authorise('core.edit.state', 'com_banners'))
{
JHtml::_('bootstrap.modal', 'collapseModal');
$title = JText::_('JTOOLBAR_BATCH');

// Instantiate a new JLayoutFile instance and render the batch button
Expand Down

0 comments on commit 8198572

Please sign in to comment.