Server IP : 195.201.23.43 / Your IP : 3.147.59.250 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/cwd/administrator/components/com_menus/views/items/tmpl/ |
Upload File : |
<?php /** * @package Joomla.Administrator * @subpackage com_menus * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $options = array( JHtml::_('select.option', 'c', JText::_('JLIB_HTML_BATCH_COPY')), JHtml::_('select.option', 'm', JText::_('JLIB_HTML_BATCH_MOVE')) ); $published = (int) $this->state->get('filter.published'); $clientId = (int) $this->state->get('filter.client_id'); $menuType = JFactory::getApplication()->getUserState('com_menus.items.menutype'); if ($clientId == 1) : JFactory::getDocument()->addScriptDeclaration( ' jQuery(document).ready(function($){ if ($("#batch-menu-id").length){var batchSelector = $("#batch-menu-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(); } }); } }); ' ); endif; ?> <div class="container-fluid"> <?php if (strlen($menuType) && $menuType != '*') : ?> <?php if ($clientId != 1) : ?> <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::_('batch.access'); ?> </div> </div> </div> <?php endif; ?> <div class="row-fluid"> <?php if ($published >= 0) : ?> <div id="batch-choose-action" class="combo control-group"> <label id="batch-choose-action-lbl" class="control-label" for="batch-menu-id"> <?php echo JText::_('COM_MENUS_BATCH_MENU_LABEL'); ?> </label> <div class="controls"> <select name="batch[menu_id]" id="batch-menu-id"> <option value=""><?php echo JText::_('JLIB_HTML_BATCH_NO_CATEGORY'); ?></option> <?php $opts = array( 'published' => $this->state->get('filter.published'), 'checkacl' => (int) $this->state->get('menutypeid'), 'clientid' => (int) $clientId, ); echo JHtml::_('select.options', JHtml::_('menu.menuitems', $opts)); ?> </select> </div> </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> <?php endif; ?> <?php if ($published < 0 && $clientId == 1): ?> <p><?php echo JText::_('COM_MENUS_SELECT_MENU_FILTER_NOT_TRASHED'); ?></p> <?php endif; ?> </div> <?php else : ?> <div class="row-fluid"> <p><?php echo JText::_('COM_MENUS_SELECT_MENU_FIRST'); ?></p> </div> <?php endif; ?> </div>Private