Browse Source

Fixes a minor textarea bug by removing whitespace in the code.

devel
Jonathan Rosenbaum 10 years ago
parent
commit
a1717c99af
  1. 2
      Connections/database_functions.php
  2. 15
      shop_log.php

2
Connections/database_functions.php

@ -37,7 +37,7 @@ define("TIMEZONE", "America/New_York");
The first shop created, 1, makes sense. A link will show in start_shop.php.
If you do not want this functionality at all, choose 0.
*/
define("NONSHOP",0);
define("NONSHOP", 0);
// How many transactions do you want shown by default
define("NUMBER_OF_TRANSACTIONS", 11);

15
shop_log.php

@ -164,10 +164,10 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
<td><label>Time In:</label></td>
<td><strong>
<?php if($totalRows_Recordset1 <> 0){
list_time($shop_start_time,'0000-00-00 00:00:00','time_in',-60,0,'none',16);
} else {
list_time("{$shop_date} 08:00:00",'0000-00-00 00:00:00','time_in',-15, 0, 'none',16);
}
list_time($shop_start_time,'0000-00-00 00:00:00','time_in',-60,0,'none',16);
} else {
list_time("{$shop_date} 08:00:00",'0000-00-00 00:00:00','time_in',-15, 0, 'none',16);
}
?>
</td>
</tr>
@ -177,8 +177,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
</tr>
<tr>
<td><div align="right">Comments:</div></td>
<td><textarea name="comment" cols="45" rows="3">
</textarea>
<td><textarea name="comment" cols="45" rows="3"></textarea>
</td>
</tr>
<tr>
@ -225,9 +224,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
</tr>
<tr>
<td><div align="right">Comment:</div></td>
<td><textarea name="comment" cols="45" rows="3">
<?php echo $row_Recordset1['comment']; ?>
</textarea>
<td><textarea name="comment" cols="45" rows="3"><?php echo $row_Recordset1['comment']; ?></textarea>
</td>
</tr>
<?php if(current_shop_by_ip()>=$shop_id & (current_shop_by_ip()-5)<=$shop_id ) { ?>

Loading…
Cancel
Save