CoreFiles by mySites.guru
default_batch_body.php67 lines, 2,273 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
d9b5e2d0c238ac57b2f1df79c2fdfbfe
sha1
e9602a842788b5d1768e70a1b46ba34b69cbbb9d
sha256
84b88156eeb60023299b67d08d2dfc205ba035748ebaea25af1c8d99957fb6da
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_fields
 * 
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;

JHtml::_('formbehavior.chosen', 'select');
JFactory::getDocument()->addScriptDeclaration(
	'
		jQuery(document).ready(function($){
			if ($("#batch-group-id").length){var batchSelector = $("#batch-group-id");}
			if ($("#batch-copy-move").length) {
				$("#batch-copy-move").hide();
				batchSelector.on("change", function(){
					if (batchSelector.val() != 0 || batchSelector.val() != "") {
						$("#batch-copy-move").show();
					} else {
						$("#batch-copy-move").hide();
					}
				});
			}
		});
			'
);

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

<div class="row-fluid">
	<div class="control-group span6">
		<div class="controls">
			<?php echo JLayoutHelper::render('joomla.html.batch.language', array()); ?>
		</div>
	</div>
	<div class="control-group span6">
		<div class="controls">
			<?php echo JLayoutHelper::render('joomla.html.batch.access', array()); ?>
		</div>
	</div>
</div>
<div class="row-fluid">
	<div class="control-group span6">
		<div class="controls">
			<?php $options = array(
				JHtml::_('select.option', 'c', JText::_('JLIB_HTML_BATCH_COPY')),
				JHtml::_('select.option', 'm', JText::_('JLIB_HTML_BATCH_MOVE'))
			);
			?>
			<label id="batch-choose-action-lbl" for="batch-choose-action"><?php echo JText::_('COM_FIELDS_BATCH_GROUP_LABEL'); ?></label>
			<div id="batch-choose-action" class="control-group">
				<select name="batch[group_id]" class="inputbox" id="batch-group-id">
					<option value=""><?php echo JText::_('JLIB_HTML_BATCH_NO_CATEGORY'); ?></option>
					<option value="nogroup"><?php echo JText::_('COM_FIELDS_BATCH_GROUP_OPTION_NONE'); ?></option>
					<?php echo JHtml::_('select.options', $this->get('Groups'), 'value', 'text'); ?>
				</select>
			</div>
			<div id="batch-copy-move" class="control-group radio">
				<?php echo JText::_('JLIB_HTML_BATCH_MOVE_QUESTION'); ?>
				<?php echo JHtml::_('select.radiolist', $options, 'batch[move_copy]', '', 'value', 'text', 'm'); ?>
			</div>
		</div>
	</div>
</div>

No other release has this exact content. See every version of this file.