add email changes button to sandbox, still need to add functionality
authorOwen Leonard <owen@balawis.leonard.fam>
Tue, 26 Oct 2010 22:16:43 +0000 (16:16 -0600)
committerOwen Leonard <owen@balawis.leonard.fam>
Tue, 26 Oct 2010 22:16:43 +0000 (16:16 -0600)
inc/class.tc.inc.php
templates/default/ht_sandbox.tpl

index bcf18e26a79ba6cfb9ee1f9b721ed95a6b287e56..4e6a77781977e22d151fd605d8944b81a8bc196d 100644 (file)
@@ -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()
        {
index 2eea7e563a73c62cf58fd307b23afae4b9407dcd..c7a9d82e733a9778610f156898ea482dba4fa295 100644 (file)
                                                        <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>