/administrator/components/com_media/views/medialist/tmpl/details_up.php

https://bitbucket.org/eternaware/joomus · PHP · 27 lines · 18 code · 2 blank · 7 comment · 1 complexity · 2c29722eb82432097c791df81683b109 MD5 · raw file

  1. <?php
  2. /**
  3. * @package Joomla.Administrator
  4. * @subpackage com_media
  5. *
  6. * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
  7. * @license GNU General Public License version 2 or later; see LICENSE.txt
  8. */
  9. defined('_JEXEC') or die;
  10. $user = JFactory::getUser();
  11. ?>
  12. <tr>
  13. <td class="imgTotal">
  14. <a href="index.php?option=com_media&amp;view=mediaList&amp;tmpl=component&amp;folder=<?php echo $this->state->parent; ?>" target="folderframe">
  15. <i class="icon-arrow-up"></i></a>
  16. </td>
  17. <td class="description">
  18. <a href="index.php?option=com_media&amp;view=mediaList&amp;tmpl=component&amp;folder=<?php echo $this->state->parent; ?>" target="folderframe">..</a>
  19. </td>
  20. <td>&#160;</td>
  21. <td>&#160;</td>
  22. <?php if ($user->authorise('core.delete', 'com_media')):?>
  23. <td>&#160;</td>
  24. <?php endif;?>
  25. </tr>