AAAAview.html.php000066600000002720151402641660007204 0ustar00isRTL()) : JHtml::_('stylesheet', 'media/popup-imagelist_rtl.css', array(), true); endif; $document = JFactory::getDocument(); $document->addScriptDeclaration("var ImageManager = window.parent.ImageManager;"); $images = $this->get('images'); $folders = $this->get('folders'); $state = $this->get('state'); $this->baseURL = COM_MEDIA_BASEURL; $this->assignRef('images', $images); $this->assignRef('folders', $folders); $this->assignRef('state', $state); parent::display($tpl); } function setFolder($index = 0) { if (isset($this->folders[$index])) { $this->_tmp_folder = &$this->folders[$index]; } else { $this->_tmp_folder = new JObject; } } function setImage($index = 0) { if (isset($this->images[$index])) { $this->_tmp_img = &$this->images[$index]; } else { $this->_tmp_img = new JObject; } } } .htaccess000066600000000177151402641660006360 0ustar00 Order allow,deny Deny from all index.html000066600000000037151402641660006552 0ustar00 tmpl/default_image.php000066600000002153151402641660011031 0ustar00trigger('onContentBeforeDisplay', array('com_media.file', &$this->_tmp_img, &$params)); ?>
baseURL.'/'.$this->_tmp_img->path_relative, JText::sprintf('COM_MEDIA_IMAGE_TITLE', $this->_tmp_img->title, MediaHelper::parseSize($this->_tmp_img->size)), array('width' => $this->_tmp_img->width_60, 'height' => $this->_tmp_img->height_60)); ?> _tmp_img->title; ?>
trigger('onContentAfterDisplay', array('com_media.file', &$this->_tmp_img, &$params)); ?> tmpl/.htaccess000066600000000177151402641660007334 0ustar00 Order allow,deny Deny from all tmpl/index.html000066600000000037151402641660007526 0ustar00 tmpl/default.php000066600000001422151402641660007665 0ustar00 images) > 0 || count($this->folders) > 0) { ?>
folders); $i<$n; $i++) : $this->setFolder($i); echo $this->loadTemplate('folder'); endfor; ?> images); $i<$n; $i++) : $this->setImage($i); echo $this->loadTemplate('image'); endfor; ?>

tmpl/default_folder.php000066600000001341151402641660011220 0ustar00
_tmp_folder->name, array('height' => 80, 'width' => 80), true); ?> _tmp_folder->name; ?>