This repository has been archived by the owner on Apr 23, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compresses resources
- Loading branch information
Showing
13 changed files
with
117 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
; Copyright (c) 2012 Mike Green <myatus@gmail.com> | ||
; | ||
;For the full copyright and license information, please view the LICENSE | ||
;file that was distributed with this source code. | ||
|
||
[overview] | ||
content = "<p>This screen shows a list of known cookies and their descriptions.<p> | ||
<p>Cookie names can contain wildcards to match multiple variations of the same cookie. The questionmark (<code>?</code>) wildcard matches a single character only, whereas an asterisk (<code>*</code>) can match one or more characters. The wildcards can be located anywhere within the cookie name. For example, <code>wp-settings-*</code> will match any cookie starting with \"wp-settings-\" such as \"wp-settings-1\" or \"wp-settings-229\"; <code>wp-site?-info</code> will match \"wp-site1-info\" and \"wp-siteA-info\", but not \"wp-site-details-info\".</p> | ||
<p>If a cookie is marked as <em>Required</em>, then Cookillian will not filter the cookie and a listing will display that this cookie is required for the operation of the website.<p> | ||
<p>A listing can be generated using the <code>[cookillian cookies]</code> shortcode, which will display all the cookies listed on this page. To list only certain cookies within a group, add this to the shortcode as <code>[cookillian cookies=\"group name\"]</code> where <em>group name</em> matches the <em>Group</em> listed on this page.</p> | ||
<p>To delete one or more cookies from the listing, tick/select the box in the <em>Delete</em> column and they will be removed when the changes are saved.</p>" | ||
|
||
[side_tab] | ||
content = "<p><strong>For more information:</strong></p> | ||
<p><a target=\"_blank\" href=\"#\">Background Manager Home Page</a></p> | ||
|
||
<p><a target=\"_blank\" href=\"http://wordpress.org/tags/cookillian\">Support Forum</a></p>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
; Copyright (c) 2012 Mike Green <myatus@gmail.com> | ||
; | ||
;For the full copyright and license information, please view the LICENSE | ||
;file that was distributed with this source code. | ||
|
||
[overview] | ||
content = "<p>This screen provides access to the Cookillian settings, where you can customize how the Cookillian filters cookies and appears on your website.</p> | ||
<p>Cookillian can automatically add new or unknown cookies to the <strong>Cookies</strong> list, which helps you identify cookies being used throughout the website. The <strong>Cookies</strong> list can also be retrieved using the <code>[cookillian cookies]</code> shortcode, or filtered by a specific group using <code>[cookillian cookies=\"group name\"]</code>. This eases the task of providing the visitor with details about the cookies used throughout the website.</p> | ||
<p>PHP sessions based on cookies are filtered unless they are required. Many plugins will use WordPress' own session handling methods, however, if the website is tightly integrated with other web applications then you may need to disable the filtering.</p> | ||
<p>To increase the user experience of your website, only visitors from selected countries will have their cookies filtered and be alerted about the use of cookies. Cookillian can use geoPlugin service to determine where the visitor originates. If you are a CloudFlare subscriber, you may wish to use CloudFlare's own geolocation service to benefit of a significant speed increase.</p> | ||
<p>An alert can be displayed automatically, or you can insert the HTML code for the alert manually by editing your theme and inserting <code><?php echo apply_filters('cookillian_alert', ''); ?></code> at the desired location. Alternatively, you can use the <code>[cookillian alert]</code> shortcode within a post, page or other WordPress element that supports shortcodes. The default alert content text can be altered to suit your website's needs, or alternatively you can provide your own HTML code for full customization.</p> | ||
<p>If the visitor has permitted the use of cookies, additional JavaScript can be loaded at the header and/or footer using the two provided fields. As an example, this could be used to load analytics scripts that make use of cookies to track the visitor. For more complex use of JavaScript, select the <strong>JavaScript</strong> help tab.</p>" | ||
|
||
[javascript] | ||
title = "JavaScript" | ||
content = "<p>Cookillian provides a simple way to add JavaScript when cookies are permitted. However, if your circumstances require more complex use of JavaScript, Cookillian also exposes several JavaScript variables that can be used:</p> | ||
<ul> | ||
<li><code>cookillian.blocked_cookies</code> - A boolean statement that is set to <code>true</code> if cookies are blocked / not permitted, or <code>false</code> if cookies are accepted / permitted.</li> | ||
<li><code>cookillian.opted_out</code> - A boolean statement, which is set to <code>true</code> if the user has specifically opted <em>out</em> of cookies (and thus <code>cookillian.blocked_cookies</code> will also be <code>true</code>).</li> | ||
<li><code>cookillian.opted_in</code> - A boolean statement, which is set to <code>true</code> if the user has specifically opted <em>in</em> of cookies (and thus <code>cookillian.blocked_cookies</code> will be <code>false</code>).</li> | ||
</ul>" | ||
|
||
[html] | ||
title = "Custom Alert" | ||
content = "<p>When creating a custom alert, you can provide the visitor the option to permanently opt in to receive cookies, or opt out. To do so, simply direct the visitor to any page adding to the URI <code>?cookillian_resp=1</code> to opt in or <code>?cookillian_resp=0</code> to opt out. This could be done with a link as simple as <code><a href=\"\?cookillian_resp=1\">Opt In</a></code>.</p> | ||
<p>Once the opt in/out preference has been saved in the cookies <code>cookillian_opt_in</code> or <code>cookillian_opt_out</code> respectively, the visitor will be returned to the original page from which the request was made.</p>" | ||
|
||
[side_tab] | ||
content = "<p><strong>For more information:</strong></p> | ||
<p><a target=\"_blank\" href=\"#\">Background Manager Home Page</a></p> | ||
|
||
<p><a target=\"_blank\" href=\"http://wordpress.org/tags/cookillian\">Support Forum</a></p> | ||
|
||
<p><a target=\"_blank\" href=\"http://www.geoplugin.net\">GeoPlugin</a></p> | ||
|
||
<p><a target=\"_blank\" href=\"http://www.cloudflare.com\">CloudFlare</a></p>" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/*! | ||
* Copyright (c) 2012 Mike Green <myatus@gmail.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
*/ | ||
if(cookillian===undefined){var cookillian={}}(function(b){b(document).ready(function(a){var d=a(".cookillian-alert");if(!cookillian._manual){d.hide().detach().prependTo("body").fadeIn("slow")}a(".close",d).click(function(){d.fadeOut("slow");return false})})})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters