CoreFiles by mySites.guru
default_navigation.php20 lines, 902 bytes, from Joomla_3.9.2-rc-Release_Candidate-Full_Package.zip
Raw History Compare with 3.9.1-rc
md5
6a57c4d337e657a40c371faa5893965c
sha1
3a9b6dfb3309e8c0be8dd1d6dda60a4ff0222271
sha256
a7a799f1e1ccf1798466bda89ec82a3145094455c835eab1da6c4a4206370a7e
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_media
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;
$app   = JFactory::getApplication();
$style = $app->getUserStateFromRequest('media.list.layout', 'layout', 'thumbs', 'word');
?>

<div class="media btn-group">
	<a href="#" id="thumbs" onclick="MediaManager.setViewType('thumbs')" class="btn <?php echo ($style == 'thumbs') ? 'active' : ''; ?>">
	<span class="icon-grid-view-2"></span> <?php echo JText::_('COM_MEDIA_THUMBNAIL_VIEW'); ?></a>
	<a href="#" id="details" onclick="MediaManager.setViewType('details')" class="btn <?php echo ($style == 'details') ? 'active' : ''; ?>">
	<span class="icon-list-view"></span> <?php echo JText::_('COM_MEDIA_DETAIL_VIEW'); ?></a>
</div>

The same content is in 17 releases, Joomla 3.9.2-rc to 3.9.10. See them all, or every version of this file.