Project

General

Profile

Download (2.91 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/*
3
 * copynotice.inc
4
 *
5
 * part of pfSense (https://www.pfsense.org)
6
 * Copyright (c) 2004-2013 BSD Perimeter
7
 * Copyright (c) 2013-2016 Electric Sheep Fencing
8
 * Copyright (c) 2014-2020 Rubicon Communications, LLC (Netgate)
9
 * All rights reserved.
10
 *
11
 * originally based on m0n0wall (http://m0n0.ch/wall)
12
 * Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.net>.
13
 * All rights reserved.
14
 *
15
 * Licensed under the Apache License, Version 2.0 (the "License");
16
 * you may not use this file except in compliance with the License.
17
 * You may obtain a copy of the License at
18
 *
19
 * http://www.apache.org/licenses/LICENSE-2.0
20
 *
21
 * Unless required by applicable law or agreed to in writing, software
22
 * distributed under the License is distributed on an "AS IS" BASIS,
23
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
 * See the License for the specific language governing permissions and
25
 * limitations under the License.
26
 */
27

    
28
##|+PRIV
29
##|*IDENT=page-system-copyright
30
##|*NAME=System: Copyright notice
31
##|*DESCR=Copyright and usage notice.
32
##|*MATCH=copynotice.inc*
33
##|-PRIV
34

    
35
/*
36
 * This file displays the copyright modal when required. (New version installed or completion of the setup wizard)
37
 * The copyright text may have been downloaded from the Netgate server, but if not the default text defined here
38
 * is used
39
 */
40

    
41
$copyrightfile = "{$g['cf_conf_path']}/copyright";
42

    
43
?>
44
<div id="usage" class="modal fade" role="dialog">
45
	<div class="modal-dialog">
46
		<div class="modal-content">
47
<?php
48
			if (file_exists($copyrightfile)) {
49
				require_once($copyrightfile);
50
			} else {
51
				print("<div class=\"modal-body\" style=\"background-color:#1e3f75; color:white;\">");
52
				print(gettext("<p align=\"center\"><font size=\"3\">Copyright &copy; 2004-2019. Electric Sheep Fencing LLC (\"ESF\"). All Rights Reserved.</p>
53
					<p align=\"center\"><strong>NO COMMERCIAL DISTRIBUTION OF THE PFSENSE&reg; CE SOFTWARE IS ALLOWED.</strong>
54
					</p>
55
					<p>pfSense&reg; is a federally and internationally registered trademark and service mark of ESF, and is exclusively licensed to Rubicon Communications, LLC (d/b/a Netgate) (\"Netgate\").</p>
56
					<p>Any unauthorized use of the pfSense&reg; mark is prohibited by United States and international law. Please refer to the Netgate <a href=\"https://www.pfsense.org/trademarks.html\" target=\"_blank\"> Trademark Usage Guidelines</a> for how to properly use the mark.</p>
57
					</div>
58
					<div class=\"modal-footer\" style=\"background-color:#1e3f75; color:white;\">
59
					<button type=\"button\" class=\"btn btn-xs btn-success\" data-dismiss=\"modal\" aria-label=\"Close\">
60
							<span aria-hidden=\"true\">Accept</span>
61
					</button>
62
					</div>"));
63
			}
64
?>
65

    
66
		</div>
67
	</div>
68
</div>
69

    
70
<?php
71

    
72
if (!file_exists("/tmp/nofile")) :
73
?>
74

    
75
<script type="text/javascript">
76
//<![CDATA[
77
events.push(function() {
78
	$('#usage').modal({backdrop: 'static', keyboard: false});
79
	$('#usage').modal('show');
80
});
81
//]]>
82
</script>
83

    
84
<?php
85
endif;
(13-13/60)