diff options
Diffstat (limited to 'src/usr/local/www/copynotice.inc')
-rw-r--r-- | src/usr/local/www/copynotice.inc | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/usr/local/www/copynotice.inc b/src/usr/local/www/copynotice.inc new file mode 100644 index 0000000..1c26625 --- /dev/null +++ b/src/usr/local/www/copynotice.inc @@ -0,0 +1,78 @@ +<?php +/* + * copynotice.inc + * + * part of pfSense (https://www.pfsense.org) + * Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate) + * All rights reserved. + * + * originally based on m0n0wall (http://m0n0.ch/wall) + * Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.net>. + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +##|+PRIV +##|*IDENT=page-system-copyright +##|*NAME=System: Copyright notice +##|*DESCR=Copyright and usage notice. +##|*MATCH=copynitice.inc* +##|-PRIV + +$logincssfile = "#1e3f75"; + +if (isset($user_settings['webgui']['logincss']) && strlen($user_settings['webgui']['logincss']) == 6) { + $logincssfile = "#" . $user_settings['webgui']['logincss']; +} + +?> +<div id="usage" class="modal fade" role="dialog"> + <div class="modal-dialog"> + <div class="modal-content"> + + <div class="modal-body" style="background-color:<?=$logincssfile?>; color:white;"> +<?php + print(gettext("<p><font size=\"4\"><strong>pfSense</strong>®</font><font size=\"3\"> is Copyright 2004" . + "-2017 Rubicon Communications, LLC (Netgate)</p>" . + "<p>pfSense is a federally registered trademark of Electric Sheep Fencing, LLC. Any unauthorized use of this trademark is " . + "prohibited by state and federal law and by international law. Refer to our Trademark Usage Guidelines for how to properly " . + "use the marks. All rights reserved.</p>" . + "<p align=\"center\"><strong>Absolutely No Commercial Distribution Is Allowed</strong></font></p>")); +?> + </div> + <div class="modal-footer" style="background-color:<?=$logincssfile?>; color:white;"> + <button type="button" class="btn btn-xs btn-success" data-dismiss="modal" aria-label="Close"> + <span aria-hidden="true">Accept</span> + </button> + </div> + </div> + </div> +</div> + +<?php + +if (!file_exists("/tmp/nofile")) : +?> + +<script type="text/javascript"> +//<![CDATA[ +events.push(function() { + $('#usage').modal({backdrop: 'static', keyboard: false}); + $('#usage').modal('show'); +}); +//]]> +</script> + +<?php +endif;
\ No newline at end of file |