Changeset 77 for CCLicense/trunk/CCLicense.pl
- Timestamp:
- 06/08/05 23:17:28 (4 years ago)
- Files:
-
- 1 modified
-
CCLicense/trunk/CCLicense.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CCLicense/trunk/CCLicense.pl
r76 r77 13 13 my $CCL_VERSION = '2.5'; 14 14 my $CCL_LANG = ''; 15 my $USE_CCL2_IMG = 1; # If you want to use CCL2 image, set this to "1"15 my $USE_CCL2_IMG = 0; # If you want to use CCL2 image, set this to "1" 16 16 17 17 eval { … … 29 29 local $SIG{__WARN__} = sub { }; 30 30 *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; 33 32 } 34 33 … … 49 48 return $cc_img_url if $cc_img_url; 50 49 "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')); 52 52 } 53 53
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)