Project

General

Profile

Download (2.91 KB) Statistics
| Branch: | Tag: | Revision:
1 f3c5f4c5 Steve Beaver
<?php
2
/*
3
 * copynotice.inc
4
 *
5
 * part of pfSense (https://www.pfsense.org)
6 38809d47 Renato Botelho do Couto
 * Copyright (c) 2004-2013 BSD Perimeter
7
 * Copyright (c) 2013-2016 Electric Sheep Fencing
8 0284d79e jim-p
 * Copyright (c) 2014-2020 Rubicon Communications, LLC (Netgate)
9 f3c5f4c5 Steve Beaver
 * 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 f3f98e97 Phil Davis
##|*MATCH=copynotice.inc*
33 f3c5f4c5 Steve Beaver
##|-PRIV
34
35 c8c15bf5 Steve Beaver
/*
36 f3f98e97 Phil Davis
 * This file displays the copyright modal when required. (New version installed or completion of the setup wizard)
37 c8c15bf5 Steve Beaver
 * 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 ef7e8885 Steve Beaver
$copyrightfile = "{$g['cf_conf_path']}/copyright";
42 f3c5f4c5 Steve Beaver
43
?>
44
<div id="usage" class="modal fade" role="dialog">
45
	<div class="modal-dialog">
46
		<div class="modal-content">
47
<?php
48 c8c15bf5 Steve Beaver
			if (file_exists($copyrightfile)) {
49
				require_once($copyrightfile);
50
			} else {
51 a1ec79f3 Steve Beaver
				print("<div class=\"modal-body\" style=\"background-color:#1e3f75; color:white;\">");
52 0b4c14a4 Steve Beaver
				print(gettext("<p align=\"center\"><font size=\"3\">Copyright &copy; 2004-2019. Electric Sheep Fencing LLC (\"ESF\"). All Rights Reserved.</p>
53 c0debf5b Steve Beaver
					<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 6fb38a04 Steve Beaver
					<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 c0debf5b Steve Beaver
					</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 1ea2a37e Steve Beaver
					</div>"));
63 c8c15bf5 Steve Beaver
			}
64 f3c5f4c5 Steve Beaver
?>
65 c8c15bf5 Steve Beaver
66 f3c5f4c5 Steve Beaver
		</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 b8f91b7c Luiz Souza
endif;