'[[http://creativecommons.org/licenses/by/2.5/ | http://creativecommons.org/images/public/somerights.gif"Creative Commons License"]]', 'by-nd' => '[[http://creativecommons.org/licenses/by-nd/2.5/ | http://creativecommons.org/images/public/somerights.gif"Creative Commons License"]]', 'by-nc-nd' => '[[http://creativecommons.org/licenses/by-nc-nd/2.5/ | http://creativecommons.org/images/public/somerights.gif"Creative Commons License"]]', 'by-nc' => '[[http://creativecommons.org/licenses/by-nc/2.5/ | http://creativecommons.org/images/public/somerights.gif"Creative Commons License"]]', 'by-nc-sa' => '[[http://creativecommons.org/licenses/by-nc-sa/2.5/ | http://creativecommons.org/images/public/somerights.gif"Creative Commons License"]]', 'by-sa' => '[[http://creativecommons.org/licenses/by-sa/2.5/ | http://creativecommons.org/images/public/somerights.gif"Creative Commons License"]]', 'pd' => '[[http://creativecommons.org/licenses/publicdomain/ | http://creativecommons.org/images/public/norights.gif"Public Domain Dedication"]]', )); SDV($LicenseDefault, 'by-nc-nd'); Markup('license', 'directives', '/\\(:license(\\s.*?)?:\\)/e', "License(\$pagename, PSS('$1'))"); function License($pagename, $args) { global $LicenseTypeFmt, $LicenseDefault; $args = ParseArgs($args); $cc = $args[''][0]; if ($cc == '') $cc = $LicenseDefault; $fmt = $LicenseTypeFmt[strtolower($cc)]; if (!$fmt) return "unrecognized license $cc"; return FmtPageName($fmt, $pagename); }