first commit
This commit is contained in:
27
administrator/modules/mod_frontend/tmpl/default.php
Normal file
27
administrator/modules/mod_frontend/tmpl/default.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage mod_frontend
|
||||
*
|
||||
* @copyright (C) 2019 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\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
?>
|
||||
<a href="<?php echo Uri::root(); ?>" class="header-item-content"
|
||||
title="<?php echo Text::sprintf('MOD_FRONTEND_PREVIEW', $sitename); ?>"
|
||||
target="_blank">
|
||||
<div class="header-item-icon">
|
||||
<span class="icon-external-link-alt" aria-hidden="true"></span>
|
||||
</div>
|
||||
<div class="header-item-text">
|
||||
<?php echo HTMLHelper::_('string.truncate', $sitename, 28, false, false); ?>
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user