Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/administrator/components/com_zoo/views/configuration/tmpl/importjson.php
Назад
<?php /** * @package com_zoo * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ // no direct access defined('_JEXEC') or die('Restricted access'); // add js $this->app->document->addScript('assets:js/import.js'); ?> <form class="configuration-import menu-has-level3" action="index.php" method="post" name="adminForm" id="adminForm" accept-charset="utf-8" enctype="multipart/form-data"> <?php echo $this->partial('menu'); ?> <div class="box-bottom"> <div> <h2><?php echo JText::_('Import Categories and Items:'); ?></h2> <?php if ($this->info['frontpage_count']) : ?> <fieldset class="frontpage"> <legend><?php echo JText::_('Frontpage:'); ?></legend> <span> <?php echo sprintf(JText::_('Import frontpage'), 1); ?> </span> <input type="checkbox" name="import-frontpage" checked="checked" /> </fieldset> <?php endif; ?> <?php if ($this->info['category_count']) : ?> <fieldset class="categories"> <legend><?php echo JText::_('Categories:'); ?></legend> <span> <?php if ($this->info['category_count'] == 1) { echo sprintf(JText::_('Import %s category'), 1); } else { echo sprintf(JText::_('Import %s categories'), (int) $this->info['category_count']); } ?> </span> <input type="checkbox" name="import-categories" checked="checked" /> </fieldset> <?php endif; ?> <?php foreach ($this->info['items'] as $key => $item_info) : ?> <fieldset class="items"> <legend><?php echo (int) $item_info['item_count']; ?> x <?php echo $key; ?></legend> <div class="assign-group"> <div class="info"> <label for="type-select<?php echo $key; ?>"><?php echo JText::_('CHOOSE_TYPE_MATCH_DATA'); ?></label> <?php $options = array($this->app->html->_('select.option', '', '- '.JText::_('Select Type').' -')); echo $this->app->html->_('zoo.typelist', $this->application, $options, 'types['.$key.']', 'class="type"', 'value', 'text'); ?> </div> <ul> <?php foreach ($item_info['elements'] as $alias => $element_info) : ?> <li class="assign"> <?php foreach ($element_info['assign'] as $type => $assign_elements) { $options = array(); $options[] = $this->app->html->_('select.option', '', JText::_('Ignore')); foreach ($assign_elements as $element) { $options[] = $this->app->html->_('select.option', $element->identifier, $element->config->get('name') . ' (' . ucfirst($element->getElementType()) . ')'); } echo $this->app->html->_('select.genericlist', $options, 'element-assign['.$key.']['.$alias.']['.$type.']', 'class="assign"'); } ?> <span class="name"><?php echo $element_info['name']; ?></span> <span class="type"><?php echo '('.$element_info['type'].')'; ?></span> </li> <?php endforeach; ?> </ul> </div> </fieldset> <?php endforeach; ?> <?php if (!$this->info['frontpage_count'] && !$this->info['category_count'] && empty($this->info['items'])) : ?> <div class="creation-form infobox"> <?php echo JText::_('No content to import!'); ?> </div> <?php else : ?> <button class="button-grey" id="submit-button" type="button"><?php echo JText::_('Import'); ?></button> <?php endif; ?> </div> </div> <input type="hidden" name="option" value="<?php echo $this->option; ?>" /> <input type="hidden" name="controller" value="<?php echo $this->controller; ?>" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="file" value="<?php echo $this->file; ?>" /> <input type="hidden" name="changeapp" value="<?php echo $this->application->id; ?>" /> <?php echo $this->app->html->_('form.token'); ?> <script type="text/javascript"> jQuery(function($) { $('#adminForm').Import( {msgSelectWarning: "<?php echo JText::_("MSG_ASSIGN_WARNING"); ?>", msgWarningDuplicate: "<?php echo JText::_("There are duplicate assignments."); ?>"} ); }); </script> </form> <?php echo ZOO_COPYRIGHT;
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка