public static function item($extension)
	{
		// Create the copy/move options.
		$options = array(
			Select::option('c', Lang::txt('JLIB_HTML_BATCH_COPY')),
			Select::option('m', Lang::txt('JLIB_HTML_BATCH_MOVE'))
		);

		// Create the batch selector to change select the category by which to move or copy.
		$lines = array(
			'<label id="batch-choose-action-lbl" for="batch-choose-action">',
			Lang::txt('JLIB_HTML_BATCH_MENU_LABEL'),
			'</label>',
			'<fieldset id="batch-choose-action" class="combo">',
			'<select name="batch[category_id]" class="inputbox" id="batch-category-id">',
			'<option value="">' . Lang::txt('JSELECT') . '</option>',
			Select::options(Category::options($extension)),
			'</select>',
			Select::radiolist($options, 'batch[move_copy]', '', 'value', 'text', 'm'),
			'</fieldset>'
		);

		return implode("\n", $lines);
	}
public static function item($extension)
	{
		// Create the copy/move options.
		$options = array(
			Select::option('c', Lang::txt('JLIB_HTML_BATCH_COPY')),
			Select::option('m', Lang::txt('JLIB_HTML_BATCH_MOVE'))
		);

		// Create the batch selector to change select the category by which to move or copy.
		$lines = array(
			'<label id="batch-choose-action-lbl" for="batch-choose-action">',
			Lang::txt('JLIB_HTML_BATCH_MENU_LABEL'),
			'</label>',
			'<fieldset id="batch-choose-action" class="combo">',
			'<select name="batch[category_id]" class="inputbox" id="batch-category-id">',
			'<option value="">' . Lang::txt('JSELECT') . '</option>',
			Select::options(Category::options($extension)),
			'</select>',
			Select::radiolist($options, 'batch[move_copy]', '', 'value', 'text', 'm'),
			'</fieldset>'
		);

		return implode("\n", $lines);
	}
public static function item ( $ extension ) { // Create the copy/move options. $ options = array ( Select :: option ( 'c' , Lang :: txt ( 'JLIB_HTML_BATCH_COPY' ) ) , Select :: option ( 'm' , Lang :: txt ( 'JLIB_HTML_BATCH_MOVE' ) ) ) ; // Create the batch selector to change select the category by which to move or copy. $ lines = array ( '<label id="batch-choose-action-lbl" for="batch-choose-action">' , Lang :: txt ( 'JLIB_HTML_BATCH_MENU_LABEL' ) , '</label>' , '<fieldset id="batch-choose-action" class="combo">' , '<select name="batch[category_id]" class="inputbox" id="batch-category-id">' , '<option value="">' . Lang :: txt ( 'JSELECT' ) . '</option>' , Select :: options ( Category :: options ( $ extension ) ) , '</select>' , Select :: radiolist ( $ options , 'batch[move_copy]' , '' , 'value' , 'text' , 'm' ) , '</fieldset>' ) ; return implode ( "\n" , $ lines ) ; }
Displays a batch widget for moving or copying items.

@param   string  $extension  The extension that owns the category.
@return  string  The necessary HTML for the widget.
Displays a batch widget for moving or copying items .