Project

General

Profile

Download (2.46 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
$logincssfile = "#1e3f75";
34

    
35
if (isset($user_settings['webgui']['logincss']) && strlen($user_settings['webgui']['logincss']) == 6) {
36
	$logincssfile = "#" . $user_settings['webgui']['logincss'];
37
}
38

    
39
?>
40
<div id="usage" class="modal fade" role="dialog">
41
	<div class="modal-dialog">
42
		<div class="modal-content">
43

    
44
			<div class="modal-body" style="background-color:<?=$logincssfile?>; color:white;">
45
<?php
46
			print(gettext("<p><font size=\"4\"><strong>pfSense</strong>&reg;</font><font size=\"3\"> is Copyright 2004" .
47
				"-2018 Rubicon Communications, LLC (Netgate)</p>" .
48
				"<p>pfSense is a federally registered trademark of Electric Sheep Fencing, LLC. Any unauthorized use of this trademark is " .
49
				"prohibited by state and federal law and by international law. Refer to our Trademark Usage Guidelines for how to properly " .
50
				"use the marks. All rights reserved.</p>" .
51
				"<p align=\"center\"><strong>Absolutely No Commercial Distribution Is Allowed</strong></font></p>"));
52
?>
53
			</div>
54
			<div class="modal-footer" style="background-color:<?=$logincssfile?>; color:white;">
55
				<button type="button" class="btn btn-xs btn-success" data-dismiss="modal" aria-label="Close">
56
					<span aria-hidden="true">Accept</span>
57
				</button>
58
			</div>
59
		</div>
60
	</div>
61
</div>
62

    
63
<?php
64

    
65
if (!file_exists("/tmp/nofile")) :
66
?>
67

    
68
<script type="text/javascript">
69
//<![CDATA[
70
events.push(function() {
71
	$('#usage').modal({backdrop: 'static', keyboard: false});
72
	$('#usage').modal('show');
73
});
74
//]]>
75
</script>
76

    
77
<?php
78
endif;
(6-6/232)