forked from buckaroo-labs/Hydrogen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelemFooter.php
More file actions
29 lines (22 loc) · 834 Bytes
/
Copy pathelemFooter.php
File metadata and controls
29 lines (22 loc) · 834 Bytes
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
<?php
//A footer for consistent look and feel sitewide
if (!isset($footer_text)) $footer_text="<h4>Default footer text</h4>";
?>
<!-- shift it to the right by 250 pixels when the sidebar is visible -->
<div class="w3-main" style="margin-left:250px">
<footer id="myFooter">
<div class="w3-container w3-green w3-padding-32">
<?php echo $footer_text; ?>
</div>
<?php
//Include javascript in each page's document ready function to make the button functional
if (isset($settings['show_sql'])) {
echo '<button id="ToggleSQL">Show/hide SQL</button>';
echo '<div id="SQLEcho">' . $sql . "</div>";
}
?>
<div class="w3-container w3-blue">
<p><a href="mailto:oss-db@ziply.com" target="_blank">mail your feedback</a></p>
</div>
</footer>
</div>