A new year, a new copyright line. I've attached a patch that updates the handbook CC block to indicate 2009. I've already updated the /handbooks page "footer."

CommentFileSizeAuthor
drupalorg-license-block.patch1.38 KBadd1sun

Comments

dww’s picture

Status: Needs review » Fixed

Committed, tested and deployed. Thanks.

vm’s picture

http://www.velvetblues.com/web-development-blog/php-code-snippet-automat...

shows a way to do this php which may help? as if this can be done automatically then no one has to remember to do it every year.

dww’s picture

Status: Fixed » Active

Good idea. Fixed (http://drupal.org/cvs?commit=162421) and deployed.

I also fixed this: http://drupal.org/node/14307/revisions/view/249255/412286 manually this time. Automating that would involve moving that handbook page into PHP code inside drupalorg.module's handbook.module. Moving this issue back to open to discuss that change. I don't care, but I'd like add1sun to weigh in if she wants this or not.

add1sun’s picture

Hm, I'd have to say that since that page should *rarely* change over the years, I'm fine with having it moved to the module.

add1sun’s picture

Title: Update copyright years » Automate year on Copyright and licensing page

retitling to the task at hand.

mgifford’s picture

Version: » 7.x-3.x-dev
Issue summary: View changes
Status: Active » Closed (fixed)

Fixed.

function drupalorg_handbook_book_listing_block() {
  $content = '';

  $content .= '<p>' . t('Drupal.org’s online content is © 2000-!year by the individual contributors and can be used in accordance with the <a href="@ccl_url"
>Creative Commons License, Attribution-ShareAlike 2.0</a>. Book descriptions are generally copyrighted by the book author or publisher, and are added to this
 web site with permission.', array('!year' => date('Y'), '@ccl_url' => url('node/14307'))) . '</p>';
                                                                                                                                           
  return $content;                                                                                                                         
} 

  • Commit aa060c0 on 5.x-1.x, 6.x-1.x, 6.x-3.x, 7.x-3.x-dev by dww:
    #353955 by dww: Fixed handbook license text to automatically update the...
  • Commit fa86a91 on 5.x-1.x, 6.x-1.x, 6.x-3.x, 7.x-3.x-dev by dww:
    #353955 by add1sun: Updated copyright years on the handbook block.