forked from EyesOfNetworkCommunity/eonweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
84 lines (67 loc) · 2.19 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/*
#########################################
#
# Copyright (C) 2016 EyesOfNetwork Team
# DEV NAME : Jean-Philippe LEVY
# VERSION : 5.0
# APPLICATION : eonweb for eyesofnetwork project
#
# LICENCE :
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#########################################
*/
?>
</div> <!-- !#wrapper -->
<footer class="footer navbar navbar-default navbar-fixed-bottom">
<div class="container">
<div class="text-center">
<a href="http://www.eyesofnetwork.com" target="_blank">EyesOfNetwork</a>
<?php echo getLabel("label.footer.message"); ?>
</div>
</div>
</footer> <!-- !#footer -->
<?php if(preg_match("/\/module\//",$_SERVER["PHP_SELF"]) > 0 ) { ?>
<!-- jQuery -->
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- jQuery-ui -->
<script src="/bower_components/jquery-ui/jquery-ui.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="/bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="/bower_components/startbootstrap-sb-admin-2/dist/js/sb-admin-2.js"></script>
<!-- EONWEB variables -->
<script src="/js/eonweb.js"></script>
<!-- EONWEB menu -->
<script src="/js/side.js"></script>
<!-- EONWEB traduction -->
<?php
# Include javascript dictionnary
$t->createJSDictionnary();
# Include module js and php
$module_path=basename(dirname($_SERVER["PHP_SELF"]));
$module_js=$module_path.".js";
if(file_exists($module_js)) {
?>
<!-- EONWEB module javascripts -->
<script src="<?php echo $module_js; ?>"></script>
<?php
}
$module_php=$module_path.".php";
if(file_exists($module_php)) {
include($module_php);
}
}
?>
</body>
</html>