1 |
f3c5f4c5
|
Steve Beaver
|
<?php
|
2 |
|
|
/*
|
3 |
|
|
* copynotice.inc
|
4 |
|
|
*
|
5 |
|
|
* part of pfSense (https://www.pfsense.org)
|
6 |
b8f91b7c
|
Luiz Souza
|
* Copyright (c) 2004-2018 Rubicon Communications, LLC (Netgate)
|
7 |
f3c5f4c5
|
Steve Beaver
|
* 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 |
c8c15bf5
|
Steve Beaver
|
/*
|
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 |
ef7e8885
|
Steve Beaver
|
$copyrightfile = "{$g['cf_conf_path']}/copyright";
|
40 |
f3c5f4c5
|
Steve Beaver
|
|
41 |
|
|
?>
|
42 |
|
|
<div id="usage" class="modal fade" role="dialog">
|
43 |
|
|
<div class="modal-dialog">
|
44 |
|
|
<div class="modal-content">
|
45 |
|
|
<?php
|
46 |
c8c15bf5
|
Steve Beaver
|
if (file_exists($copyrightfile)) {
|
47 |
|
|
require_once($copyrightfile);
|
48 |
|
|
} else {
|
49 |
a1ec79f3
|
Steve Beaver
|
print("<div class=\"modal-body\" style=\"background-color:#1e3f75; color:white;\">");
|
50 |
c0debf5b
|
Steve Beaver
|
print(gettext("<p align=\"center\"><font size=\"3\">Copyright © 2004-2018. Electric Sheep Fencing LLC (\"ESF\"). All Rights Reserved.</p>
|
51 |
|
|
<p align=\"center\"><strong>NO COMMERCIAL DISTRIBUTION OF THE PFSENSE® CE SOFTWARE IS ALLOWED.</strong>
|
52 |
|
|
</p>
|
53 |
|
|
<p>pfSense® 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 |
6fb38a04
|
Steve Beaver
|
<p>Any unauthorized use of the pfSense® 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 |
c0debf5b
|
Steve Beaver
|
</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 |
1ea2a37e
|
Steve Beaver
|
</div>"));
|
61 |
c8c15bf5
|
Steve Beaver
|
}
|
62 |
f3c5f4c5
|
Steve Beaver
|
?>
|
63 |
c8c15bf5
|
Steve Beaver
|
|
64 |
f3c5f4c5
|
Steve Beaver
|
</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 |
b8f91b7c
|
Luiz Souza
|
endif;
|