/[drupal]/contributions/modules/creativecommons/creativecommons.module
ViewVC logotype

Diff of /contributions/modules/creativecommons/creativecommons.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9.2.64, Wed Nov 4 08:40:49 2009 UTC revision 1.9.2.65, Wed Nov 4 08:51:15 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: creativecommons.module,v 1.9.2.63 2009/11/04 08:16:42 balleyne Exp $  // $Id: creativecommons.module,v 1.9.2.64 2009/11/04 08:40:49 balleyne Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 1684  function creativecommons_block($op='list Line 1684  function creativecommons_block($op='list
1684    
1685            if (variable_get('creativecommons_site_license_display', FALSE)) {            if (variable_get('creativecommons_site_license_display', FALSE)) {
1686              $cc = creativecommons_get_site_license();              $cc = creativecommons_get_site_license();
1687              if ($cc->is_available() && $cc->has_license()) {              if ($cc->is_available()) {
1688                $output = "\n<!--Creative Commons Site License-->\n".                $output = "\n<!--Creative Commons Site License-->\n";
1689    
1690                // HTML output                // HTML output
1691                $output .= $cc->get_html(TRUE);                $output .= $cc->get_html(TRUE);
# Line 1696  function creativecommons_block($op='list Line 1696  function creativecommons_block($op='list
1696                }                }
1697    
1698                // RDF output                // RDF output
1699                if (variable_get('creativecommons_rdf', TRUE)) {                if ($cc->has_license() && variable_get('creativecommons_rdf', TRUE)) {
1700                  $output .= "\n<!-- ". $cc->get_rdf() ." -->\n";                  $output .= "\n<!-- ". $cc->get_rdf() ." -->\n";
1701                }                }
1702    

Legend:
Removed from v.1.9.2.64  
changed lines
  Added in v.1.9.2.65

  ViewVC Help
Powered by ViewVC 1.1.2