Plugin Directory

Changeset 495015


Ignore:
Timestamp:
01/25/2012 06:09:35 AM (14 years ago)
Author:
ichurakov
Message:
 
Location:
stop-sopa
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • stop-sopa/trunk/readme.txt

    r491561 r495015  
    33Plugin Name: Stop SOPA
    44Author: Ivan Churakov
    5 Donate link: http://www.icprojects.net/stop-sopa.htm
     5Donate link: http://www.icprojects.net/stop-sopa.html
    66Tags: SOPA, protest, blackout
    77Requires at least: 3.0
    88Tested up to: 3.3.1
    9 Stable tag: 1.08
     9Stable tag: 1.09
    1010
    1111This plugin adds small protest box to your website and switch it to "Blackout Day" mode on 18th January 2012.
     
    1616
    1717On settings page you can specify the position of the protest box: either at the right bottom corner or at the middle right edge.
    18 You also can turn on/off "Blackout Day" option. In this case website will show black screen (click demo link below to view the screenshot) and return 503 status (no problems with search engines) on 18th January 2012, 8:00AM - 8:00PM (GMT).
     18You also can turn on/off "Blackout Day" option. In this case website will show black screen (click demo link below to view the screenshot) and return 503 status (no problems with search engines) on 18th January 2012, 8:00AM - 8:00PM (server time).
    1919
    2020By placing this box on our WordPress websites we are protesting against of SOPA.
     
    3636
    3737== Changelog ==
     38
     39= 1.09 =
     40* Typos fixed
    3841
    3942= 1.08 =
  • stop-sopa/trunk/stop-sopa.php

    r491560 r495015  
    44Description: Plugin adds small protest box to your website and switch it to "Blackout Day" mode.
    55Plugin URI: http://www.icprojects.net/stop-sopa.html
    6 Version: 1.08
     6Version: 1.09
    77Author: Ivan Churakov
    88Author URI: http://www.freelancer.com/affiliates/ichurakov/
    99*/
    1010wp_enqueue_script("jquery");
    11 define('PD_VERSION', 1.08);
     11define('PD_VERSION', 1.09);
    1212
    1313class stopsopa_class
     
    314314    <div id="countdown"></div>
    315315    <div id="title">'.get_bloginfo('name').'</div>
     316<script type="text/javascript">
     317  var _gaq = _gaq || [];
     318  _gaq.push(["_setAccount", "UA-8505573-15"]);
     319  _gaq.push(["_trackPageview"]);
     320
     321  (function() {
     322    var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
     323    ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
     324    var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
     325  })();
     326
     327</script>   
    316328</body>
    317329</html>';
Note: See TracChangeset for help on using the changeset viewer.