<?php

/**
 * @module          Cookie
 * @author          cms-lab
 * @copyright       2010-2026 cms-lab
 * @link            https://cms-lab.com
 * @license         custom license: https://cms-lab.com/_documentation/cookie/license.php
 * @license_terms   see: https://cms-lab.com/_documentation/cookie/license.php
 *
 */

// include secure.php to protect this file and the whole CMS!
if(!defined("SEC_FILE")){define("SEC_FILE",'/framework/secure.php' );}
if (defined('LEPTON_PATH')) {	
	include LEPTON_PATH.SEC_FILE;
} else {
	$oneback = "../";
	$root = $oneback;
	$level = 1;
	while (($level < 10) && (!file_exists($root.SEC_FILE))) {
		$root .= $oneback;
		$level += 1;
	}
	if (file_exists($root.SEC_FILE)) { 
		include $root.SEC_FILE;  
	} else {
		trigger_error(sprintf("[ <b>%s</b> ] Can't include secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
	}
}
// end include secure file

$MOD_COOKIE = array(
	'allow'				=> "I agree",
	'allow_label'		=> "Button Allow",	
	'banner_background'	=> "Banner Color",
	'banner_text'		=> "Banner Text Color",
	'button_background'	=> "Button Color",
	'button_text'		=> "Button Text-Color",	
	'button_border'		=> "Button Border-Color",
	'dismiss'			=> "I accept!",
	'dismiss_label'		=> "Button Dismiss",
	'deny'				=> "I deny!",
	'deny_label'		=> "Button Deny",	
	'examples'			=> "Examples",	
	'info'				=> "Addon Info",	
	'layout'			=> "Layout",
	'learn_more'		=> "Learn more",	
	'learn_more_label'	=> "Learn more link",		
	'message'			=> "This website uses cookies to ensure you get the best experience on our website.",
	'message_label'		=> "Information",	
	'overwrite'			=> "Overwrite language files (only single language sites)",
	'policy_name'		=> "Policy",
	'policy_link'		=> "Policy Link",
	'position'			=> "Position",
	'SAVE_FAILED'		=> "Cookie settings was not saved!",		
	'SAVE_OK'			=> "Cookie settings saved",	
	'type'				=> "Type",
	'type_text1'		=> "Just tell users that we use cookies",
	'type_text2'		=> "Let users opt out of cookies (Advanced)",
	'type_text3'		=> "Ask users to opt into cookies (Advanced)",
	'type_text_message1'	=> "Link for detailed infos</a>",	
	'type_text_message2'	=> "In case of 'advanced options' cookies are set referring to user action!"	
);

