1
|
<?php
|
2
|
/*
|
3
|
* foot.inc
|
4
|
*
|
5
|
* part of pfSense (https://www.pfsense.org)
|
6
|
* Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate)
|
7
|
* All rights reserved.
|
8
|
*
|
9
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
* you may not use this file except in compliance with the License.
|
11
|
* You may obtain a copy of the License at
|
12
|
*
|
13
|
* http://www.apache.org/licenses/LICENSE-2.0
|
14
|
*
|
15
|
* Unless required by applicable law or agreed to in writing, software
|
16
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
* See the License for the specific language governing permissions and
|
19
|
* limitations under the License.
|
20
|
*/
|
21
|
|
22
|
/*
|
23
|
* We put jquery in the footer; it is the preferred position for speed
|
24
|
* and helps developers to use events[] instead of executing scripts directly.
|
25
|
*/
|
26
|
?>
|
27
|
</div>
|
28
|
<footer class="footer">
|
29
|
<div class="container">
|
30
|
<p class="text-muted">
|
31
|
<a id="tpl" style="display: none;" href="#" title="<?=gettext('Top of page')?>"><i class="fa fa-caret-square-o-up pull-left"></i></a>
|
32
|
<a target="_blank" href="<?=$g['product_website_footer']?>"><?=$g['product_name']?></a> is ©
|
33
|
<?=$g['product_copyright_years']?> by <a href="<?=$g['product_copyright_url']?>" class="tblnk"><?=$g['product_copyright']?></a>. All Rights Reserved.
|
34
|
[<a href="/license.php" class="tblnk">view license</a>]
|
35
|
<a id="tpr" style="display: none;" href="#" title="<?=gettext('Top of page')?>"><i class="fa fa-caret-square-o-up pull-right"></i></a>
|
36
|
</p>
|
37
|
</div>
|
38
|
</footer>
|
39
|
|
40
|
<!-- This use of filemtime() is intended to fool the browser into reloading the file (not using the cached version) if the file is changed -->
|
41
|
|
42
|
<script src="/vendor/jquery/jquery-1.12.0.min.js?v=<?=filemtime('/usr/local/www/vendor/jquery/jquery-1.12.0.min.js')?>"></script>
|
43
|
<script src="/vendor/jquery/jquery-ui-1.11.4.min.js?v=<?=filemtime('/usr/local/www/vendor/jquery/jquery-ui-1.11.4.min.js')?>"></script>
|
44
|
<script src="/vendor/bootstrap/js/bootstrap.min.js?v=<?=filemtime('/usr/local/www/vendor/bootstrap/js/bootstrap.min.js')?>"></script>
|
45
|
<script src="/js/pfSense.js?v=<?=filemtime('/usr/local/www/js/pfSense.js')?>"></script>
|
46
|
<script src="/js/pfSenseHelpers.js?v=<?=filemtime('/usr/local/www/js/pfSenseHelpers.js')?>"></script>
|
47
|
<script src="/js/polyfills.js?v=<?=filemtime('/usr/local/www/js/polyfills.js')?>"></script>
|
48
|
<script src="/vendor/sortable/sortable.js?v=<?=filemtime('/usr/local/www/vendor/sortable/sortable.js')?>"></script>
|
49
|
|
50
|
<script type="text/javascript">
|
51
|
//<![CDATA[
|
52
|
// Un-hide the "Top of page" icons if the page is larger than the window
|
53
|
if ($(document).height() > $(window).height()) {
|
54
|
$('[id^=tp]').show();
|
55
|
}
|
56
|
//]]>
|
57
|
</script>
|
58
|
</body>
|
59
|
</html>
|