Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/medialist.zip
Назад
PK F�!]�%�� � tmpl/details_videos.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; JHtml::_('bootstrap.tooltip'); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); JFactory::getDocument()->addScriptDeclaration(" jQuery(document).ready(function($){ window.parent.jQuery('#videoPreview').on('hidden', function () { window.parent.jQuery('#mejsPlayer')[0].player.pause(); }); }); "); ?> <?php foreach ($this->videos as $i => $video) : ?> <?php $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$video, &$params, 0)); ?> <tr> <?php if ($this->canDelete) : ?> <td> <?php echo JHtml::_('grid.id', $i, $this->escape($video->name), false, 'rm', 'cb-video'); ?> </td> <?php endif; ?> <td> <a class="video-preview" href="<?php echo COM_MEDIA_BASEURL, '/', rawurlencode($video->name); ?>" title="<?php echo $this->escape($video->title); ?>"> <?php echo JHtml::_('image', $video->icon_16, $this->escape($video->title), null, true); ?> </a> </td> <td class="description"> <a class="video-preview" href="<?php echo COM_MEDIA_BASEURL, '/', rawurlencode($video->name); ?>" title="<?php echo $this->escape($video->name); ?>"> <?php echo $this->escape($video->name); ?> </a> </td> <td class="dimensions"> <?php // Can we figure out the dimensions of the video? ?> </td> <td class="filesize"> <?php echo JHtml::_('number.bytes', $video->size); ?> </td> <?php if ($this->canDelete) : ?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($video->name); ?>" rel="<?php echo $this->escape($video->name); ?>"> <span class="icon-remove hasTooltip" title="<?php echo JHtml::tooltipText('JACTION_DELETE'); ?>"></span> </a> </td> <?php endif; ?> </tr> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$video, &$params, 0)); ?> <?php endforeach; ?> PK F�!]��ԉ& & tmpl/details_video.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @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; use Joomla\Registry\Registry; JHtml::_('bootstrap.tooltip'); $user = JFactory::getUser(); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$this->_tmp_video, &$params, 0)); JFactory::getDocument()->addScriptDeclaration(" jQuery(document).ready(function($){ window.parent.jQuery('#videoPreview').on('hidden', function () { window.parent.jQuery('#mejsPlayer')[0].player.pause(); }); }); "); ?> <tr> <td> <a class="video-preview" href="<?php echo COM_MEDIA_BASEURL . '/' . rawurlencode($this->_tmp_video->name); ?>" title="<?php echo $this->escape($this->_tmp_video->title); ?>"><?php JHtml::_('image', $this->_tmp_video->icon_16, $this->escape($this->_tmp_video->title), null, true); ?></a> </td> <td class="description"> <a class="video-preview" href="<?php echo COM_MEDIA_BASEURL . '/' . rawurlencode($this->_tmp_video->name); ?>" title="<?php echo $this->escape($this->_tmp_video->name); ?>"> <?php echo JHtml::_('string.truncate', $this->escape($this->_tmp_video->name), 10, false); ?> </a> </td> <td class="dimensions"> <?php // Can we figure out the dimensions of the video? ?> </td> <td class="filesize"> <?php echo JHtml::_('number.bytes', $this->_tmp_video->size); ?> </td> <?php if ($user->authorise('core.delete', 'com_media')):?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($this->_tmp_video->name); ?>" rel="<?php echo $this->escape($this->_tmp_video->name); ?>"><span class="icon-remove hasTooltip" title="<?php echo JHtml::_('tooltipText', 'JACTION_DELETE');?>"></span></a> <input type="checkbox" name="rm[]" value="<?php echo $this->escape($this->_tmp_video->name); ?>" /> </td> <?php endif;?> </tr> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$this->_tmp_video, &$params, 0)); PK F�!]�Ʊ�� � tmpl/thumbs_videos.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @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; use Joomla\Registry\Registry; $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); JFactory::getDocument()->addScriptDeclaration(" jQuery(document).ready(function($){ window.parent.jQuery('#videoPreview').on('hidden', function () { window.parent.jQuery('#mejsPlayer')[0].player.pause(); }); }); "); ?> <?php foreach ($this->videos as $i => $video) : ?> <?php $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$video, &$params, 0)); ?> <li class="imgOutline thumbnail height-80 width-80 center"> <?php if ($this->canDelete) : ?> <a class="close delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($video->name); ?>" rel="<?php echo $this->escape($video->name); ?>" title="<?php echo JText::_('JACTION_DELETE'); ?>">×</a> <div class="pull-left"> <?php echo JHtml::_('grid.id', $i, $this->escape($video->name), false, 'rm', 'cb-video'); ?> </div> <div class="clearfix"></div> <?php endif; ?> <div class="height-50"> <?php echo JHtml::_('image', $video->icon_32, $this->escape($video->title), null, true); ?> </div> <div class="small"> <a class="video-preview" href="<?php echo COM_MEDIA_BASEURL, '/', rawurlencode($video->path_relative); ?>" title="<?php echo $this->escape($video->name); ?>"> <?php echo JHtml::_('string.truncate', $this->escape($video->name), 10, false); ?> </a> </div> </li> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$video, &$params, 0)); ?> <?php endforeach; ?> PK F�!]�p\�f f tmpl/thumbs_folders.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <?php foreach ($this->folders as $i => $folder) : ?> <li class="imgOutline thumbnail height-80 width-80 center"> <?php if ($this->canDelete) : ?> <a class="close delete-item" target="_top" href="index.php?option=com_media&task=folder.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($folder->name); ?>" rel="<?php echo $this->escape($folder->name); ?> :: <?php echo $this->escape($folder->files) + $this->escape($folder->folders); ?>" title="<?php echo JText::_('JACTION_DELETE'); ?>">×</a> <div class="pull-left"> <?php echo JHtml::_('grid.id', $i, $this->escape($folder->name), false, 'rm', 'cb-folder'); ?> </div> <div class="clearfix"></div> <?php endif; ?> <div class="height-50"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($folder->path_relative); ?>" target="folderframe"> <span class="icon-folder-2"></span> </a> </div> <div class="small"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($folder->path_relative); ?>" target="folderframe"> <?php echo JHtml::_('string.truncate', $this->escape($folder->name), 10, false); ?> </a> </div> </li> <?php endforeach; ?> PK F�!].؍�� � tmpl/details_up.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $user = JFactory::getUser(); ?> <?php if ($this->state->folder != '') : ?> <tr> <?php if ($this->canDelete) : ?> <td> </td> <?php endif; ?> <td class="imgTotal"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($this->state->parent); ?>" target="folderframe"> <span class="icon-arrow-up"></span></a> </td> <td class="description"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($this->state->parent); ?>" target="folderframe">..</a> </td> <td> </td> <td> </td> <?php if ($user->authorise('core.delete', 'com_media')) : ?> <td> </td> <?php endif; ?> </tr> <?php endif; ?> PK F�!]��ٮ� � tmpl/thumbs_up.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <?php if ($this->state->folder != '') : ?> <li class="imgOutline thumbnail height-80 width-80 center"> <div class="imgTotal"> <div class="imgBorder"> <a class="btn" href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($this->state->parent); ?>" target="folderframe"> <span class="icon-arrow-up"></span></a> </div> </div> <div class="controls"> <span> </span> </div> <div class="imginfoBorder"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($this->state->parent); ?>" target="folderframe">..</a> </div> </li> <?php endif; ?> PK F�!]��q{6 6 tmpl/details_folders.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('bootstrap.tooltip'); ?> <?php foreach ($this->folders as $i => $folder) : ?> <?php $link = 'index.php?option=com_media&view=mediaList&tmpl=component&folder=' . rawurlencode($folder->path_relative); ?> <tr> <?php if ($this->canDelete) : ?> <td> <?php echo JHtml::_('grid.id', $i, $this->escape($folder->name), false, 'rm', 'cb-folder'); ?> </td> <?php endif; ?> <td class="imgTotal"> <a href="<?php echo $link; ?>" target="folderframe"><span class="icon-folder-2"></span></a> </td> <td class="description"> <a href="<?php echo $link; ?>" target="folderframe"><?php echo $this->escape($folder->name); ?></a> </td> <td> </td> <td> </td> <?php if ($this->canDelete) : ?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=folder.delete&tmpl=index&folder=<?php echo rawurlencode($this->state->folder); ?>&<?php echo JSession::getFormToken(); ?>=1&rm[]=<?php echo $this->escape($folder->name); ?>" rel="<?php echo $this->escape($folder->name); ?> :: <?php echo $this->escape($folder->files) + $this->escape($folder->folders); ?>"> <span class="icon-remove hasTooltip" title="<?php echo JHtml::tooltipText('JACTION_DELETE'); ?>"></span> </a> </td> <?php endif; ?> </tr> <?php endforeach; ?> PK F�!]W+�5 5 tmpl/details_img.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; JHtml::_('bootstrap.tooltip'); $user = JFactory::getUser(); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$this->_tmp_img, &$params, 0)); ?> <tr> <td> <a class="img-preview" href="<?php echo COM_MEDIA_BASEURL . '/' . str_replace('%2F', '/', rawurlencode($this->_tmp_img->path_relative)); ?>" title="<?php echo $this->escape($this->_tmp_img->name); ?>"><?php echo JHtml::_('image', COM_MEDIA_BASEURL . '/' . $this->escape($this->_tmp_img->path_relative), JText::sprintf('COM_MEDIA_IMAGE_TITLE', $this->_tmp_img->title, JHtml::_('number.bytes', $this->_tmp_img->size)), array('width' => $this->_tmp_img->width_16, 'height' => $this->_tmp_img->height_16)); ?></a> </td> <td class="description"> <a href="<?php echo COM_MEDIA_BASEURL . '/' . str_replace('%2F', '/', rawurlencode($this->_tmp_img->path_relative)); ?>" title="<?php echo $this->escape($this->_tmp_img->name); ?>" class="preview"><?php echo $this->escape($this->_tmp_img->title); ?></a> </td> <td class="dimensions"> <?php echo JText::sprintf('COM_MEDIA_IMAGE_DIMENSIONS', $this->_tmp_img->width, $this->_tmp_img->height); ?> </td> <td class="filesize"> <?php echo JHtml::_('number.bytes', $this->_tmp_img->size); ?> </td> <?php if ($user->authorise('core.delete', 'com_media')):?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($this->_tmp_img->name); ?>" rel="<?php echo $this->escape($this->_tmp_img->name); ?>"><span class="icon-remove hasTooltip" title="<?php echo JHtml::_('tooltipText', 'JACTION_DELETE');?>"></span></a> <input type="checkbox" name="rm[]" value="<?php echo $this->escape($this->_tmp_img->name); ?>" /> </td> <?php endif;?> </tr> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$this->_tmp_img, &$params, 0)); PK F�!]�كv� � tmpl/details_doc.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; JHtml::_('bootstrap.tooltip'); $user = JFactory::getUser(); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$this->_tmp_doc, &$params, 0)); ?> <tr> <td> <a title="<?php echo $this->escape($this->_tmp_doc->name); ?>"> <?php echo JHtml::_('image', $this->_tmp_doc->icon_16, $this->escape($this->_tmp_doc->title), null, true, true) ? JHtml::_('image', $this->_tmp_doc->icon_16, $this->_tmp_doc->title, array('width' => 16, 'height' => 16), true) : JHtml::_('image', 'media/con_info.png', $this->escape($this->_tmp_doc->title), array('width' => 16, 'height' => 16), true);?> </a> </td> <td class="description" title="<?php echo $this->escape($this->_tmp_doc->name); ?>"> <?php echo $this->escape($this->_tmp_doc->title); ?> </td> <td>  </td> <td class="filesize"> <?php echo JHtml::_('number.bytes', $this->_tmp_doc->size); ?> </td> <?php if ($user->authorise('core.delete', 'com_media')):?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($this->_tmp_doc->name); ?>" rel="<?php echo $this->escape($this->_tmp_doc->name); ?>"><span class="icon-remove hasTooltip" title="<?php echo JHtml::_('tooltipText', 'JACTION_DELETE');?>"></span></a> <input type="checkbox" name="rm[]" value="<?php echo $this->escape($this->_tmp_doc->name); ?>" /> </td> <?php endif;?> </tr> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$this->_tmp_doc, &$params, 0)); PK F�!]gS�\ \ tmpl/details_imgs.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; JHtml::_('bootstrap.tooltip'); $user = JFactory::getUser(); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); ?> <?php foreach ($this->images as $i => $image) : ?> <?php $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$image, &$params, 0)); ?> <tr> <?php if ($this->canDelete) : ?> <td> <?php echo JHtml::_('grid.id', $i, $this->escape($image->name), false, 'rm', 'cb-image'); ?> </td> <?php endif; ?> <td> <a class="img-preview" href="<?php echo COM_MEDIA_BASEURL . '/' . str_replace('%2F', '/', rawurlencode($image->path_relative)); ?>" title="<?php echo $this->escape($image->name); ?>"> <?php echo JHtml::_('image', COM_MEDIA_BASEURL . '/' . $this->escape($image->path_relative), JText::sprintf('COM_MEDIA_IMAGE_TITLE', $this->escape($image->title), JHtml::_('number.bytes', $image->size)), array('width' => $image->width_16, 'height' => $image->height_16)); ?> </a> </td> <td class="description"> <a href="<?php echo COM_MEDIA_BASEURL . '/' . str_replace('%2F', '/', rawurlencode($image->path_relative)); ?>" title="<?php echo $this->escape($image->name); ?>" class="preview"> <?php echo $this->escape($image->title); ?> </a> </td> <td class="dimensions"> <?php echo JText::sprintf('COM_MEDIA_IMAGE_DIMENSIONS', $image->width, $image->height); ?> </td> <td class="filesize"> <?php echo JHtml::_('number.bytes', $image->size); ?> </td> <?php if ($this->canDelete) : ?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($image->name); ?>" rel="<?php echo $this->escape($image->name); ?>"> <span class="icon-remove hasTooltip" title="<?php echo JHtml::tooltipText('JACTION_DELETE'); ?>"></span> </a> </td> <?php endif; ?> </tr> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$image, &$params, 0)); ?> <?php endforeach; ?> PK F�!]�"��! ! tmpl/details_folder.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $user = JFactory::getUser(); JHtml::_('bootstrap.tooltip'); ?> <tr> <td class="imgTotal"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($this->_tmp_folder->path_relative); ?>" target="folderframe"> <span class="icon-folder-2"></span></a> </td> <td class="description"> <a href="index.php?option=com_media&view=mediaList&tmpl=component&folder=<?php echo rawurlencode($this->_tmp_folder->path_relative); ?>" target="folderframe"><?php echo $this->escape($this->_tmp_folder->name); ?></a> </td> <td>  </td> <td>  </td> <?php if ($user->authorise('core.delete', 'com_media')):?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=folder.delete&tmpl=index&folder=<?php echo rawurlencode($this->state->folder); ?>&<?php echo JSession::getFormToken(); ?>=1&rm[]=<?php echo $this->_tmp_folder->name; ?>" rel="<?php echo $this->_tmp_folder->name; ?>' :: <?php echo $this->_tmp_folder->files + $this->_tmp_folder->folders; ?>"><span class="icon-remove hasTooltip" title="<?php echo JHtml::_('tooltipText', 'JACTION_DELETE');?>"></span></a> <input type="checkbox" name="rm[]" value="<?php echo $this->_tmp_folder->name; ?>" /> </td> <?php endif;?> </tr> PK F�!]G2�_ tmpl/default.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; PK F�!]�ƾ�. . tmpl/thumbs_imgs.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); ?> <?php foreach ($this->images as $i => $img) : ?> <?php $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$img, &$params, 0)); ?> <li class="imgOutline thumbnail height-80 width-80 center"> <?php if ($this->canDelete) : ?> <a class="close delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($img->name); ?>" rel="<?php echo $this->escape($img->name); ?>" title="<?php echo JText::_('JACTION_DELETE'); ?>">×</a> <div class="pull-left"> <?php echo JHtml::_('grid.id', $i, $this->escape($img->name), false, 'rm', 'cb-image'); ?> </div> <div class="clearfix"></div> <?php endif; ?> <div class="height-50"> <a class="img-preview" href="<?php echo COM_MEDIA_BASEURL . '/' . str_replace('%2F', '/', rawurlencode($img->path_relative)); ?>" title="<?php echo $this->escape($img->name); ?>" > <?php echo JHtml::_('image', COM_MEDIA_BASEURL . '/' . $this->escape($img->path_relative), JText::sprintf('COM_MEDIA_IMAGE_TITLE', $this->escape($img->title), JHtml::_('number.bytes', $img->size)), array('width' => $img->width_60, 'height' => $img->height_60)); ?> </a> </div> <div class="small"> <a href="<?php echo COM_MEDIA_BASEURL, '/', rawurlencode($img->path_relative); ?>" title="<?php echo $this->escape($img->name); ?>" class="preview"> <?php echo JHtml::_('string.truncate', $this->escape($img->name), 10, false); ?> </a> </div> </li> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$img, &$params, 0)); ?> <?php endforeach; ?> PK F�!]���� � tmpl/details_docs.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; JHtml::_('bootstrap.tooltip'); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); ?> <?php foreach ($this->documents as $i => $doc) : ?> <?php $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$doc, &$params, 0)); ?> <tr> <?php if ($this->canDelete) : ?> <td> <?php echo JHtml::_('grid.id', $i, $this->escape($doc->name), false, 'rm', 'cb-document'); ?> </td> <?php endif; ?> <td> <a title="<?php echo $this->escape($doc->name); ?>"> <?php echo JHtml::_('image', $doc->icon_16, $this->escape($doc->title), null, true, true) ? JHtml::_('image', $doc->icon_16, $this->escape($doc->title), array('width' => 16, 'height' => 16), true) : JHtml::_('image', 'media/con_info.png', $this->escape($doc->title), array('width' => 16, 'height' => 16), true); ?> </a> </td> <td class="description" title="<?php echo $this->escape($doc->name); ?>"> <?php echo $this->escape($doc->title); ?> </td> <td> </td> <td class="filesize"> <?php echo JHtml::_('number.bytes', $doc->size); ?> </td> <?php if ($this->canDelete) : ?> <td> <a class="delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($doc->name); ?>" rel="<?php echo $this->escape($doc->name); ?>"> <span class="icon-remove hasTooltip" title="<?php echo JHtml::tooltipText('JACTION_DELETE'); ?>"></span> </a> </td> <?php endif; ?> </tr> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$doc, &$params, 0)); ?> <?php endforeach; ?> PK F�!]�g�� � tmpl/details.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $params = JComponentHelper::getParams('com_media'); $path = 'file_path'; JHtml::_('jquery.framework'); JHtml::_('behavior.core'); $doc = JFactory::getDocument(); // Need to override this core function because we use a different form id $doc->addScriptDeclaration( " Joomla.isChecked = function( isitchecked, form ) { if ( typeof form === 'undefined' ) { form = document.getElementById( 'mediamanager-form' ); } form.boxchecked.value += isitchecked ? 1 : -1; // If we don't have a checkall-toggle, done. if ( !form.elements[ 'checkall-toggle' ] ) return; // Toggle main toggle checkbox depending on checkbox selection var c = true, i, e, n; for ( i = 0, n = form.elements.length; i < n; i++ ) { e = form.elements[ i ]; if ( e.type == 'checkbox' && e.name != 'checkall-toggle' && !e.checked ) { c = false; break; } } form.elements[ 'checkall-toggle' ].checked = c; }; " ); $doc->addScriptDeclaration( " jQuery(document).ready(function($){ window.parent.document.updateUploader(); $('.img-preview, .preview').each(function(index, value) { $(this).on('click', function(e) { window.parent.jQuery('#imagePreviewSrc').attr('src', $(this).attr('href')); window.parent.jQuery('#imagePreview').modal('show'); return false; }); }); $('.video-preview').each(function(index, value) { $(this).unbind('click'); $(this).on('click', function(e) { e.preventDefault(); window.parent.jQuery('#videoPreview').modal('show'); var elementInitialised = window.parent.jQuery('#mejsPlayer').attr('src'); if (!elementInitialised) { window.parent.jQuery('#mejsPlayer').attr('src', $(this).attr('href')); window.parent.jQuery('#mejsPlayer').mediaelementplayer(); } window.parent.jQuery('#mejsPlayer')[0].player.media.setSrc($(this).attr('href')); return false; }); }); }); " ); ?> <form target="_parent" action="index.php?option=com_media&tmpl=index&folder=<?php echo rawurlencode($this->state->folder); ?>" method="post" id="mediamanager-form" name="mediamanager-form"> <div class="muted"> <p> <span class="icon-folder"></span> <?php echo $params->get($path, 'images'), ($this->escape($this->state->folder) != '') ? '/' . $this->escape($this->state->folder) : ''; ?> </p> </div> <div class="manager"> <table class="table table-striped table-condensed"> <thead> <tr> <?php if ($this->canDelete) : ?> <th width="1%"> <?php echo JHtml::_('grid.checkall'); ?> </th> <?php endif; ?> <th width="1%"><?php echo JText::_('JGLOBAL_PREVIEW'); ?></th> <th><?php echo JText::_('COM_MEDIA_NAME'); ?></th> <th width="15%"><?php echo JText::_('COM_MEDIA_PIXEL_DIMENSIONS'); ?></th> <th width="8%"><?php echo JText::_('COM_MEDIA_FILESIZE'); ?></th> <?php if ($this->canDelete) : ?> <th width="8%"> <?php echo JText::_('JACTION_DELETE'); ?> </th> <?php endif; ?> </tr> </thead> <tbody> <?php echo $this->loadTemplate('up'), $this->loadTemplate('folders'), $this->loadTemplate('docs'), $this->loadTemplate('videos'), $this->loadTemplate('imgs'); ?> </tbody> </table> </div> <input type="hidden" name="task" value="list" /> <input type="hidden" name="username" value="" /> <input type="hidden" name="password" value="" /> <input type="hidden" name="boxchecked" value="" /> <?php echo JHtml::_('form.token'); ?> </form> PK F�!]V�^f� � tmpl/thumbs.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $params = JComponentHelper::getParams('com_media'); $path = 'file_path'; JHtml::_('jquery.framework'); JHtml::_('behavior.core'); $doc = JFactory::getDocument(); // Need to override this core function because we use a different form id $doc->addScriptDeclaration( " Joomla.isChecked = function( isitchecked, form ) { if ( typeof form === 'undefined' ) { form = document.getElementById( 'mediamanager-form' ); } form.boxchecked.value += isitchecked ? 1 : -1; // If we don't have a checkall-toggle, done. if ( !form.elements[ 'checkall-toggle' ] ) return; // Toggle main toggle checkbox depending on checkbox selection var c = true, i, e, n; for ( i = 0, n = form.elements.length; i < n; i++ ) { e = form.elements[ i ]; if ( e.type == 'checkbox' && e.name != 'checkall-toggle' && !e.checked ) { c = false; break; } } form.elements[ 'checkall-toggle' ].checked = c; }; " ); $doc->addScriptDeclaration( " jQuery(document).ready(function($){ window.parent.document.updateUploader(); $('.img-preview, .preview').each(function(index, value) { $(this).on('click', function(e) { window.parent.jQuery('#imagePreviewSrc').attr('src', $(this).attr('href')); window.parent.jQuery('#imagePreview').modal('show'); return false; }); }); $('.video-preview').each(function(index, value) { $(this).unbind('click'); $(this).on('click', function(e) { e.preventDefault(); window.parent.jQuery('#videoPreview').modal('show'); var elementInitialised = window.parent.jQuery('#mejsPlayer').attr('src'); if (!elementInitialised) { window.parent.jQuery('#mejsPlayer').attr('src', $(this).attr('href')); window.parent.jQuery('#mejsPlayer').mediaelementplayer(); } window.parent.jQuery('#mejsPlayer')[0].player.media.setSrc($(this).attr('href')); return false; }); }); }); " ); ?> <form target="_parent" action="index.php?option=com_media&tmpl=index&folder=<?php echo rawurlencode($this->state->folder); ?>" method="post" id="mediamanager-form" name="mediamanager-form"> <div class="muted breadcrumbs"> <p> <span class="icon-folder"></span> <?php echo $params->get($path, 'images'), ($this->escape($this->state->folder) != '') ? '/' . $this->escape($this->state->folder) : ''; ?> </p> </div> <div> <label class="checkbox btn"> <?php echo JHtml::_('grid.checkall'); ?> <?php echo JText::_('JGLOBAL_CHECK_ALL'); ?> </label> </div> <ul class="manager thumbnails thumbnails-media"> <?php echo $this->loadTemplate('up'), $this->loadTemplate('folders'), $this->loadTemplate('docs'), $this->loadTemplate('videos'), $this->loadTemplate('imgs'); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="username" value="" /> <input type="hidden" name="password" value="" /> <input type="hidden" name="boxchecked" value="" /> <?php echo JHtml::_('form.token'); ?> </ul> </form> PK F�!]'˾b b tmpl/thumbs_docs.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); ?> <?php foreach ($this->documents as $i => $doc) : ?> <?php $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$doc, &$params, 0)); ?> <li class="imgOutline thumbnail height-80 width-80 center"> <?php if ($this->canDelete) : ?> <a class="close delete-item" target="_top" href="index.php?option=com_media&task=file.delete&tmpl=index&<?php echo JSession::getFormToken(); ?>=1&folder=<?php echo rawurlencode($this->state->folder); ?>&rm[]=<?php echo $this->escape($doc->name); ?>" rel="<?php echo $this->escape($doc->name); ?>" title="<?php echo JText::_('JACTION_DELETE'); ?>">×</a> <div class="pull-left"> <?php echo JHtml::_('grid.id', $i, $this->escape($doc->name), false, 'rm', 'cb-document'); ?> </div> <div class="clearfix"></div> <?php endif; ?> <div class="height-50"> <a style="display: block; width: 100%; height: 100%" title="<?php echo $this->escape($doc->name); ?>" > <?php echo JHtml::_('image', $doc->icon_32, $this->escape($doc->name), null, true, true) ? JHtml::_('image', $doc->icon_32, $this->escape($doc->title), null, true) : JHtml::_('image', 'media/con_info.png', $this->escape($doc->name), null, true); ?> </a> </div> <div class="small" title="<?php echo $this->escape($doc->name); ?>" > <?php echo JHtml::_('string.truncate', $this->escape($doc->name), 10, false); ?> </div> </li> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$doc, &$params, 0)); ?> <?php endforeach; ?> PK F�!]�RR R view.html.phpnu &1i� <?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * HTML View class for the Media component * * @since 1.0 */ class MediaViewMediaList extends JViewLegacy { /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return mixed A string if successful, otherwise an Error object. * * @since 1.0 */ public function display($tpl = null) { $app = JFactory::getApplication(); if (!$app->isClient('administrator')) { return $app->enqueueMessage(JText::_('JERROR_ALERTNOAUTHOR'), 'warning'); } // Do not allow cache $app->allowCache(false); $this->images = $this->get('images'); $this->documents = $this->get('documents'); $this->folders = $this->get('folders'); $this->videos = $this->get('videos'); $this->state = $this->get('state'); // Check for invalid folder name if (empty($this->state->folder)) { $dirname = JFactory::getApplication()->input->getPath('folder', ''); if (!empty($dirname)) { $dirname = htmlspecialchars($dirname, ENT_COMPAT, 'UTF-8'); JError::raiseWarning(100, JText::sprintf('COM_MEDIA_ERROR_UNABLE_TO_BROWSE_FOLDER_WARNDIRNAME', $dirname)); } } $user = JFactory::getUser(); $this->canDelete = $user->authorise('core.delete', 'com_media'); parent::display($tpl); } } PK F�!]�%�� � tmpl/details_videos.phpnu &1i� PK F�!]��ԉ& & F tmpl/details_video.phpnu &1i� PK F�!]�Ʊ�� � � tmpl/thumbs_videos.phpnu &1i� PK F�!]�p\�f f � tmpl/thumbs_folders.phpnu &1i� PK F�!].؍�� � S! tmpl/details_up.phpnu &1i� PK F�!]��ٮ� � {% tmpl/thumbs_up.phpnu &1i� PK F�!]��q{6 6 `) tmpl/details_folders.phpnu &1i� PK F�!]W+�5 5 �/ tmpl/details_img.phpnu &1i� PK F�!]�كv� � W9 tmpl/details_doc.phpnu &1i� PK F�!]gS�\ \ pA tmpl/details_imgs.phpnu &1i� PK F�!]�"��! ! K tmpl/details_folder.phpnu &1i� PK F�!]G2�_ yQ tmpl/default.phpnu &1i� PK F�!]�ƾ�. . �R tmpl/thumbs_imgs.phpnu &1i� PK F�!]���� � 1[ tmpl/details_docs.phpnu &1i� PK F�!]�g�� � Mc tmpl/details.phpnu &1i� PK F�!]V�^f� � Or tmpl/thumbs.phpnu &1i� PK F�!]'˾b b i tmpl/thumbs_docs.phpnu &1i� PK F�!]�RR R � view.html.phpnu &1i� PK � ��
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка