* @version $Id$ * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ global $plug; $options = $plug->retrieveValues($GLOBALS['sql_object']); isset($options['linkto']) ? $moreinfo = $options['linkto'] : $moreinfo = 'http://www.aboutcookies.org/'; isset($options['message']) ? $message = $options['message'] : $message = _t('cookieLaw', 'default-message'); isset($options['bg']) ? $bg = $options['bg'] : $bg = '#000'; isset($options['fg']) ? $fg = $options['fg'] : $fg = '#ddd'; isset($options['linkcolor']) ? $linkcolor = $options['linkcolor'] : $linkcolor = '#aaa'; isset($options['mask']) ? $mask = 'true' : $mask = 'false'; isset($options['closetext']) ? $closetext = $options['closetext'] : $closetext = _t('cookieLaw', 'got-it'); isset($options['closestyle']) ? $closestyle = $options['closestyle'] : $closestyle = 'border-radius:3px;background-color:#00B0EB;color:white;float:right;font-weight:bold;padding:0.2em 1em;'; // We prepare the JS content to embed // data-expires="31536000" is supposed to make cookie expires after 1 year (in seconds) $js = ''; footerAddInlineJS($js, 'default', false); ?>