mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
@@ -48,6 +48,15 @@ function resetTimer()
|
||||
<script>
|
||||
|
||||
$(function() {
|
||||
|
||||
// prevent a double etherpad if shop_log_iframe is clicked on after a shop closes
|
||||
$("#shop_log_link").on("click keypress", function(e) {
|
||||
$.post("json/transaction.php", {shop_exist: 1}, function(data) {
|
||||
if (data === "no_shop") {
|
||||
window.top.location.href = "./start_shop.php";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if ( document.location.pathname.match(/shop_welcome\.php$/) ) {
|
||||
$("#shop_log_link").attr("href","/shop_log_iframe.php");
|
||||
@@ -67,3 +76,18 @@ $(function() {
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<!--
|
||||
<div style="float: left; width: 12.5%; height: 40px; display: inline-block;"></div>
|
||||
<div style="float: left; align-content: center; width: 75%; height: 40px; display: inline-block;">
|
||||
<div align="right"><a id="shop_log_link" href="/shop_log.php">Current Shop</a> |
|
||||
<a href="/start_shop.php" target="_parent"> All Shops</a> |
|
||||
<a href="/contact_add_edit_select.php" target="_parent">Add/Edit Contact</a> |
|
||||
<a href="/stats.php" target="_parent">Reports</a> |
|
||||
<a href="/transaction_log.php" target="_parent">Transaction Log</a> |
|
||||
<a href="http://www.positivespin.org" target="_blank">PS Home</a></div>
|
||||
</div>
|
||||
<div style="float: left; width: 12.5%; height: 40px; display: inline-block;"></div>
|
||||
|
||||
<div style="float: left; width: 12.5%; height: 100%; display: inline-block;"></div>
|
||||
<table style="float: left; width: 75%; display: inline-block;" align="center" border="0" cellpadding="1" cellspacing="0"><tr><td>
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user