[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/conf/ -> license.php (source)

   1  <?php
   2  /**
   3   * This file defines multiple available licenses you can license your
   4   * wiki contents under. Do not change this file, but create a
   5   * license.local.php instead.
   6   */
   7  
   8  if(empty($LC)) $LC = empty($conf['lang']) ? 'en' : $conf['lang'];
   9  
  10  $license['cc-zero'] = array(
  11      'name' => 'CC0 1.0 Universal',
  12      'url'  => 'https://creativecommons.org/publicdomain/zero/1.0/deed.'.$LC,
  13  );
  14  $license['publicdomain'] = array(
  15      'name' => 'Public Domain',
  16      'url'  => 'https://creativecommons.org/licenses/publicdomain/deed.'.$LC,
  17  );
  18  $license['cc-by'] = array(
  19      'name' => 'CC Attribution 4.0 International',
  20      'url'  => 'https://creativecommons.org/licenses/by/4.0/deed.'.$LC,
  21  );
  22  $license['cc-by-sa'] = array(
  23      'name' => 'CC Attribution-Share Alike 4.0 International',
  24      'url'  => 'https://creativecommons.org/licenses/by-sa/4.0/deed.'.$LC,
  25  );
  26  $license['gnufdl'] = array(
  27      'name' => 'GNU Free Documentation License 1.3',
  28      'url'  => 'https://www.gnu.org/licenses/fdl-1.3.html',
  29  );
  30  $license['cc-by-nc'] = array(
  31      'name' => 'CC Attribution-Noncommercial 4.0 International',
  32      'url'  => 'https://creativecommons.org/licenses/by-nc/4.0/deed.'.$LC,
  33  );
  34  $license['cc-by-nc-sa'] = array(
  35      'name' => 'CC Attribution-Noncommercial-Share Alike 4.0 International',
  36      'url'  => 'https://creativecommons.org/licenses/by-nc-sa/4.0/deed.'.$LC,
  37  );
  38