WordPress.org

Plugin Directory

Changeset 367787


Ignore:
Timestamp:
04/01/11 04:36:27 (3 years ago)
Author:
JohnPBloch
Message:

Changes

Location:
alot/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • alot/trunk/alot.php

    r366865 r367787  
    124124        <label><input type="checkbox" name="<?php echo $this->settings_name; ?>[modules][easter_eggs]" value="active" <?php checked( $this->settings['modules']['easter_eggs'] ); ?>/> Active</label></p> 
    125125        <h3><?php printf( _x( 'Corner %s', 'adjective', $this->td[0] ), 'Alot' ); ?></h3> 
    126         <p><?php _e( 'This module will place an alot in the bottom right corner of the screen on the public views of your site.', $this->td[0] ); ?><br /> 
     126        <p><?php printf( __( 'This module will place an alot (linked to Allie Brosh\'s blog, %s) in the bottom right corner of the screen on the public views of your site.', $this->td[0] ), '<a href="http://hyperboleandahalf.blogspot.com/">Hyperbole and a Half</a>' ); ?><br /> 
    127127        <label><input type="checkbox" name="<?php echo $this->settings_name; ?>[modules][bottom_corner]" value="active" <?php checked( $this->settings['modules']['bottom_corner'] ); ?>/> Active</label></p> 
    128128        <? 
  • alot/trunk/js/alotofalot.js

    r366865 r367787  
    1818            var pX=vW>1600?Math.floor(Math.random()*(vW-800)):Math.floor(Math.random()*(vW-400)); 
    1919            var pY=vW>1600?Math.floor(Math.random()*(vH-600)):Math.floor(Math.random()*(vH-300)); 
    20             $('<img>',{'src':src,'style':{'position':'fixed','top':pY+'px','left':pX+'px'}}).appendTo('body'); 
     20            $('<img>',{'src':src,'style':'position:fixed;top:'+pY+'px;left:'+pX+'px'}).appendTo('body'); 
    2121        }); 
    2222    }); 
  • alot/trunk/modules/bottom_corner.php

    r366875 r367787  
    77            return; 
    88        echo '<style> 
    9     img#alot_of_corners { 
     9    a#alot_of_corners { 
    1010        position:fixed!important; 
    1111        bottom:0px!important; 
    12         right:20px!important; 
     12        right:0px!important; 
    1313    } 
    1414</style>'; 
     
    1818        if( apply_filters( 'not_alot_of_corners_on_this_page', false ) ) 
    1919            return; 
    20         echo '<img id="alot_of_corners" alt="I am the alot of corners" src="'.plugins_url('alot/img/alot_of_corners.png').'" title="I am the alot of corners" />'; 
     20        echo '<a id="alot_of_corners" href="http://hyperboleandahalf.blogspot.com/2010/04/alot-is-better-than-you-at-everything.html" target="_blank"><img alt="I am the alot of corners" src="'.plugins_url('alot/img/alot_of_corners.png').'" title="I am the alot of corners" /></a>'; 
    2121    } 
    2222 
Note: See TracChangeset for help on using the changeset viewer.