<?php
use Joomla\CMS\Uri\Uri;
/**
 * @package     Sven.Bluege
 * @subpackage  com_eventgallery
 *
 * @copyright   Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
/**
 * @var \de\svenbluege\joomla\eventgallery\ObjectWithConfiguration $this
 * @var EventgalleryLibraryFolder $folder
 */

$folder = $this->model->folder;

?>
<style>
    .sharing-dialog_container {

    }
    .sharing-dialog_controlls {
        float: right;
    }

    .sharing-dialog_icons {
        padding: 0 10px;
    }

    .sharing-dialog_icons h2 {
        margin-top: 0;
    }

    .sharing-dialog_icons .preview-image{
        margin-bottom: 10px;
    }

    .sharing-dialog_icons .egfa{
        height: 32px;
        width: 32px;

    }
</style>
<div class="sharing-dialog_container">
    <div class="sharing-dialog_controlls">
        <a href="#" class="eventgallery-close-overlay"><i class="egfa egfa-2x egfa-times"></i></a>
    </div>
    <div class="sharing-dialog_icons">
    <?php IF ($this->config->getSocial()->doUseSocialSharingButton() && $folder->isShareable()):?>
        <?php echo $this->loadTemplate('body')?>
    <?php ENDIF ?>
    </div>
</div>
