Skip to content

Commit 8e94fac

Browse files
committed
Modified help topic for Code Submission Wizard and added help topic that explains if a user has the right to submit the snippet.
1 parent 4a167ed commit 8e94fac

File tree

3 files changed

+97
-2
lines changed

3 files changed

+97
-2
lines changed

Src/Help/CodeSnip.hhp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; v. 2.0. If a copy of the MPL was not distributed with this file, You can
33
; obtain one at http://mozilla.org/MPL/2.0/
44
;
5-
; Copyright (C) 2005-2013, Peter Johnson (www.delphidabbler.com).
5+
; Copyright (C) 2005-2014, Peter Johnson (www.delphidabbler.com).
66
;
77
; $Rev$
88
; $Date$
@@ -120,3 +120,4 @@ HTML\notifiy_database_update.htm
120120
HTML\dlg_dependencies_edit.htm
121121
HTML\about_swag.htm
122122
HTML\dlg_swagimport.htm
123+
HTML\submission-rights.htm

Src/Help/HTML/dlg_submit.htm

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
55
* obtain one at http://mozilla.org/MPL/2.0/
66
*
7-
* Copyright (C) 2008-2012, Peter Johnson (www.delphidabbler.com).
7+
* Copyright (C) 2008-2014, Peter Johnson (www.delphidabbler.com).
88
*
99
* $Rev$
1010
* $Date$
@@ -98,6 +98,21 @@ <h2>
9898
<a href="privacy_statement.htm">privacy statement</a> for more
9999
information.
100100
</p>
101+
<h2>
102+
&quot;License agreement&quot; page
103+
</h2>
104+
<p>
105+
All the code in the Code Snippets Database is released under the <a
106+
class="weblink"
107+
target="_blank"
108+
href="http://opensource.org/licenses/MIT"
109+
>MIT License</a> and are copyright Peter Johnson and contributors.
110+
</p>
111+
<p>
112+
In order to submit snippets to the database you must confirm that you have
113+
the <a href="submission-rights.htm">right</a> to submit the snippet and
114+
that you agree for it to be released under the MIT license.
115+
</p>
101116
<h2>
102117
&quot;Ready to Submit&quot; page
103118
</h2>
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2+
<!--
3+
* This Source Code Form is subject to the terms of the Mozilla Public License,
4+
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
5+
* obtain one at http://mozilla.org/MPL/2.0/
6+
*
7+
* Copyright (C) 2014, Peter Johnson (www.delphidabbler.com).
8+
*
9+
* $Rev$
10+
* $Date$
11+
*
12+
* Help topic that explains whether a user has the right to submit a code
13+
* snippet to the Code Snippets Database.
14+
-->
15+
<html>
16+
<head>
17+
<meta
18+
http-equiv="Content-Type"
19+
content="text-html; charset=Windows-1252">
20+
<title>
21+
Submission rights
22+
</title>
23+
<link
24+
rel="stylesheet"
25+
href="../css/codesnip.css"
26+
type="text/css">
27+
</head>
28+
<body>
29+
<object
30+
type="application/x-oleobject"
31+
classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
32+
<param
33+
name="ALink Name"
34+
value="SubmitSnippetRights">
35+
</object>
36+
<h1>
37+
Have I The Right To Submit a Snippet?
38+
</h1>
39+
<p>
40+
<strong>This topic is for guidance only and is not authoritative. To be
41+
sure you have the rights to submit a snippet contact the initial author or
42+
read any license that accompanied the snippet.</strong>
43+
</p>
44+
<ul>
45+
<li>
46+
If you wrote the snippet you have the right to do as you like with it.
47+
</li>
48+
<li>
49+
If you acquired the snippet from a blog post or similar, check the
50+
posting to see if the author has placed any restrictions on use. It is
51+
unusual for the author to assert any rights over code snippets, but they
52+
may do.
53+
</li>
54+
<li>
55+
If a snippet is in the public domain you can submit it and it is OK to
56+
license it under the <a
57+
class="weblink"
58+
target="_blank"
59+
href="http://opensource.org/licenses/MIT"
60+
>MIT License</a>.
61+
</li>
62+
<li>
63+
If you extracted a snippet from anyone's licensed source code then you
64+
need to check the license to see if it allows the code to be distributed
65+
and re-licensed.
66+
</li>
67+
<li>
68+
If the author simply requires credit for his or her work included their
69+
name in the comments when you submit the snippet and make it clear they
70+
need to be credited. Note though that any requirement to reproduce a
71+
copyright statement cannot be met: snippets the Code Snippets database
72+
are released under the copyright of Peter Johnson and
73+
&quot;contributors&quot;. Contributors to the database can be viewed in
74+
the <a href="dlg_about.htm">About box</a>.
75+
</li>
76+
</ul>
77+
</body>
78+
</html>
79+

0 commit comments

Comments
 (0)