[dw-free] Licensing for FAQs
[commit: http://hg.dwscoalition.org/dw-free/rev/b7a015d8896c]
http://bugs.dwscoalition.org/show_bug.cgi?id=336
Add CC licensing to FAQs, also add an opensource page for licensing
information.
Patch by
rho.
http://bugs.dwscoalition.org/show_bug.cgi?id=336
Add CC licensing to FAQs, also add an opensource page for licensing
information.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
-------------------------------------------------------------------------------- diff -r 345875d34b3a -r b7a015d8896c htdocs/site/opensource.bml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/htdocs/site/opensource.bml Fri Feb 27 03:18:29 2009 +0000 @@ -0,0 +1,36 @@ +<?page + +# site/opensource.bml +# +# Page explaining our stance on Open Source, licensing information for our +# stuff and credit for other people's stuff that we use. +# +# Authors: +# Rachel Walmsley <rho@rho.me.uk> +# +# Copyright (c) 2009 by Dreamwidth Studios, LLC. +# +# This program is free software; you may redistribute it and/or modify it under +# the same terms as Perl itself. For a copy of the license, please reference +# 'perldoc perlartistic' or 'perldoc perlgpl'. +# + +body<= +<h1><?_ml .os.header _ml?></h1> + +<p><?_ml .os.intro _ml?></p> + +<p><?_code return BML::ml ('.os.dw', {'sitenameshort' => $LJ::SITENAMESHORT}); _code?></p> + +<p><?_ml .os.lj _ml?></p> + +<h1><?_ml .licensing.header _ml?></h1> + +<p><?_ml .licensing.main _ml?></p> + +<h1><?_ml .attrib.header _ml?></h1> + +<p><?_code return BML::ml ('.attrib.silk', {'sitenameshort' => $LJ::SITENAMESHORT}); _code?></p> +<=body +windowtitle=><?_ml .title _ml?> +page?> diff -r 345875d34b3a -r b7a015d8896c htdocs/site/opensource.bml.text --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/htdocs/site/opensource.bml.text Fri Feb 27 03:18:29 2009 +0000 @@ -0,0 +1,18 @@ +;; -*- coding: utf-8 -*- +.title=Open Source + +.attrib.header=Attribution for Content + +.attrib.silk=• In certain places, [[sitenameshort]] uses the <a href="http://www.famfamfam.com/lab/icons/silk/">Silk</a> icon set made by Mark James, which are licensed under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License</a>. We are grateful to Mark for creating and sharing these. + +.licensing.header=Licensing Information + +.licensing.main=Where indicated, our FAQs and Guides are released under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike 3.0 license</a>. If you are using our documentation, please credit us as <strong>Dreamwidth Studios, LLC</strong> and provide a link to this <a href="http://www.dreamwidth.org/site/opensource.bml">Open Source</a> page. + +.os.dw=[[sitenameshort]] uses the Dreamwidth Studios codebase provided by Dreamwidth Studios, LLC. The source repository is located at <a href="http://hg.dwscoalition.org">Dreamwidth Mercurial Repositories</a>. + +.os.header=Open Source + +.os.intro=We believe strongly in Open Source and the creative commons. By freely releasing all of our code and documentation, we hope to create a vibrant and thriving community that will constantly improve the product we offer. + +.os.lj=The Dreamwidth Studios codebase is built on the Open Source codebase provided by <a href="http://www.livejournal.com">LiveJournal.com</a>. We've extended and expanded upon the codebase, but we remain incredibly thankful to Danga Interactive, Six Apart Ltd, and LiveJournal Inc for their effort over the years diff -r 345875d34b3a -r b7a015d8896c htdocs/support/faqbrowse.bml --- a/htdocs/support/faqbrowse.bml Fri Feb 27 03:13:25 2009 +0000 +++ b/htdocs/support/faqbrowse.bml Fri Feb 27 03:18:29 2009 +0000 @@ -224,6 +224,12 @@ body<= $$body .= "<?hr?>"; + $$body .= qq( + <p style="float:right; text-align:right;"><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"> + <img alt="$ML{'.cc.imgalt'}" style="border-width: 0;" src="http://i.creativecommons.org/l/by-sa/3.0/us/88x31.png" /> + </a><br /><a href="$LJ::SITEROOT/site/opensource.bml">$ML{'.cc.licensing'}</a></p> + ); + if ($categoryname) { $$body .= BML::ml('.backfaqcat3', {'aopts' => "href='/support/faqbrowse.bml?faqcat=$backfaqcat'", 'categoryname' => $categoryname}) . "<br />" if $backfaqcat && $faqidarg; diff -r 345875d34b3a -r b7a015d8896c htdocs/support/faqbrowse.bml.text --- a/htdocs/support/faqbrowse.bml.text Fri Feb 27 03:13:25 2009 +0000 +++ b/htdocs/support/faqbrowse.bml.text Fri Feb 27 03:18:29 2009 +0000 @@ -8,6 +8,10 @@ .backsearch=Back to the <a [[aopts]]>search page</a>. .backsupport2=Back to the <a [[aopts]]>support area</a>. + +.cc.imgalt=Creative Commons License + +.cc.licensing=Licensing .edit.faq=Edit this FAQ --------------------------------------------------------------------------------