Changeset 79 for CCLicense/trunk
- Timestamp:
- 06/13/05 01:15:15 (3 years ago)
- Files:
-
- 1 modified
-
CCLicense/trunk/CCLicense.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CCLicense/trunk/CCLicense.pl
r77 r79 1 1 # CCLicense Plugin for version-conscious CCLicense tags 2 2 # 3 # Release 0.0 1 (Jun 08, 2005)3 # Release 0.02 (Jun 13, 2005) 4 4 # 5 5 # This software is provided as-is. You may use it for commercial or … … 18 18 require MT::Plugin; 19 19 my $plugin = new MT::Plugin(); 20 $plugin->name("CCLicense Plugin 0.0 1");20 $plugin->name("CCLicense Plugin 0.02"); 21 21 $plugin->description("CCLicense tags for CCL version $CCL_VERSION" . 22 22 ($CCL_LANG ? "/$CCL_LANG" : "")); … … 35 35 my $cc = $_[0] or return; 36 36 my ($code, $cc_url, $cc_img_url) = $cc =~ /(\S+) (\S+) (\S+)/; 37 return $cc_url if $cc_url;37 $cc = $code || $cc; 38 38 $cc eq 'pd' ? 39 39 "http://web.resource.org/cc/PublicDomain" : … … 46 46 my $cc = $_[0]->stash('blog')->cc_license or return; 47 47 my ($code, $cc_url, $cc_img_url) = $cc =~ /(\S+) (\S+) (\S+)/; 48 return $cc_img_url if $cc_img_url;48 $cc = $code || $cc; 49 49 "http://creativecommons.org/images/public/" . 50 50 ($cc eq 'pd' ? 'norights.gif' :
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)