Browse Source

GUI and logic changes from practical experience in the shop environment

1) makes sign in button larger
2) changes "Current Shop" menu text to "Sign In" for normal user
3) takes all users after submitting contact to Sign In page rather than only new users.
devel
Jonathan Rosenbaum 10 years ago
parent
commit
ee46dc8fd5
  1. 2
      contact_add_edit.php
  2. 2
      css/contacts.css
  3. 2
      include_header_shop.html
  4. 2
      shop_log.php

2
contact_add_edit.php

@ -193,7 +193,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$result = mysql_query($sql, $YBDB) or die(mysql_error()); $result = mysql_query($sql, $YBDB) or die(mysql_error());
} }
if ($_POST['contact_id_entry'] == 'new_contact'){ if ($_POST['contact_id_entry'] == 'new_contact' || $_POST['contact_id_entry'] == $_POST['contact_id']){
//navigate back to shop that it came from //navigate back to shop that it came from
$pagegoto = PAGE_SHOP_LOG . "?shop_id={$shop_id}&new_user_id={$contact_id}"; $pagegoto = PAGE_SHOP_LOG . "?shop_id={$shop_id}&new_user_id={$contact_id}";

2
css/contacts.css

@ -25,7 +25,7 @@
margin-top: 0; margin-top: 0;
} }
#submit_contact { #submit_contact, #sign_in_button {
height: 36px; height: 36px;
width: 98px; width: 98px;
font-size: x-large; font-size: x-large;

2
include_header_shop.html

@ -44,7 +44,7 @@ function resetTimer()
<table align="center" width="1000" border="0" cellpadding="1" cellspacing="0"> <table align="center" width="1000" border="0" cellpadding="1" cellspacing="0">
<tr valign="top"> <tr valign="top">
<td height="40" align="left"><a href="/shop_welcome.php">About/Help</a></td> <td height="40" align="left"><a href="/shop_welcome.php">About/Help</a></td>
<td height="40" align="right"><a href="/shop_log.php">Current Shop</a> | <a href="/start_shop.php"> All Shops</a> | <a href="/contact_add_edit_select.php">Add/Edit Contact</a> | <a href="/stats.php">Statistics</a> | <a href="/transaction_log.php">Transaction Log</a> | <a href="http://www.positivespin.org/home2/" target="_blank">PS Home</a></td> <td height="40" align="right"><a href="/shop_log.php">Sign In</a> | <a href="/start_shop.php"> All Shops</a> | <a href="/contact_add_edit_select.php">Add/Edit Contact</a> | <a href="/stats.php">Statistics</a> | <a href="/transaction_log.php">Transaction Log</a> | <a href="http://www.positivespin.org/home2/" target="_blank">PS Home</a></td>
</tr> </tr>
</table> </table>

2
shop_log.php

@ -182,7 +182,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td valign="bottom"><input name="Submit" type="submit" value="Sign In" /></td> <td valign="bottom"><input id="sign_in_button" name="Submit" type="submit" value="Sign In" /></td>
</tr> </tr>
<input type="hidden" name="MM_insert" value="form_new"> <input type="hidden" name="MM_insert" value="form_new">
</form> </form>

Loading…
Cancel
Save