Your IP : 104.23.243.223


Current Path : /var/www/html/Joomla/plugins/system/cookiehint/include/
Upload File :
Current File : /var/www/html/Joomla/plugins/system/cookiehint/include/redimstyle.php

<?PHP
# reDim GmbH - Norbert Bayer
# Plugin: CookieHint
# license GNU/GPL   www.redim.de

// No direct access
defined('JPATH_BASE') or die;
$notxt = addslashes(JText::_('PLG_SYSTEM_COOKIEHINT_REALLY_NO'));

?>
<script type="text/javascript">
    function cookiehintsubmitnoc(obj) {
        if (confirm("<?PHP echo $notxt;?>")) {
            document.cookie = 'reDimCookieHint=-1; expires=0; path=/';
            cookiehintfadeOut(document.getElementById('redim-cookiehint-<?PHP echo $position;?>'));
            return true;
        } else {
            return false;
        }
    }
</script>
<div id="redim-cookiehint-<?PHP echo $position; ?>">
    <div id="redim-cookiehint">
        <div class="cookiehead">
            <span class="headline"><?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_HEAD'); ?></span>
        </div>
        <div class="cookiecontent">
			<?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_INFO'); ?>
        </div>
        <div class="cookiebuttons">
            <a id="cookiehintsubmit" onclick="return cookiehintsubmit(this);" href="<?PHP echo $linkok; ?>"
               class="btn"><?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_BTN_OK'); ?></a>
			<?PHP if ($refusal == 2): ?>
				<?PHP if (!empty($refusalurl)): ?>
                    <a id="cookiehintsubmitno" href="<?PHP echo $refusalurl; ?>"
                       class="btn"><?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_BTN_NOTOK'); ?></a>
				<?PHP endif; ?>
			<?PHP elseif ($refusal == 1): ?>
                <a id="cookiehintsubmitno" onclick="return cookiehintsubmitnoc(this);" href="<?PHP echo $linknotok; ?>"
                   class="btn"><?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_BTN_NOTOK'); ?></a>
			<?PHP endif; ?>

            <div class="text-center" id="cookiehintinfo">
	        <?PHP if(!empty($link)): ?>
                <a target="_self" href="<?PHP echo $link; ?>"><?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_BTN_INFO'); ?></a>
	        <?PHP endif; ?>
	        <?PHP if(!empty($link) AND !empty($linkimprint)):?>
                |
	        <?PHP endif; ?>
	        <?PHP if(!empty($linkimprint)): ?>
                <a target="_self" href="<?PHP echo $linkimprint;?>"><?PHP echo JText::_('PLG_SYSTEM_COOKIEHINT_BTN_IMPRINT'); ?></a>
	        <?PHP endif; ?>
            </div>

        </div>
        <div class="clr"></div>
    </div>
</div>