Permalink
Browse files

Updates plugin for Craft 2.5

- Adds icon
- Adds icon mask
- Adds Description
- Adds Documentation URL
- Adds Release Feed URL
- Cleans up settings code
  • Loading branch information...
BenParizek committed Dec 1, 2015
1 parent 4a7a520 commit 82a7e3cad99637b150b547865f2ed634aa1380f7
Showing with 51 additions and 7 deletions.
  1. +15 −0 SproutInvisibleCaptchaPlugin.php
  2. +13 −0 resources/icon-mask.svg
  3. +23 −0 resources/icon.svg
  4. +0 −7 templates/_cp/settings.html
@@ -8,6 +8,11 @@ public function getName()
return Craft::t('Sprout Invisible Captcha');
}
public function getDescription()
{
return 'User-friendly form protection from vile spam and evil robots.';
}
public function getVersion()
{
return '0.7.0';
@@ -23,6 +28,16 @@ public function getDeveloperUrl()
return 'http://barrelstrengthdesign.com';
}
public function getDocumentationUrl()
{
return "http://sprout.barrelstrengthdesign.com/craft-plugins/invisible-captcha/docs";
}
public function getReleaseFeedUrl()
{
return 'http://sprout.barrelstrengthdesign.com/craft-plugins/invisible-captcha/releases.json';
}
public function hasCpSection()
{
return false;
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 52.7 61.3" style="enable-background:new 0 0 52.7 61.3;" xml:space="preserve">
<style type="text/css">
.st0{fill-rule:evenodd;clip-rule:evenodd;}
</style>
<path class="st0" d="M16.2,61.3c0,0,0.3-9.3,16-14.1s20.7-18.4,20.4-24l-0.5,0.2c0,0-32.5,10-36.4,29.8c0,0-5.9-16.1-14.2-8.9
c0,0-1.5,1.9-1.5,2.9l0.2,0.3c0,0,11.7-3.3,15,13.5L16.2,61.3z"/>
<path class="st0" d="M15.6,50.9c0,0,1.1-7,4.7-14.3S30.5,6.5,14.9,0c0,0,0,2-1.6,5.1c0,0-10.1,15.3-1.4,31.9c0,0,2.9,4.7,3.1,12.5
L15.6,50.9z"/>
</svg>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);}
</style>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="39.6021" y1="98.9174" x2="60.3976" y2="1.0825">
<stop offset="0" style="stop-color:#91BF11"/>
<stop offset="0.286" style="stop-color:#50A111"/>
<stop offset="0.2987" style="stop-color:#4DA011"/>
<stop offset="0.3498" style="stop-color:#499C11"/>
<stop offset="0.6469" style="stop-color:#348511"/>
<stop offset="0.7252" style="stop-color:#317A0F"/>
<stop offset="0.8618" style="stop-color:#285D08"/>
<stop offset="1" style="stop-color:#1D3A00"/>
</linearGradient>
<path class="st0" d="M50,0C22.4,0,0,22.4,0,50s22.4,50,50,50c0,0,0,0,0,0c-3.3-16.8-15-13.5-15-13.5l-0.2-0.3c0-1,1.5-2.9,1.5-2.9
c8.4-7.2,14.2,8.9,14.2,8.9c3.9-19.8,36.4-29.8,36.4-29.8l0.5-0.2c0.3,5.5-4.7,19.1-20.4,24c-13.8,4.3-15.7,12-16,13.7
C78.2,99.4,100,77.2,100,50C100,22.4,77.6,0,50,0z M55.1,75.6c-3.7,7.3-4.7,14.3-4.7,14.3l-0.6-1.4C49.6,80.7,46.7,76,46.7,76
c-8.7-16.5,1.4-31.9,1.4-31.9c1.7-3.1,1.6-5.1,1.6-5.1C65.3,45.5,58.8,68.3,55.1,75.6z"/>
</svg>
@@ -196,13 +196,6 @@ <h3>Log failed submissions in the database</h3>
: ""
}) }}
<hr>
<p style="position:absolute;right:30px;bottom:0px;font-size:11px;">
<a href="http://barrelstrengthdesign.com" title="Barrel Strength" target="_blank"style="font-weight:bold;color:#999;">{{ plugin.getName() }}</a> {{ plugin.getVersion() }} | Designed by
<a href="http://barrelstrengthdesign.com" title="Barrel Strength" target="_blank" style="font-weight:bold;color:#999;">(Barrel Strength)</a>
</p>
{% endblock %}
{% set sproutInvisibleCaptchaJs %}

0 comments on commit 82a7e3c

Please sign in to comment.