<?php
/**
 * @package linea21\templates\admin
 * @author $Author$ - linea21 <info@linea21.com>
 * @version $Id$ 
 * @access public
 * @license http://opensource.org/licenses/gpl-3.0.html
 */
?>
<footer id="footer" class="txtcenter">
	<div class="flex-container  center pam" style="max-width: 1280px;">
		<div class="w50	0 txtleft">
			<p>
                <?php
                $apiLink = '<a href="' .SITE_ROOT_URL . 'api/" id="api-footer" class="out" title="'. _t('api', 'access_swagger').'"><img src="' . THEME_ADMIN_PATH. '/images/api-icon.png" alt="API logo"  style="max-height: 40px;margin-right:1em;opacity:0.8;float:left" /></a>';
                if(defined('API_PROVIDE') && API_PROVIDE != 0) echo $apiLink;
                ?>
				<a href="<?php echo SITE_LINEA_URL ;?>" title="<?php echo SITE_LINEA_URL ;?>" class="out"> <?php echo SITE_LINEA_NAME ;?></a>, <?php printf(_t('divers','licence'), 'GNU GPL v3') ?>
            	<a href="<?php echo SUPPORT_LINEA ;?>" title="<?php echo SUPPORT_LINEA ;?>" style="margin-left: 0.5em;"> <i	class="fa fa-ticket"></i> <?php echo _t('help','support');?></a>
			</p>
			<p class="version"><?php echo _t('divers','version');?></p>
		</div>
		<div class="w50 txtright">
			<a href="https://www.intermezzo-coop.eu"><img src="<?php echo THEME_ADMIN_PATH; ?>/images/logo-intermezzo.png" alt="Logo Intermezzo" style="max-width: 200px;" /></a>
		</div>
	</div>
</footer>
<?php
IncludeRichTextEditor();
AddDynamicFooter();
?>