[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_categories/views/categories/tmpl/ -> default_batch.php (source)

   1  <?php
   2  /**
   3   * @package        Joomla.Administrator
   4   * @subpackage    com_categories
   5   * @copyright    Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
   6   * @license        GNU General Public License version 2 or later; see LICENSE.txt
   7   */
   8  
   9  // no direct access
  10  defined('_JEXEC') or die;
  11  
  12  $options = array(
  13      JHtml::_('select.option', 'c', JText::_('JLIB_HTML_BATCH_COPY')),
  14      JHtml::_('select.option', 'm', JText::_('JLIB_HTML_BATCH_MOVE'))
  15  );
  16  $published    = $this->state->get('filter.published');
  17  $extension    = $this->escape($this->state->get('filter.extension'));
  18  ?>
  19  <fieldset class="batch">
  20      <legend><?php echo JText::_('COM_CATEGORIES_BATCH_OPTIONS');?></legend>
  21      <p><?php echo JText::_('COM_CATEGORIES_BATCH_TIP'); ?></p>
  22      <?php echo JHtml::_('batch.access');?>
  23      <?php echo JHtml::_('batch.language'); ?>
  24  
  25      <?php if ($published >= 0) : ?>
  26          <label id="batch-choose-action-lbl" for="batch-category-id">
  27              <?php echo JText::_('COM_CATEGORIES_BATCH_CATEGORY_LABEL'); ?>
  28          </label>
  29          <fieldset id="batch-choose-action" class="combo">
  30          <select name="batch[category_id]" class="inputbox" id="batch-category-id">
  31              <option value=""><?php echo JText::_('JSELECT') ?></option>
  32              <?php echo JHtml::_('select.options', JHtml::_('category.categories', $extension, array('filter.published' => $published)));?>
  33          </select>
  34          <?php echo JHtml::_( 'select.radiolist', $options, 'batch[move_copy]', '', 'value', 'text', 'm'); ?>
  35          </fieldset>
  36      <?php endif; ?>
  37  
  38      <button type="submit" onclick="submitbutton('category.batch');">
  39          <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?>
  40      </button>
  41      <button type="button" onclick="document.id('batch-category-id').value='';document.id('batch-access').value='';document.id('batch-language-id').value=''">
  42          <?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?>
  43      </button>
  44  </fieldset>


Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1