summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-10-12 13:31:50 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-10-12 13:31:50 +0200
commit066fee3089513b988d1beac2040e32a365921310 (patch)
treee20413f725f57ec6071c66b745fc25bea2e08b55 /conf
parent7aedde2e62651d550e6213d3852447b26255e8de (diff)
downloadrpg-066fee3089513b988d1beac2040e32a365921310.tar.gz
rpg-066fee3089513b988d1beac2040e32a365921310.tar.bz2
Make license selectable from config FS#312
darcs-hash:20081012113150-7ad00-6408da058bdb6c923159d445e03b76f54b579362.gz
Diffstat (limited to 'conf')
-rw-r--r--conf/dokuwiki.php3
-rw-r--r--conf/license.php40
2 files changed, 42 insertions, 1 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index 5e25c4456..ab4d71387 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -25,7 +25,8 @@ $conf['allowdebug'] = 0; //allow debug output, enable if needed
$conf['start'] = 'start'; //name of start page
$conf['title'] = 'DokuWiki'; //what to show in the title
-$conf['template'] = 'default'; //see tpl directory
+$conf['template'] = 'default'; //see lib/tpl directory
+$conf['license'] = 'cc-by-nc-sa'; //see conf/license.php
$conf['fullpath'] = 0; //show full path of the document or relative to datadir only? 0|1
$conf['recent'] = 20; //how many entries to show in recent
$conf['breadcrumbs'] = 10; //how many recent visited pages to show
diff --git a/conf/license.php b/conf/license.php
new file mode 100644
index 000000000..9a753baa7
--- /dev/null
+++ b/conf/license.php
@@ -0,0 +1,40 @@
+<?php
+/**
+ * This file defines multiple available licenses you can license your
+ * wiki contents under. Do not change this file, but create a
+ * license.local.php instead.
+ */
+
+$license['cc-by'] = array(
+ 'name' => 'CC Attribution 3.0 Unported',
+ 'url' => 'http://creativecommons.org/licenses/by/3.0/',
+);
+$license['cc-by-nc'] = array(
+ 'name' => 'CC Attribution-Noncommercial 3.0 Unported',
+ 'url' => 'http://creativecommons.org/licenses/by-nc/3.0/',
+);
+$license['cc-by-nc-nd'] = array(
+ 'name' => 'CC Attribution-Noncommercial-No Derivative Works 3.0 Unported',
+ 'url' => 'http://creativecommons.org/licenses/by-nc-nd/3.0/',
+);
+$license['cc-by-nc-sa'] = array(
+ 'name' => 'CC Attribution-Noncommercial-Share Alike 3.0 Unported',
+ 'url' => 'http://creativecommons.org/licenses/by-nc-sa/3.0/',
+);
+$license['cc-by-nd'] = array(
+ 'name' => 'CC Attribution-No Derivative Works 3.0 Unported',
+ 'url' => 'cc-by-nd',
+);
+$license['cc-by-sa'] = array(
+ 'name' => 'CC Attribution-Share Alike 3.0 Unported',
+ 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/',
+);
+$license['publicdomain'] = array(
+ 'name' => 'Public Domain',
+ 'url' => 'http://creativecommons.org/licenses/publicdomain/',
+);
+$license['gnufdl'] = array(
+ 'name' => 'GNU Free Documentation License 1.2',
+ 'url' => 'http://www.gnu.org/licenses/fdl-1.2.html',
+);
+