0byt3m1n1-V2
Path:
/
home
/
phangnga
/
administrator
/
components
/
com_media
/
views
/
medialist
/
tmpl
/
[
Home
]
File: thumbs_doc.php
<?php /** * @package Joomla.Administrator * @subpackage com_media * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\Registry\Registry; $user = JFactory::getUser(); $params = new Registry; $dispatcher = JEventDispatcher::getInstance(); $dispatcher->trigger('onContentBeforeDisplay', array('com_media.file', &$this->_tmp_doc, &$params)); ?> <li class="imgOutline thumbnail height-80 width-80 center"> <?php if ($user->authorise('core.delete', 'com_media')):?> <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 $this->state->folder; ?>&rm[]=<?php echo $this->_tmp_doc->name; ?>" rel="<?php echo $this->_tmp_doc->name; ?>" title="<?php echo JText::_('JACTION_DELETE');?>">×</a> <input class="pull-left" type="checkbox" name="rm[]" value="<?php echo $this->_tmp_doc->name; ?>" /> <div class="clearfix"></div> <?php endif;?> <div class="height-50"> <a style="display: block; width: 100%; height: 100%" title="<?php echo $this->_tmp_doc->name; ?>" > <?php echo JHtml::_('image', $this->_tmp_doc->icon_32, $this->_tmp_doc->name, null, true, true) ? JHtml::_('image', $this->_tmp_doc->icon_32, $this->_tmp_doc->title, null, true) : JHtml::_('image', 'media/con_info.png', $this->_tmp_doc->name, null, true); ?></a> </div> <div class="small" title="<?php echo $this->_tmp_doc->name; ?>" > <?php echo JHtml::_('string.truncate', $this->_tmp_doc->name, 10, false); ?> </div> </li> <?php $dispatcher->trigger('onContentAfterDisplay', array('com_media.file', &$this->_tmp_doc, &$params));
©
2018.