Changeset 77 for CCLicense/trunk

Show
Ignore:
Timestamp:
06/08/05 23:17:28 (4 years ago)
Author:
ogawa
Message:

A little bit of bug fix.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • CCLicense/trunk/CCLicense.pl

    r76 r77  
    1313my $CCL_VERSION = '2.5'; 
    1414my $CCL_LANG = ''; 
    15 my $USE_CCL2_IMG = 1; # If you want to use CCL2 image, set this to "1" 
     15my $USE_CCL2_IMG = 0; # If you want to use CCL2 image, set this to "1" 
    1616 
    1717eval { 
     
    2929    local $SIG{__WARN__} = sub { }; 
    3030    *MT::Util::cc_url = \&_cc_url; 
    31     *MT::Template::Context::_hdlr_blog_cc_license_image = \&_cc_img_url 
    32         if $USE_CCL2_IMG; 
     31    *MT::Template::Context::_hdlr_blog_cc_license_image = \&_cc_img_url; 
    3332} 
    3433 
     
    4948    return $cc_img_url if $cc_img_url; 
    5049    "http://creativecommons.org/images/public/" . 
    51         ($cc eq 'pd' ? 'norights' : 'somerights20.png'); 
     50        ($cc eq 'pd' ? 'norights.gif' : 
     51         ($USE_CCL2_IMG ? 'somerights20.gif' : 'somerights.gif')); 
    5252} 
    5353