Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/media/zoo/elements/relateditems/tmpl/edit.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'); $this->app->html->_('behavior.modal', 'a.modal-button'); ?> <div id="<?php echo $this->identifier; ?>" class="select-relateditems"> <ul> <?php foreach ($data as $item) : ?> <li> <div> <div class="item-name"><?php echo $item->name; ?></div> <div class="item-sort" title="<?php echo JText::_('Sort Item'); ?>"></div> <div class="item-delete" title="<?php echo JText::_('Delete Item'); ?>"></div> <input type="hidden" name="<?php echo $this->getControlName('item', true); ?>" value="<?php echo $item->id; ?>"/> </div> </li> <?php endforeach; ?> </ul> <a class="item-add modal-button" rel="{handler: 'iframe', size: {x: 850, y: 500}}" title="<?php echo JText::_('Add Item'); ?>" href="<?php echo $link; ?>" ><?php echo JText::_('Add Item'); ?></a> </div> <script type="text/javascript"> jQuery(function($) { $('#<?php echo $this->identifier; ?>').ElementRelatedItems({ variable: '<?php echo $this->getControlName('item', true); ?>', msgDeleteItem: '<?php echo JText::_('Delete Item'); ?>', msgSortItem: '<?php echo JText::_('Sort Item'); ?>' }); }); </script>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка