Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/media/zoo/elements/relateditems/types.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 */ // get element from parent parameter form $config = $parent->element->config; $application = $parent->application; // init vars $attributes = array(); $attributes['class'] = (string) $node->attributes()->class ? (string) $node->attributes()->class : 'inputbox'; $attributes['multiple'] = 'multiple'; $attributes['size'] = (string) $node->attributes()->size ? (string) $node->attributes()->size : ''; foreach ($application->getTypes() as $type) { $options[] = $this->app->html->_('select.option', $type->id, JText::_($type->name)); } echo $this->app->html->_('select.genericlist', $options, $control_name.'[selectable_types][]', $attributes, 'value', 'text', $config->get('selectable_types', array()));
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка