Your IP : 216.73.216.219


Current Path : /home/pteabiscqq/www/plugins/system/lab5_cookie_commander/
Upload File :
Current File : /home/pteabiscqq/www/plugins/system/lab5_cookie_commander/lab5_cookie_commander.xml

<?xml version="1.0" encoding="utf-8"?>
<extension version="3.1" type="plugin" group="system" method="upgrade">
	<name>LAB5_COOKIE_COMMANDER</name>
	<shortname>Cookie Commander</shortname>
	<author>Lab5 - Dennis Riegelsberger</author>
	<authorUrl>https://lab5.ch</authorUrl>
	<authorEmail>info@lab5.ch</authorEmail>
	<copyright>Copyright (C) 2018+  Lab5 - Dennis Riegelsberger. All rights reserved.</copyright>
	<copyrightUrl>https://lab5.ch</copyrightUrl>
	<license>GNU/GPL General Public License version 2 or later</license>
	<licenseUrl>http://www.gnu.org/licenses/gpl-2.0.html</licenseUrl>
	<project>https://lab5.ch/cookie-commander</project>
	<jed>extensions/extension/site-management/cookie-control/lab5-cookie-commander/</jed> 
	<downloadserver>
				<srcfile>lab5_cookie_commander.zip</srcfile>
				<name>Lab5 - Cookie Commander</name>
				<description>Lab5's Cookie Commander</description>
				<versions>
						<ver>3.[6789]</ver>
				</versions>
	</downloadserver>
	<thanks>
			<thank for="cookiebar"><![CDATA[
					PrimeBox, <a target='_blank' href="http://www.primebox.co.uk/projects/cookie-bar//">www.primebox.co.uk</a>, info@primebox.co.uk<p class='smaller'>For the jQuery CookieBar Plugin (Cookie Warning) script.</p>
			]]></thank>
	</thanks>
	<creationDate>2018-07-01</creationDate>
	<description>LAB5_COOKIE_COMMANDER_DESCRIPTION</description>
	<version>20.09.03</version>
	<updateDate>2020-09-03</updateDate>
	<changeLog>
			<changeDate date="2020-09-03">
					<change>Small correction in the Matomo ( formerly Piwik ) Tracker embedment</change> 
			</changeDate>
			<changeDate date="2020-08-31">
					<change>Cleared credits</change> 
			</changeDate>
			<changeDate date="2020-08-20">
					<change>Piwik Analytics : Updated Piwik/Matono Tracker class with latest version.</change> 
					<change>Corrected problem with IP setting. Correct user IP setting fundamentally requires the authtoken ( with at least WRITE access ) ).</change> 
			</changeDate>
			<changeDate date="2020-08-17">
					<change>Cookie Commander : Templated all parts of cookie bar + popup/modal, i.e. made all parts overrideable via user template.</change> 
			</changeDate>
			<changeDate date="2020-08-15">
					<change>Cookie Commander : Introduced bootstrap-native modal. Is default popup-pariant now.</change> 
					<change>Cookie Commander : complete overhaul.</change> 
					<change>Images cache and resize : pathing overhaul + resilience</change> 
			</changeDate>
			<changeDate date="2020-03-05">
					<change>Updated field -about-</change>  
			</changeDate>
			<changeDate date="2020-01-13">
					<change>Minor fix in cookie_commander/form.embed.php</change>  
			</changeDate>
			<changeDate date="2020-01-03">
					<change>Updated XML Structure and Fields  (i.e. JED-Link)</change> 
			</changeDate>
			<changeDate date="2019-12-14">
					<change>Rewritten Installer.</change> 
					<change>New lab5 standart field (changelog).</change> 
			</changeDate>
	</changeLog>
	
	<!-- UPDATESERVER DEFINITION -->
	<updateservers>
					<!-- Note: No spaces or linebreaks allowed between the server tags -->
					<server type="extension" priority="1" name="Lab5 - Update Server (Cookie Commander)">https://downloadserver.lab5.ch/updates.joomla.xml?extension=plg_lab5_cookie_commander</server>
	</updateservers>
	
	<scriptfile>_installer/lab5_cookie_commander.install.php</scriptfile>
	
	<files>
	<filename plugin="lab5_cookie_commander">lab5_cookie_commander.php</filename>
        <folder>_admin</folder>
        <folder>_installer</folder>
        <folder>analytics</folder>
        <folder>cookie_commander</folder>
        <folder>language</folder>
        <filename>index.html</filename>
        <filename>lab5_cookie_commander.xml</filename>
	</files>
	<languages>
		<language tag="en-GB">language/en-GB/en-GB.plg_system_lab5_cookie_commander.sys.ini</language>
		<language tag="en-GB">language/en-GB/en-GB.plg_system_lab5_cookie_commander.ini</language>
		<language tag="de-CH">language/de-CH/de-CH.plg_system_lab5_cookie_commander.ini</language>
		<language tag="de-DE">language/de-DE/de-DE.plg_system_lab5_cookie_commander.ini</language>
		<language tag="fr-FR">language/fr-FR/fr-FR.plg_system_lab5_cookie_commander.ini</language>
	</languages>
	<config>
		<fields name="params"   >
		
		
			<addpath addfieldpath="/plugins/system/lab5_cookie_commander/imgresizecache/fields" />
			<addpath addfieldpath="/plugins/system/lab5_cookie_commander/cookie_commander/fields" />
			<addpath addfieldpath="/plugins/system/lab5_cookie_commander/_admin/elements/ext" />
		
			<fieldset name="basic">
								
								<field type="about" />
								<field type="jed" /> 
							
			</fieldset>
			<fieldset name="changelog" label="Changelog">
								
								<field type="changelog" /> 
							
			</fieldset>
			<fieldset name="LAB5NEWS" label="Important News!" >
					
								<field type="latestnews" />
			
			</fieldset>
			<fieldset name="LAB5OPENSOURCE" label="Need more features?" >
								
								<field type="jed" />
								<field type="donationplox" />
			
			</fieldset>
			
			
			
			
			
	
			<fieldset name="COOKIE_COMMANDER_ANALYTICS" >
			
			
				<field type="separatorheading" label="Basics"  description="" />
					
							<field 
							name="anal_respect_donottrack" 
							label="Respect Do-Not-Track ?"
							type="radio" class="btn-group" default="0"
							description="Respect Browser's Do-Not-Track setting ? (PHP Stealth-Mode ignores that option in every case )." >
								<option value="0">JNO</option>
								<option value="1">JYES</option>
							</field>

							<field name="anal_donottrack_infotxt" 
							type="textarea"  filter="raw" 
							label="Do-Not-Track Infotext" 
							description="Will appear (in the 'Cookie Controls' form ), if visitor's browser has Do-Not-Track set. ( Tip: LAB5_COOKIE_DONOTTRACK_INFOTXT represents the translateable language variable )" 
							default="LAB5_COOKIE_DONOTTRACK_INFOTXT" 
							/>
			
				<field type="separatorheading" label="[ GOOGLE ANALYTICS ]"  description="" />
					
							<field 
							name="anal_activate_google" 
							label="Activate Google Analytics ?"
							type="radio" class="btn-group" default="0"
							description="" >
								<option value="0">JOFF</option>
								<option value="1">JON</option>
							</field>

							<field name="cw_googleanalyticsUA" type="text" default="" 
							label="Property ID" 
							description="Google Analytics Property ID - ( something like UA-XXXXXXXX-1 ). Enter your Google Analytics Property UA here. The decline button can tell Google Analytics to explicitly NOT track  user interaction ( It does so, by setting a blocker-cookie, but therefore it must know, the UA code. )" />
		
							<field 
							name="anal_googleAnonymize" 
							label="Anonymize visitor's IP ?"
							type="radio" class="btn-group" default="1"
							description="Highly ecomended for use (at very least!) in the EUDSSR !" >
								<option value="0">JNO</option>
								<option value="1">JYES</option>
							</field>
						
							<field 
							name="anal_googlePosition" 
							label="Where to output the code ?"
							type="radio" class="btn-group" default="1"
							description="Head = before end of &lt;/head&gt; tag. footer = before closing of &lt;/body&gt; tag. " >
								<option value="1">head</option>
								<option value="2">footer</option>
							</field>
							
				<field type="separatorheading" label="[ MATOMO / PIWIK ]"  description="" />
							
							<field 
							name="anal_activate_piwik" 
							label="Activate Matomo / Piwik ?"
							type="radio" class="btn-group" default="0"
							description="" >
								<option value="0">JOFF</option>
								<option value="1">JON</option>
							</field>
							
							<field name="anal_piwikAddress" type="text" default="" 
							label="Matomo (Piwik) Address" hint="https://mypiwik.mywebsite.org"
							description="Example: https://mypiwik.mywebsite.org" />
							<!-- type text, weil dann auch ohne sheme zulässig -->
							
							<field name="anal_piwikID" type="text" default="" 
							label="Matomo (Piwik) ID" 
							description="" />
							
							<field 
							name="anal_piwikEmbedMode" 
							label="How to Embed Matomo (Piwik) ?"
							type="radio" class="btn-group" default="1"
							description="The PHP-emedded tracker does not have as many data-'dimensions' as the JS tracker. ( For example device dimensions are missing ). But on the other hand, it meassures data, that the JS tracker doesnt ( e.g. Joomla! specific data like :  loggedin status, componet, view ). Stealth-Mode ignores browser's Do-Not-Track Setting." >
								<option value="1">(JS) JavaScript</option>
								<option value="2">(PHP) normal</option>
								<option value="3">(PHP) Stealth-Mode</option>
							</field>
							
							<field name="anal_piwikAUTHtoken" type="text" default="" 						
							label="Matomo (Piwik) AUTH Token (for PHP)" 
							description="You only need this for the PHP Tracker. You can find this in your Piwik Backend under Config -> Platform -> API." />
						
			</fieldset>
			
			
			
			
			
			
			
			
			<fieldset name="COOKIE_COMMANDER_MANAGEMENT"	>
				
								<field 
								name="cw_on" 
								label="Use this feature ?"
								type="radio" class="btn-group"
								description="This must be set to yes, if u want the CookieBar Plugin at all !" 
								default="0" >
									<option value="0">JOFF</option>
									<option value="1">JON</option>
								</field>
								
								<field type="helptemplating" />
								<field type="overridepath" />
				
				<field type="separatorheading" label="Cookies you want to control" />
					
					
								<field name="cookie_selection" type="cookiecontroller" multiple="true" default="" label="Select the Cookie - Plugins you want to use ( multi-select )" description="" />
					
								<field type="helpcookiecontrollers" />
								<field type="overridepath" />
								
								 
				<field type="separatorheading" label="Cookie Management Behaviour"  description="" />
					
								<field 
								name="cw_modus" 
								label="LAB5_COOKIE_COMMANDER_MODUS_OPERANDI"
								type="radio" class="btn-group"
								description="How do you want the plugin to operate ?" 
								default="optout" >
									<option value="optin">Opt-In</option>
									<option value="optout">Opt-Out</option>
								</field>
								
								<field type="spacer" label="Set to 'Opt-Out' for cookies to be accepted automatically. Banner still shows" /> 

								<field 
								name="cw_acceptOnContinue" 
								label="Accept on continue ?"
								type="radio" class="btn-group"
								description="Set to true to accept cookies when visitor moves to another page" 
								default="0" >
									<option value="0">JNO</option>
									<option value="1">JYES</option>
								</field>

								<field 
								name="cw_acceptOnScroll" 
								label="Accept on scroll ?"
								type="radio" class="btn-group"
								description="Set to true to accept cookies when visitor scrolls X pixels up or down" 
								default="0" >
									<option value="0">JNO</option>
									<option value="1">JYES</option>
								</field>

								<field 
								name="cw_acceptAnyClick" 
								label="Accept on any click ?"
								type="radio" class="btn-group"
								description="Set to true to accept cookies when visitor clicks anywhere on the page" 
								default="0" >
									<option value="0">JNO</option>
									<option value="1">JYES</option>
								</field>

								<field name="cw_expireDays" type="number" default="0" 
								label="Cookie Lifetime ( days; 0 = session )" 
								description="Number of days for cookieBar cookie to be stored for ( 0 = Until the end of the browser session. )" />

								<field 
								name="cw_renewOnVisit" 
								label="Renew cookie lifetime on visit"
								type="radio" class="btn-group"
								description="Renew (timestamp) the cookie upon revisit to website" 
								default="0" >
									<option value="0">JNO</option>
									<option value="1">JYES</option>
								</field>
				
				<field type="separatorheading" label="Info Bar : Basics"  description="" /> 
								
								<field 
								name="cw_showMode" 
								label="Info-Bar Visibility"
								type="radio" class="btn-group"
								description="Option 'never' : Suppressing the cookie bar is not recommended. It ONLY makes sense in case you want to embed the Cookie-Controls form somewhere else in your site. In an estimated 99 out of 100 cases, it makes NO sense, to suppress the cookie bar." 
								default="normal" >
									<option value="normal">Interactive (recommended)</option>
									<option value="always">Always</option>
									<option value="never">JHIDE</option>
									<!--<option value="never">JNEVER</option>-->
								</field>

								<field name="cw_message" type="textarea"  filter="raw"
								translate_default="false" 
								default="CC_MESSAGE" 
								label="Message Text" 
								description="Message displayed on the Cookie bar. ( html allowed ). You can place a LANGUAGE_VARIABLE instead of text, so you can have Translations" />
								
								<field 
								name="cw_effect" 
								label="Effect"
								type="radio" class="btn-group" 
								description="Set to true for cookieBar HTML to be placed at base of website. Actual position may change according to CSS" 
								default="slide" >
									<option value="slide">slide</option>
									<option value="fade">fade</option>
									<option value="hide">hide</option>
								</field>
								
								<field name="cw_element" type="text" default="body" 
								label="Element to attach to" 
								description="Element to append/prepend cookieBar to. Remember &quot;.&quot; for class or &quot;#&quot; for id." />

								<field 
								name="cw_append" 
								label="Append to"
								type="radio" class="btn-group" default="1"
								description="Set to true for cookieBar HTML to be placed at base of website. Actual position may change according to CSS" >
									<option value="0">start of element</option>
									<option value="1">end of element</option>
								</field>

								<field 
								name="cw_fixed" 
								label="Position fixed/static"
								type="radio" class="btn-group"
								description="Set to true to add the class &quot;fixed&quot; to the cookie bar. Default CSS should fix the position" 
								default="1" >
									<option value="0">static</option>
									<option value="1">fixed</option>
								</field>

								<field 
								name="cw_bottom" 
								label="Position top/bottom"
								type="radio" class="btn-group"
								description="Force CSS when fixed, so bar appears at bottom of website" 
								default="1" >
									<option value="0">top</option>
									<option value="1">bottom</option>
								</field>

								<field name="cw_zindex" type="text" default="987654321" 
								label="CSS z-Index" 
								description="In case you need to adjust the z-index level, you can do so, here." />
								
								<field name="cw_cbar_color" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_BG_COLOR" required="false"  />
								
								<field name="cw_cbar_text_col" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_TXT" />
								
								<field name="cw_cbar_link_col" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_LINK" />
								
								<!--
								<field name="cw_btn_text_col" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_BTN_TXT" />
								-->
								
								<field 
								name="cc_load_css" 
								label="Cookie Bar CSS ?"
								type="radio" class="btn-group"
								description="Load CSS for basic Cookie Bar formatting ?" 
								default="1" >
									<option value="0">JOFF</option>
									<option value="1">JON</option>
								</field>
								
							 
				<field type="separatorheading" label="Button : Accept (all)"  />
				
					
								<field 
								name="cw_acceptButton" 
								label="Show Accept Button ?"
								type="radio" class="btn-group"
								description="Set to true to show accept/enable button" 
								default="1" >
									<option value="0">JHIDE</option>
									<option value="1">JSHOW</option>
								</field>

								<field name="cw_acceptText" type="text"  filter="raw" 
								default="CC_BTN_ACCEPT" 
								label="Accept Button Text" 
								description="Text on accept/enable button (html allowed) (language constant allowed -> for translateability)" />
								
								<field name="cw_btn_bg_enable" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_BG" />
								
								<field name="cw_color_btn_txt_enable" type="color" format="rgba" default="" label="Color Text" />
								
								<field name="cc_btn_class_accept" type="text" default="btn" label="Button CSS Class" />
							
							
				<field type="separatorheading" label="Button : Decline (all)"  />
				
			
								<field 
								name="cw_declineButton" 
								label="Show Decline Button ?"
								type="radio" class="btn-group"
								description="Set to true to show decline/disable button" 
								default="0" >
									<option value="0">JHIDE</option>
									<option value="1">JSHOW</option>
								</field>
								
								<field name="cw_declineText" type="text" filter="raw" 
								default="CC_BTN_DECLINE" 
								label="Decline Button Text" 
								description="Text on decline/disable button.  (html allowed) (language constant allowed -> for translateability)" />
								
								<field name="cw_declineURL" type="text"  default="" 
								label="Decline Exit URL" 
								description="Optional URL to escape to, when user refuses to accept cookies." />
								
								<field name="cw_btn_bg_disable" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_BG" />
								
								<field name="cw_color_btn_txt_disable" type="color" format="rgba" default="" label="Color Text" /> 
								
								<field name="cc_btn_class_disable" type="text" default="btn" label="Button CSS Class" />
								

				<field type="separatorheading" label="Button : Policy Info Page"  />
				
									
								<field 
								name="cw_policyButton" 
								label="Show Policy Button ?"
								type="radio" class="btn-group"
								description="Set to true to show Cookie Policy button" 
								default="0" >
									<option value="0">JHIDE</option>
									<option value="1">JSHOW</option>
								</field>

								<field name="cw_policyText" type="text" filter="raw" 
								default="CC_BTN_POLICY" 
								label="Cookie Policy Button Text" 
								description="Text on Cookie Policy button (html allowed) (language constant allowed -> for translateability)" />
								
								<field name="cw_policyURL" type="menuitem"
									label="Cookie Policy URL" 
									description="URL of Cookie Policy Text" />

								<field name="cw_policyURLalternative" type="text" default="" 
								label="Cookie Policy URL Override" 
								description="Alternative URL of Cookie Policy. If something is entered here, this ULR is taken instead of the normal/above Cookie Policy URL." />
								
								<field name="cw_btn_bg_policy" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_BG" />
								
								<field name="cw_color_btn_txt_policy" type="color" format="rgba" default="" label="Color Text" />
								
								<field name="cc_btn_class_policy" type="text" default="btn" label="Button CSS Class" />
								
									
									
				<field type="separatorheading" label="Button : Cookie-Controls"  />
				
									
								<field 
								name="cw_controllsButton" 
								label="Show Cookie Controls Button ?"
								type="radio" class="btn-group"
								description="Set to true to show cookie controlls button" 
								default="1" >
									<option value="0">JHIDE</option>
									<option value="1">JSHOW</option>
								</field>

								<field name="cw_controllsText" type="text" filter="raw" 
								default="CC_BTN_CONTROLS" 
								label="Cookie Controls Button Text" 
								description="Text on Cookie Controls button. (html allowed) (language constant allowed -> for translateability)" />
								
								<field name="cw_btn_bg_controlls" type="color" format="rgba" default="" label="LAB5_COOKIE_COMMANDER_COLOR_BG" />
								
								<field name="cw_color_btn_txt_controls" type="color" format="rgba" default="" label="Color Text" />
								
								<field name="cc_btn_class_controlls" type="text" default="btn" label="Button CSS Class" />
								
									
				<field type="separatorheading" label="Cookie-Controls - Form :" />
				
				
								<field name="form_radio_container_cls" type="text" default="radio" label="Radio Container CSS Class" />
				
								<field name="form_radio_label_cls" type="text" default="radio" label="Radio Label CSS Class" />
				
								<field name="form_radio_input_cls" type="text" default="radio" label="Radio Input CSS Class" />
								
									
				<field type="separatorheading" label="Cookie-Controls - Form - Popup/Modal/Lightbox :"  description="( Requires Button 'Cookie-Controls' )" />
				
								
								<field 
								name="cw_popupVariant" 
								label="Popup Variant"
								type="radio" class="btn-group"
								default="1" >
									<option value="1">Modal</option>
									<option value="2">Popup-Overlay</option>
								</field>
				
								<field name="cw_popup_id" type="text" default="cc_popup" label="Popup HTML Element ID" />
								
								<field name="cw_popup_bg" type="color" format="rgba" default="#ffffff" label="Popup background color" />
								
								<field name="cw_popup_padding" type="number" suffix="px" default="10" label="Popup padding (px)" />
								
									
				<field type="separatorheading" label="Cookie-Controls - Form - Embed :"  description="You can easily embed the form on you site." />
									
				
								<field type="helpformembed" /> 

								<field type="spacer" label="&lt;hr&gt;" /> 
								<field type="spacer" label="&lt;hr&gt;" /> 
								
			</fieldset>
			<!-- COOKIE-WARNING eof -->
			
			
			
		</fields>
	</config>
</extension>