Ignore:
Timestamp:
May 28, 2011, 11:55:12 AM (13 years ago)
Author:
Mattias
Message:

Serveral bug fixes in main.inc.php, maintain.inc.php, admin.php
Added link to the CR_name (image.php)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Copyrights/maintain.inc.php

    r11075 r11084  
    4646
    4747function plugin_activate() {
    48   /*global $prefixeTable;
     48  global $prefixeTable;
    4949
    50   $query = "
     50  $query = '
    5151    SELECT COUNT(*)
    52     FROM ".$prefixeTable."copyrights_admin
    53     ;";
     52    FROM '.$prefixeTable.'copyrights_admin
     53    ;';
    5454  list($counter) = pwg_db_fetch_row(pwg_query($query));
    5555  if (0 == $counter) {
    5656    copyrights_create_default();
    57   }*/
     57  }
    5858}
    5959
     
    8080      'name' => 'Creative Commons (BY)',
    8181      'url' => 'http://creativecommons.org/licenses/by/3.0/',
    82       'desc' => 'This license lets others distribute, remix, tweak, and build
     82      'descr' => 'This license lets others distribute, remix, tweak, and build
    8383                upon your work, even commercially, as long as they credit you
    8484                for the original creation. This is the most accommodating of
     
    9090      'name' => 'Creative Commons (BY-SA)',
    9191      'url' => 'http://creativecommons.org/licenses/by-sa/3.0/',
    92       'desc' => 'This license lets others remix, tweak, and build upon your
     92      'descr' => 'This license lets others remix, tweak, and build upon your
    9393                work even for commercial purposes, as long as they credit you
    9494                and license their new creations under the identical terms. This
     
    104104      'name' => 'Creative Commons (BY-ND)',
    105105      'url' => 'http://creativecommons.org/licenses/by-nd/3.0/',
    106       'desc' => 'This license allows for redistribution, commercial and
     106      'descr' => 'This license allows for redistribution, commercial and
    107107                non-commercial, as long as it is passed along unchanged and in
    108108                whole, with credit to you.',
     
    112112      'name' => 'Creative Commons (BY-NC)',
    113113      'url' => 'http://creativecommons.org/licenses/by-nc/3.0/',
    114       'desc' => 'This license lets others remix, tweak, and build upon your
     114      'descr' => 'This license lets others remix, tweak, and build upon your
    115115                work non-commercially, and although their new works must also
    116116                acknowledge you and be non-commercial, they don’t have to
     
    121121      'name' => 'Creative Commons (BY-NC-SA)',
    122122      'url' => 'http://creativecommons.org/licenses/by-nc-sa/3.0/',
    123       'desc' => 'This license lets others remix, tweak, and build upon your
     123      'descr' => 'This license lets others remix, tweak, and build upon your
    124124                work non-commercially, as long as they credit you and license
    125125                their new creations under the identical terms.',
     
    129129      'name' => 'Creative Commons (BY-NC-ND)',
    130130      'url' => 'http://creativecommons.org/licenses/by-nc-nd/3.0/',
    131       'desc' => 'This license is the most restrictive of our six main licenses,
     131      'descr' => 'This license is the most restrictive of our six main licenses,
    132132                only allowing others to download your works and share them with
    133133                others as long as they credit you, but they can’t change them
Note: See TracChangeset for help on using the changeset viewer.