From f39d067bbc22c61d1c11905e22c47f474a017f75 Mon Sep 17 00:00:00 2001
From: Owen Leonard <owen@balawis.leonard.fam>
Date: Tue, 26 Oct 2010 16:16:43 -0600
Subject: [PATCH] add email changes button to sandbox, still need to add
 functionality

---
 inc/class.tc.inc.php             | 7 ++++++-
 templates/default/ht_sandbox.tpl | 5 +++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/inc/class.tc.inc.php b/inc/class.tc.inc.php
index bcf18e2..4e6a777 100644
--- a/inc/class.tc.inc.php
+++ b/inc/class.tc.inc.php
@@ -561,6 +561,8 @@ class tc
 					$this->db3->query($sql,__LINE__,__FILE__);
 				}
 			}
+		} else if ($_POST['changes']) {
+			$this->ht_sandbox_changes();
 		}
 		
 		// get list of companionships
@@ -726,7 +728,10 @@ class tc
 		$this->t->pfp('out','ht_sandbox_t');
 		$this->save_sessiondata();
 	}
-      
+
+	function ht_sandbox_changes()
+	{
+	}
 
 	function ht_update()
 	{
diff --git a/templates/default/ht_sandbox.tpl b/templates/default/ht_sandbox.tpl
index 2eea7e5..c7a9d82 100644
--- a/templates/default/ht_sandbox.tpl
+++ b/templates/default/ht_sandbox.tpl
@@ -90,6 +90,11 @@
 							<font face="{font}"><input style="width: 150px" type="submit" name="reset" value="Reset to MLS"></font>
 						</td>
 					</tr>
+					<tr>
+						<td>
+							<font face="{font}"><input style="width: 150px" type="submit" name="changes" value="Email Changes"></font>
+						</td>
+					</tr>
 				</table>
 			</td>
 		</tr>
-- 
2.34.1