Ignore:
Timestamp:
May 21, 2011, 2:02:37 PM (13 years ago)
Author:
J.Commelin
Message:

Added the 'Description' field to Copyrights

File:
1 edited

Legend:

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

    r10931 r10973  
    2929      name varchar(255) UNIQUE NOT NULL,
    3030      url varchar(255) NOT NULL,
     31      desc text DEFAULT NULL,
    3132      visible bool DEFAULT 0,
    3233      PRIMARY KEY (cr_id)
     
    7980      'name' => 'Creative Commons (BY)',
    8081      'url' => 'http://creativecommons.org/licenses/by/3.0/',
     82      'desc' => 'This license lets others distribute, remix, tweak, and build
     83                upon your work, even commercially, as long as they credit you
     84                for the original creation. This is the most accommodating of
     85                licenses offered. Recommended for maximum dissemination and
     86                use of licensed materials.',
    8187      'visible' => 1
    8288    ),
     
    8490      'name' => 'Creative Commons (BY-SA)',
    8591      'url' => 'http://creativecommons.org/licenses/by-sa/3.0/',
     92      'desc' => 'This license lets others remix, tweak, and build upon your
     93                work even for commercial purposes, as long as they credit you
     94                and license their new creations under the identical terms. This
     95                license is often compared to “copyleft” free and open source
     96                software licenses. All new works based on yours will carry the
     97                same license, so any derivatives will also allow commercial
     98                use. This is the license used by Wikipedia, and is recommended
     99                for materials that would benefit from incorporating content
     100                from Wikipedia and similarly licensed projects.',
    86101      'visible' => 1
    87102    ),
     
    89104      'name' => 'Creative Commons (BY-ND)',
    90105      'url' => 'http://creativecommons.org/licenses/by-nd/3.0/',
     106      'desc' => 'This license allows for redistribution, commercial and
     107                non-commercial, as long as it is passed along unchanged and in
     108                whole, with credit to you.',
    91109      'visible' => 1
    92110    ),
     
    94112      'name' => 'Creative Commons (BY-NC)',
    95113      'url' => 'http://creativecommons.org/licenses/by-nc/3.0/',
     114      'desc' => 'This license lets others remix, tweak, and build upon your
     115                work non-commercially, and although their new works must also
     116                acknowledge you and be non-commercial, they don’t have to
     117                license their derivative works on the same terms.',
    96118      'visible' => 1
    97119    ),
     
    99121      'name' => 'Creative Commons (BY-NC-SA)',
    100122      'url' => 'http://creativecommons.org/licenses/by-nc-sa/3.0/',
     123      'desc' => 'This license lets others remix, tweak, and build upon your
     124                work non-commercially, as long as they credit you and license
     125                their new creations under the identical terms.',
    101126      'visible' => 1
    102127    ),
     
    104129      'name' => 'Creative Commons (BY-NC-ND)',
    105130      'url' => 'http://creativecommons.org/licenses/by-nc-nd/3.0/',
     131      'desc' => 'This license is the most restrictive of our six main licenses,
     132                only allowing others to download your works and share them with
     133                others as long as they credit you, but they can’t change them
     134                in any way or use them commercially.',
    106135      'visible' => 1
    107136    )
     
    110139  mass_inserts(
    111140    $prefixeTable.'copyrights_admin',
    112     array(
    113       'name',
    114       'url',
    115       'visible'
    116     ),
     141    array_keys($inserts[0]),
    117142    $inserts
    118143  );
Note: See TracChangeset for help on using the changeset viewer.