Project

General

Profile

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

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

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

    
39
$copyrightfile = "{$g['cf_conf_path']}/copyright";
40

    
41
?>
42
<div id="usage" class="modal fade" role="dialog">
43
	<div class="modal-dialog">
44
		<div class="modal-content">
45
<?php
46
			if (file_exists($copyrightfile)) {
47
				require_once($copyrightfile);
48
			} else {
49
				print("<div class=\"modal-body\" style=\"background-color:#1e3f75; color:white;\">");
50
				print(gettext("<p align=\"center\"><font size=\"3\">Copyright &copy; 2004-2018. Electric Sheep Fencing LLC (\"ESF\"). All Rights Reserved.</p>
51
					<p align=\"center\"><strong>NO COMMERCIAL DISTRIBUTION OF THE PFSENSE&reg; CE SOFTWARE IS ALLOWED.</strong>
52
					</p>
53
					<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>
54
					<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>
55
					</div>
56
					<div class=\"modal-footer\" style=\"background-color:#1e3f75; color:white;\">
57
					<button type=\"button\" class=\"btn btn-xs btn-success\" data-dismiss=\"modal\" aria-label=\"Close\">
58
							<span aria-hidden=\"true\">Accept</span>
59
					</button>
60
					</div>"));
61
			}
62
?>
63

    
64
		</div>
65
	</div>
66
</div>
67

    
68
<?php
69

    
70
if (!file_exists("/tmp/nofile")) :
71
?>
72

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

    
82
<?php
83
endif;
(13-13/60)