Current Directory: /home/astoriaah/www/administrator/components/com_sh404sef/layouts/com_sh404sef/social
Viewing File: /home/astoriaah/www/administrator/components/com_sh404sef/layouts/com_sh404sef/social/linkedin.php
<?php
/**
* sh404SEF - SEO extension for Joomla!
*
* @author Yannick Gaultier
* @copyright (c) Yannick Gaultier - Weeblr llc - 2022
* @package sh404SEF
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version 4.24.1.4308
* @date 2022-05-31
*/
/**
* Input:
*
* $displayData['layout']
* $displayData['loadScript']
* $displayData['url']
* $displayData['languageTag']
*/
// Security check to ensure this file is being included by a parent file.
if (!defined('_JEXEC')) die('Direct Access to this location is not allowed.');
$layout = empty($displayData['layout']) || $displayData['layout'] == 'none' ? '' : 'data-counter="' . $displayData['layout'] . '"';
?>
<!-- LinkedIn share button -->
<?php if (!empty($displayData['loadScript'])) : ?>
<script src="//platform.linkedin.com/in.js">lang: <?php echo $displayData['languageTag']; ?></script>
<?php endif; ?>
<script type="IN/Share" data-url="<?php echo $displayData['url']; ?>" <?php echo $layout; ?>></script>
<!-- End of LinkedIn share button -->